Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
05-22-2009, 04:24 PM
|
#16
|
LQ Newbie
Registered: May 2009
Posts: 5
Rep:
|
Tips for building VWM
frenchn00b
In order to build VWM you will need to meet a few requirements.
1. You will need the development packages (headers) for ncurses, glib2, and optionally gpm and libgtop2. On rpm based systems (like Fedora and SUSE) these packages are typically something like ncurses-devel, gpm-devel, etc.
2. You will need to install 2 other libraries libpseudo and libviper. I am the author of these as well and you can fetch them from SourceForge or Freshmeat.
3. Make sure that your /etc/ld.so.conf includes a path for /usr/local/lib
4. Build in this order: libpseudo, libviper, vwm
**I have build VWM on Slackware 10.0, 10.1, 10.2, 12.0 Fedora 8, 9, 10, 11 (i386 and x86-64)
|
|
|
05-23-2009, 06:57 AM
|
#17
|
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847
Rep:
|
Quote:
Originally Posted by TragicWarrior
frenchn00b
In order to build VWM you will need to meet a few requirements.
1. You will need the development packages (headers) for ncurses, glib2, and optionally gpm and libgtop2. On rpm based systems (like Fedora and SUSE) these packages are typically something like ncurses-devel, gpm-devel, etc.
2. You will need to install 2 other libraries libpseudo and libviper. I am the author of these as well and you can fetch them from SourceForge or Freshmeat.
3. Make sure that your /etc/ld.so.conf includes a path for /usr/local/lib
4. Build in this order: libpseudo, libviper, vwm
**I have build VWM on Slackware 10.0, 10.1, 10.2, 12.0 Fedora 8, 9, 10, 11 (i386 and x86-64)
|
I'm writing three SlackBuild scripts for libviper, libpseudo and vwm so that they can be put in the slackbuilds.org repository, and I've managed to get it to build and it works in xterm with a large number of rows and columns.
I just have a few questions.
Are there any command-line switches? --help, for example? Is there any documentation on how to use vwm, or is that inluded in the functionality? From what I see when I run the program, instructions are provided at the top of the screen.
I've patched the Makefiles for vwm and vwmterm2 so that installation prefix for the libraries is /usr/lib (for better compatibility with other slackware packages) and also to change the moddir variable to ${libdir}/vwm/modules and so that make install creates the relevant directories. Is this likely to break anything?
I couldn't figure out how to build the sysmon module. Does this need to be built and installed after vwm? I recall receiving errors that it couldn't find headers which appeared to be part of vwm. If that is the case, I'll separate out building the modules from the main vwm package, and have it as a separate build script.
Thanks in advance.
|
|
|
05-24-2009, 02:59 PM
|
#18
|
LQ Newbie
Registered: May 2009
Posts: 5
Rep:
|
Quote:
Originally Posted by pwc101
I'm writing three SlackBuild scripts for libviper, libpseudo and vwm so that they can be put in the slackbuilds.org repository, and I've managed to get it to build and it works in xterm with a large number of rows and columns.
I just have a few questions.
Are there any command-line switches? --help, for example? Is there any documentation on how to use vwm, or is that inluded in the functionality? From what I see when I run the program, instructions are provided at the top of the screen.
I've patched the Makefiles for vwm and vwmterm2 so that installation prefix for the libraries is /usr/lib (for better compatibility with other slackware packages) and also to change the moddir variable to ${libdir}/vwm/modules and so that make install creates the relevant directories. Is this likely to break anything?
I couldn't figure out how to build the sysmon module. Does this need to be built and installed after vwm? I recall receiving errors that it couldn't find headers which appeared to be part of vwm. If that is the case, I'll separate out building the modules from the main vwm package, and have it as a separate build script.
Thanks in advance.
|
That's great that you are packaging it for Slackware which happens to be my favorite "flavor" of GNU/Linux for servers.
Some comments in no particular order.
- VWM will look for settings in ~/.vwm/vwmrc which are currently screen_timeout (which specifies the screen saver time in minutes) and menu_hotkey which can be used to remap the main menu to something other than "tilde".
- In the source code directory is a subdir called "keycodes" which you can build to help you figure out what code should be supplied for the menu_hotkey parameter if you want to change it to something else.
- There are currently no supported command line switches (but suggestions are welcomed).
- In order to build sysmon, you will need to have the libgtop2 headers installed (usually a package like libgtop2-devel)
- I can't remember if changing the modules directory will break anything. I will check on Tuesday when I return to the office.
- The only documentation for VWM (at this time) is the README file and the on-screen help. Any contributions would be appreciated.
|
|
|
05-25-2009, 01:41 PM
|
#19
|
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847
Rep:
|
Quote:
Originally Posted by TragicWarrior
That's great that you are packaging it for Slackware which happens to be my favorite "flavor" of GNU/Linux for servers.
|
Once I've written the scripts, I'll upload them to www.SlackBuilds.org and wait for one of the mods to approve (or deny) the scripts, after which building VWM for Slackware should generate packages, just like those distributed with the distro.
Quote:
Originally Posted by TragicWarrior
Some comments in no particular order.
- VWM will look for settings in ~/.vwm/vwmrc which are currently screen_timeout (which specifies the screen saver time in minutes) and menu_hotkey which can be used to remap the main menu to something other than "tilde".
|
This is handy. I've included your sample vwmrc in the package (with the docs). I don't know if this is possible, or on your list of things to do, but it might be useful to have a global config, in /etc/vwm/vwmrc which would be superseded by ~/vwm/vwmrc. Just a thought.
I've also submitted a bug report to sourceforge about how vwm_menu.h (I think) has the info on the menu shortcut hard-coded into it, so that if you change the mapping in vwmrc, it doesn't get updated in the main window. I don't know if it's possible to read the vwmrc file and then display the menu shortcut as text in the main VWM window.
Quote:
Originally Posted by TragicWarrior
- In the source code directory is a subdir called "keycodes" which you can build to help you figure out what code should be supplied for the menu_hotkey parameter if you want to change it to something else.
|
I've also included this in the package, so people will be able to generate their own keycodes as needed. As far as I'm aware, this shouldn't conflict with any existing binaries in /usr/bin.
Quote:
Originally Posted by TragicWarrior
- There are currently no supported command line switches (but suggestions are welcomed).
|
Now that I've mentioned it, I can't think of any besides perhaps a --help with some very basic info (author, licence, webpage) perhaps?
Quote:
Originally Posted by TragicWarrior
- In order to build sysmon, you will need to have the libgtop2 headers installed (usually a package like libgtop2-devel)
|
Cool. There's a slackbuild on SlackBuilds.org for libgtop which seems to have fixed that problem. I've made a note in the README which will be distributed with the slackbuild.
Quote:
Originally Posted by TragicWarrior
- I can't remember if changing the modules directory will break anything. I will check on Tuesday when I return to the office.
|
I've been using it this weekend with the paths changed, and everything seems to function OK, as far as I'm aware.
Quote:
Originally Posted by TragicWarrior
- The only documentation for VWM (at this time) is the README file and the on-screen help. Any contributions would be appreciated.
|
I'll see if I can write a short intro to VWM.
Thanks.
|
|
|
06-23-2009, 03:37 AM
|
#20
|
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847
Rep:
|
The build scripts for libpseudo, libviper and VWM have been uploaded to the SlackBuilds.org repository. I've tested them on Slackware 12.2 and it all seems to work OK (checking -current is on my todo list).
|
|
|
All times are GMT -5. The time now is 10:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|