DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th March 2011
queshaw queshaw is offline
New User
 
Join Date: Feb 2011
Posts: 2
Thanked 0 Times in 0 Posts
Default configure dwm in pkgsrc?

I haven't yet read the pkgsrc development documentation, but I hope this might be excusable. The dwm window manager is configured by editing a header file and recompiling. Is there a standard way to do this type of configuration with a package in pkgsrc, i.e. configure the dwm package? If so, how?
Reply With Quote
  #2   (View Single Post)  
Old 10th March 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,135
Thanked 182 Times in 149 Posts
Default

The pkgsrc directory probably will already have some patches in a directory called 'patches'.
You just add your own patch for the header file before compiling.

BTW I only have used pkgsrc once and that was quite some time ago, so I cannot give a detailed step by step approach
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 10th March 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

It would seem that dwm is traditionally customized and built by the person using it, i.e: in ones home directory.
Reply With Quote
  #4   (View Single Post)  
Old 10th March 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,135
Thanked 182 Times in 149 Posts
Default

From http://man.suckless.org/dwm/1/dwm
Code:
CUSTOMIZATION
          dwm is customized by creating a custom config.h and
          (re)compiling the source code. This keeps it fast, secure
          and simple.
Nice to have peer review isn't it?
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #5   (View Single Post)  
Old 10th March 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 317
Thanked 9 Times in 9 Posts
Default

Quote:
Originally Posted by J65nko View Post
From http://man.suckless.org/dwm/1/dwm
Code:
CUSTOMIZATION
          dwm is customized by creating a custom config.h and
          (re)compiling the source code. This keeps it fast, secure
          and simple.
Nice to have peer review isn't it?
Dang...just when I get settled in and happy with cwm, something like this comes across my radar. That's awesome. I'll have to check it out haha.
Reply With Quote
  #6   (View Single Post)  
Old 10th March 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

I prefer cwm, I've never been overly fond of tiling window managers.. stacking just works better.

I don't own any larger screens though, perhaps it's more useful there.
Reply With Quote
  #7   (View Single Post)  
Old 10th March 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 317
Thanked 9 Times in 9 Posts
Default

cwm and tmux are an absolutely wonderful combination, I must say.
Reply With Quote
  #8   (View Single Post)  
Old 10th March 2011
darktrym darktrym is offline
New User
 
Join Date: Feb 2011
Posts: 5
Thanked 0 Times in 0 Posts
Default

You can delete the executable file dwm and .build_done in subdirectory after successful build. Afterwards modify the config and rebuild the package.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NetBSD pkgsrc-2009Q4 x86 binaries available J65nko News 0 20th January 2010 09:14 PM
Which is the significance about pkgsrc-2009Q2 and pkgsrc-2009Q3? aleunix NetBSD Package System (pkgsrc) 3 16th December 2009 07:19 AM
pkgsrc-2009Q3 shep NetBSD Package System (pkgsrc) 2 13th October 2009 03:11 PM
pkgsrc on OpenBSD Oko OpenBSD Packages and Ports 3 22nd December 2008 06:51 PM
NetBSD 4.0 upgrade and pkgsrc fenrisW0lf NetBSD Installation and Upgrading 3 19th June 2008 09:39 PM


All times are GMT. The time now is 03:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick