Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-17 Thread Bastiaan Welmers
On Fri, Dec 15, 2006 at 12:35:05PM +0100, dick hoogendijk wrote:
 On 14 Dec Bastiaan Welmers wrote:

  One nasty thing is that when afterwards installing a package
  requiring
  gamin, it will fail with errors. To prevent this you could just
  fake
  the pkg db that gamin is installed however actually fam libraries
  are
  installed.

 And how exactly is this faking done? I'm no fan of gamin too and if

Just replace the gamin libraries by the fam ones, for example by
manually
extracting the libraries from the tarball and place them in
/usr/local/lib without actually updating the package database.
It should work fine with KDE, openoffice, I don't know it works well
with programs like courier...

 possible I compiled my programs for fam. But this sounds nice ;-)

If you want to recompile all stuff just put WITH_FAM_SYSTEM=fam in
/etc/make.conf and rebuild all packages using gamin. You have to rebuild
all ports because fam and gamin can't be installed together.

/Bastiaan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gamin/fam issues with KDE

2006-12-13 Thread Bastiaan Welmers
Hi,

For a while now the file monitor program fam has been replaced 
by gamin. When using KDE it seems to have the following issues:

- when opening a directory with konqueror/kuickshow/some other KDE
  program, where removable media(USB stick, CDROM) is mounted, 
  KDE/gamin seems to keep the directory occupied, causing problems 
  when trying to unmount the removable media. When using fam instead of
  gamin, there's no problem unmounting the device.

- sometimes I still can't unmount the media even if all KDE windows (and 
  other programs) are closed. I think some instance of gamin or KDE 
  keeps running although all windows have been closed. This also 
  indicates sometimes not all processes are terminated well.

Now I'm using fam instead of gamin again. I think it should be nice if
this would become standard or the gamin issue wil be resolved, because
it's quite annoying not being able to unmount removable media all the
time. Did someone else experience the same behaviour?

Strange thing is that when I try to find processes keeping the mounted
device occupied, nothing can be found, with fstat nor with lsof. This 
could be because gamin's only polling a short time in a period.

/Bastiaan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-13 Thread Bastiaan Welmers
On Thu, Dec 14, 2006 at 12:06:43AM +, Bartosz Fabianowski wrote:
 Just a quick me too. I have been seeing the exact same behavior ever 
 since gamin was shoved down our throats as a better replacement for fam. 
 But since nobody else complained, I figured it was just my system. 

When building from ports it's quite easy to change back to fam, just put

WITH_FAM_SYSTEM=fam

into /etc/make.conf

For existing systems/binary installed systems, you can just pkg_delete
-f gamin* and install fam instead, so gamin libraries wil be replaced by
the fam ones, it works well to me. One nasty thing is that when afterwards 
installing a package requiring gamin, it will fail with errors. To prevent 
this you could just fake the pkg db that gamin is installed however 
actually fam libraries are installed.

 Whatever gamin is doing, it is not showing up in lsof, but the file 
 system is still busy. I did try tweaking my ~/.gaminrc to switch to 
 polling for the mount points in question, but this didn't help. Oddly 
 enough, sometimes, maybe one time out of ten, gamin will not exhibit 
 this strange behavior. It will just let me unmount without any problems.

Maybe because you just unmount on exactly the right moment, when gamin
is not occupying the file system? Or just all windows and processes are 
closed cleanly.

/Bastiaan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install via ports...

2006-12-13 Thread Bastiaan Welmers
On Wed, Dec 13, 2006 at 07:00:20PM -0500, Ne'Bahn wrote:
 Hi list, I've read the handbook for ports, basically (if I understand)
 ports are files that brings information (location, dependencies) to
 the
 system to compile a series of files (sources) to have the final piece
 of
 software. Very nice with the advantages that comes with this type of
 installation, but, what about a big applications like Gnome,
 OpenOffice and
 so on. I can't try ports because I can't have a fast/long connection
 for
 downloads (due to some restrictions on my country) so I always install
 via
 packages, and it takes a while, well a little bit.

You can do make fetch to fetch the required package distfiles first,
or
make fetch-recursive to fetch all the required distfiles of all
packages required by this package. see man ports for other targets.

/Bastiaan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cups 1.2.2 and parallel port printers

2006-09-19 Thread Bastiaan Welmers
Hi,

To me cups 1.2.2 doesn't work at all with my USB printer (HP Laserjet
1010 on /dev/ulpt0). I followed the instructions to make /dev/ulpt0
accessible to cups.

When I try to print something just nothing happens and after a
while I get the error message /dev/ulpt0: device busy. Installing the
printer with the no reset option fails because the device /dev/ulnpt0
does not exist.

I'm curious this has something to do with the filed bug usb/93155
I found on
http://lists.freebsd.org/pipermail/freebsd-bugs/2006-September/020036.html
/dev/ulpt0: device busy   USB printer does not work

However, I installed the previous cups 1.1.23 package wich works to me 
(FreeBSD 6.1 release).

/Bastiaan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]