Re: iconv.h and ruby-libxml

2007-09-13 Thread Nikola Lecic
On Thu, 13 Sep 2007 09:19:45 -0700
Charlie Caroff [EMAIL PROTECTED] wrote:

 Hi,
 
 When I try to install  libxml-ruby-0.5.1.0, I get this error message:
 
 gcc -I. -I. -I/usr/local/lib/ruby/1.8/i386-freebsd6.2 -I.
 -I/usr/local/include/libxml2 -DRUBY_EXTCONF_H=\extconf.h\
 -I/usr/local/libexec/iconv/include -fPIC -g -O2 -I.
 -I/usr/local/lib/ruby/1.8/i386-freebsd6.2 -I.
 -I/usr/local/include/libxml2 -c cbg.c
 In file included from /usr/local/include/libxml2/libxml/parser.h:796,
  from /usr/local/include/libxml2/libxml/globals.h:18,
  from /usr/local/include/libxml2/libxml/xmlIO.h:117,
  from cbg.c:2:
 /usr/local/include/libxml2/libxml/encoding.h:28:19: iconv.h: No such
 file or directory
 In file included from /usr/local/include/libxml2/libxml/parser.h:796,
  from /usr/local/include/libxml2/libxml/globals.h:18,
  from /usr/local/include/libxml2/libxml/xmlIO.h:117,
  from cbg.c:2:
 /usr/local/include/libxml2/libxml/encoding.h:136: error: syntax error
 before iconv_t
 *** Error code 1
 
 I search for iconv.h, and it's in /usr/local/include/iconv.h
 
 I'm running 6.2-STABLE FreeBSD, i386

Charlie,

You are obviously trying to install Ruby gem that is not ported.

So you can try to imitate a port: install devel/ruby-gems port and do
something like this (in (t)csh):

  # setenv CONFIGURE_ARGS --with-opt-dir=/usr/local
  # /usr/bin/env /usr/local/bin/gem install --no-ri \
 --install-dir /usr/local/lib/ruby/gems/1.8 libxml-ruby-0.5.1.0.gem

This will install the gem (try 'gem list'), but you can easily
experience some problems: please note that gem ports (rubygem-*) use
bsd.ruby.mk and devel/ruby-gems/Makefile.common files which contain a
lot of sophistication needed for proper FreeBSD integration.

This is just a very general advice... For details and the right answer,
you could probably ask FreeBSD Ruby person, Akinori Musha
([EMAIL PROTECTED]) -- that's what I'd do. :)

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


Re: mail server setup questions

2007-09-05 Thread Nikola Lecic
On Tue, 4 Sep 2007 23:21:47 -0700
Ted Mittelstaedt [EMAIL PROTECTED] wrote:

[...] 
 Kind of like the country of Iraq buying a nuclear device - 
 they don't know what they have, don't know how to build it,
 and are not qualified at all to use it.
[...]

Please save us from these words of wisdom. Your opinions about them
and about competence and collective knowledge of world states are
off-topic here. Such arrogancy and ignorance are very miserable.

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


Re: mail server setup questions

2007-09-05 Thread Nikola Lecic
On Wed, 5 Sep 2007 01:22:12 -0700
Ted Mittelstaedt [EMAIL PROTECTED] wrote:

 Your reaction is facinating considering the location implied by
 your e-mail reply address.  I can perhaps understand your adversion
 to the use of metaphors in language - God know the Serbian
 propagandists warped the metaphor beyond the breaking point in your
 history and perhaps now, there is a horror of them there that will
 take generations to dissipate.

Congratulations.

This is an international project and not your parochial meeting where
you can discuss the knowledge gleaned from TV end enjoy such
fascinating vocabulary and deductions related to someone's TLD.

Please learn how to behave appropriately before you post.

(A friendly advice: _please_ take some literature lessons in order to
learn what is metaphor.)

Nikola Lečić, Belgrade, Serbia
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mail server setup questions

2007-09-05 Thread Nikola Lecic
On Wed, 5 Sep 2007 17:44:15 +0200
Zbigniew Szalbot [EMAIL PROTECTED] wrote:

 Hi,
 
 2007/9/5, Nikola Lecic [EMAIL PROTECTED]:
  On Wed, 5 Sep 2007 01:22:12 -0700
  Ted Mittelstaedt [EMAIL PROTECTED] wrote:
 
   Your reaction is facinating considering the location implied by
   your e-mail reply address.  I can perhaps understand your
   adversion to the use of metaphors in language - God know the
   Serbian propagandists warped the metaphor beyond the breaking
   point in your history and perhaps now, there is a horror of them
   there that will take generations to dissipate.
 
  Congratulations.
 
  This is an international project and not your parochial meeting
  where you can discuss the knowledge gleaned from TV end enjoy such
  fascinating vocabulary and deductions related to someone's TLD.
 
 I wonder if all thread participants can relax a bit? I have always
 been impressed how friendly this list is. Have been watching this
 thread and cannot understand how it came that such a flame war broke
 out.
[...]
 Please cool down and stop sending rubbish to everyone's inbox.

Zbigniew, please don't teach me lessons in politeness. Ted posted two
very offensive mails and everyone has a right to publicly reply to
publicly posted offence. If that's problem for you, then ignore this
thread. Be careful when using word rubbish.

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


Re: mail server setup questions

2007-09-05 Thread Nikola Lecic
On Wed, 5 Sep 2007 12:28:51 -0400
Jerry McAllister [EMAIL PROTECTED] wrote:

 Come on folks.  You'll never get anywhere in a flame war with Ted.
 He changes the ground under you any time it is convenient.

Jerry, I appreciate your good will, but he doesn't change ground. And
this is not a flame war but a reaction to the rude and arrogant posts.
His (obviously well-known) character cannot be an excuse to speak
whatever he wishes.

I'm very disappointed that more official people on this list didn't say
something like Ted, please respect our users from all countries,
including those two countries you have mentioned (as they did couple
of times in the near past).

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


Re: ports collection background-fetch

2007-09-05 Thread Nikola Lecic
On Wed, 05 Sep 2007 20:39:06 +0330
Bahman M. [EMAIL PROTECTED] wrote:

[...]
 Note: I'm not sure but I think it's not a good practice to issue more 
 than one 'make install' at a time.
[...]

This is not good practice at all, since both (all) chains of make jobs
deal with the same /var/db/pkg/pkgdb.db (and other files), so you can
damage the database or at least you will get a complaint from one of
(de)installs. Please read this:

  http://www.freebsd.org/projects/ideas/#p-ports-parallel

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


Re: /usr/ports portupgrade when only using packages

2007-09-05 Thread Nikola Lecic
Mel,

On Wed, 5 Sep 2007 20:53:24 +0200
Mel [EMAIL PROTECTED] wrote:

[...]
 You could manage with pkg_add/pkg_delete, but then:
 1) *You* have to find out which packages are eligible for upgrading
 2) Upgrading a package will mean delete the old version before
 installing the new one

Deleting the old version before installing the new one (obviously!)
happens always when you upgrade/downgrade/reinstall something, whatever
method you choose (compiling through ports or using packages). If you
compile through port, a package will be created on your machine after
compile, so the result should be the same (unless you have custom
options).

 3) *You* will have to backup libraries manually.

Unless you use portupgrade or portmaster, you will have to do a lot of
manual job, no matter what method you use. This (and similar) warnings
are not specific to use of packages.
 
 (Yes, I realize portupgrade does this)

The main strength of portupgrade is that it provides a possibility to
mix installations through ports and using packages. If you use -P it
will combine them giving a chance to a package first. You can tune
this behaviour in pkgtools.conf using USE_PKGS and USE_PKGS_ONLY. If
you keep an eye on appereance of newly built packages on FreeBSD servers
(sometimes it is announced, e.g. after big Xorg upgrade) you can use
-PP more comfortably. Otherwise, some (easily curable) inconsistencies
might occur.

If you use -PP, make sure you have the correct PKG_SITES variable
(pointing to stable dir), or you will fetch very ancient versions.

If a machine is slow, it's a good idea to fetch packages first (either
with '-P -F' or with '-PP -F') and have a look what will be used in a
real install.

FYI,

 People using reply to all on lists, must think I need 2 copies.

People don't need to be subscribed to be able post to FreeBSD lists.
Many of them are subscribed to digest versions. That's the reason why
Reply-To-All is a convention, and you should do so if you want your
answers to reach users you are replying to.

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


Re: FreeBSD Port: net/asterisk-addons

2007-09-04 Thread Nikola Lecic
On Mon, 3 Sep 2007 10:22:22 -0400
Dantavious [EMAIL PROTECTED] wrote:

   Hi,
 I am having problems compiling this port. Here is the output. 
 Can you assist me with this issue. 
 
 ===  Building for asterisk-addons-1.4.2
 gmake[1]: Entering directory 
 `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2'
 gmake[2]: Entering directory 
 `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2/asterisk-ooh323c'
 gmake  all-am
 gmake[3]: Entering directory 
 `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2/asterisk-ooh323c'
 source='src/chan_h323.c' object='chan_h323.lo' libtool=yes \
 depfile='.deps/chan_h323.Plo'
 tmpdepfile='.deps/chan_h323.TPlo' \
 depmode=gcc3 /usr/local/bin/bash ./config/depcomp
 \ /usr/local/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I.
 -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 -I/usr/local/include
 -DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c -o chan_h323.lo `test
 -f 'src/chan_h323.c' || echo './'`src/chan_h323.c rm
 -f .libs/chan_h323.lo cc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src
 -I./ooh323c/src/h323 -I/usr/local/include -DGNU -D_GNU_SOURCE
 -D_REENTRANT -D_COMPACT -c src/chan_h323.c -MT chan_h323.lo -MD -MP
 -MF .deps/chan_h323.TPlo  -fPIC -DPIC -o .libs/chan_h323.lo
 src/chan_h323.c:71: warning: initialization from incompatible pointer
 type src/chan_h323.c:91: warning: initialization from incompatible
 pointer type src/chan_h323.c: In function `ooh323_new':
 src/chan_h323.c:261: error: incompatible types in assignment
 src/chan_h323.c:264: error: incompatible type for argument 1 of
 `ast_best_codec' src/chan_h323.c: In function `ooh323_write':
 src/chan_h323.c:974: error: invalid operands to binary 
 src/chan_h323.c: In function `print_codec_to_cli':
 src/chan_h323.c:2219: error: structure has no member named `framing'
[...]
^^^
Derrick,

Looks like you have vry outdated version of net/asterisk (at least
a year old; if not, something's wrong with its *.h files), so if your
ports tree is up-to-date please do

  # portupgrade -fr asterisk

That should fix the problem.

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


Re: xmcd fails

2007-09-03 Thread Nikola Lecic
Hi Eduardo,

On Mon, 3 Sep 2007 11:49:45 -0400
Eduardo Cerejo [EMAIL PROTECTED] wrote:

 I have been trying to compile xmcd on FreeBSD 6 stable and I'm
 getting this:
 
 : undefined reference to `CddbReleaseObject'
 ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac2c): In function
 `cdinfo_urlcddb':
 : undefined reference to `CddbReleaseObject'
 ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac35): In function
 `cdinfo_urlcddb':
 : undefined reference to `CddbReleaseObject'
 ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xac7e): In function
 `cdinfo_urlcddb':
 : undefined reference to `CddbControl_GetDiscInfo'
 ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xacba): In function
 `cdinfo_urlcddb':
 : undefined reference to `CddbReleaseObject'
 ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xacdc): In function
 `cdinfo_urlcddb':
 : undefined reference to `CddbReleaseObject'
 ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xad22): In function
 `cdinfo_urlcddb':
 : undefined reference to `CddbReleaseObject'
 ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xad3e): In function
 `cdinfo_urlcddb':
 : undefined reference to `CddbReleaseObject'
 ../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0xadfa): In function
 `cdinfo_urlcddb':
 : undefined reference to `CddbReleaseObject'
 ../cddb_d/libcddbkey.a(cddbkey1.o)(.text+0x4a): In function
 `cddb_setkey': : undefined reference to `CddbControl_SetClientInfo'
 *** Error code 1
 
 Stop in /usr/ports/audio/xmcd/work/xmcd-3.3.2/xmcd_d.
 *** Error code 1
 
 Stop in /usr/ports/audio/xmcd/work/xmcd-3.3.2.
 *** Error code 1
 
 Stop in /usr/ports/audio/xmcd.

Please use this patch for patches:

  http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/112876

and xmcd will compile. Please note the little correction below, or new
file 'patch-aj' will appear in xmcd's port dir and not in files/.

(BTW, you should always include an actual command that triggered
error(s), not just error itself.)

 I have never had this problem compiling xmcd.  Or if someone could
 tell me where I can download the latest xmcd package, I found a few
 but they are old versions of xmcd and it won't install.  Another
 alternative would be another cd player similar to xmcd the ones I've
 tried are very basic with no cddb access.  Thanks.

You didn't say what players you tried, but there are really many
cd-players; maybe some of them are basic but there are a lot
advanced ones. XMMS could be a good advanced lightweight choice with
a lot of plugins; if you want something glimmering and huge, try amaroK.

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


Re: xmcd fails

2007-09-03 Thread Nikola Lecic
On Mon, 03 Sep 2007 13:17:33 -0400
E. J. Cerejo [EMAIL PROTECTED] wrote:

 [...]
 First of all thanks for you help but I'm still a little confused
 about where to put that file, I put it in the ..audio/xmcd/files/
 directory and named it patch-aj but when I try to install it asks me
 # File to patch: and I don't know what to put! Did I miss something?

Save the entire text e.g. in /tmp/xmcd.patch, change the line for
patch-aj, i.e. instead of 

  +++ patch-ajThu May 31 12:58:25 2007

you should put

  +++ files/patch-ajThu May 31 12:58:25 2007

Then:

  # cd /usr/ports/audio/xmcd
  # make clean
  # patch  /tmp/xmcd.patch
  # make patch

At this stage, you should have three .orig files in files/ directory
and three newly corrected files. Then

  # make install clean

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


Re: xmcd fails

2007-09-03 Thread Nikola Lecic
On Mon, 3 Sep 2007 19:42:55 +0200
Nikola Lecic [EMAIL PROTECTED] wrote:

 On Mon, 03 Sep 2007 13:17:33 -0400
 E. J. Cerejo [EMAIL PROTECTED] wrote:
 
  [...]
  First of all thanks for you help but I'm still a little confused
  about where to put that file, I put it in the ..audio/xmcd/files/
  directory and named it patch-aj 
  [...]

And yes, please delete this patch-aj file before you do anything else.

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


Re: Problem with Gnome2 Installation

2007-08-29 Thread Nikola Lecic
On Wed, 29 Aug 2007 12:10:00 -0700
Predrag Punosevac [EMAIL PROTECTED] wrote:

[...]
 never use with option -a (all)

Why?

[...]
 Recently I upgraded one library by using make deinstall  make
 reinstall (I guess this is little bit stupid because of the
 dependence issues but it could work for some small program)

Why is it stupid and why for small programs? If dependency issue
means that you had an outdated library, then that usually simply means
that you had outdated ports tree as a whole. If you update everything,
portupgrade will basically do the same: it will _forcefully_ delete
old package and replace it with the new one, but it will also preserve
everything that is necessary to recreate the old version if updating
eventually fails. And of course, it will do it in a correctly determined
task order.

It's generally wise to be consistent in using a chosen port management
software: if you use portupgrade then always use portupgrade; use
pkg_deinstall (a part of it) to delete -- it will run more basic
commands for you. Use portupgrade -f to forcefully rebuild, etc.

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


Re: Quick perl ports question

2007-08-29 Thread Nikola Lecic
On Wed, 29 Aug 2007 16:22:39 -0700
Kurt Buff [EMAIL PROTECTED] wrote:

 I'm trying to implement a script that I found, and it's referencing
 Net::LDAP, Net::LDAP::Control::Paged and Net::LDAP::Constant
 
 I'm not finding p5-net-ldap in ports, though I do see
 p5-ResourcePool-Resource-Net-LDAP and p5-perl-ldap.
 
 Can I:
 
 A) leave the script as-is, and simply install one or the other of
 these ports, and have it work? If so, which one?
 
 Or, must I
 
 B) commit minor surgery on the script wherever I see references to
 those packages, and if so, what might that look like?
 
 The script in question is found here:
 
 http://www-personal.umich.edu/~malth/gaptuning/postfix/
 
 for getting SMTP addresses from my Exchange server.

Kurt,

Maybe this is not a direct answer, but it seems that

C) port it!

is the best. :) Seriously, if you really have a long term need for
Net::LDAP module, then porting would be the most convenient for you and
for others.

Just look at Makefile of net/p5-ResourcePool-Resource-Net-LDAP. Make
the port for you own use, test it, then share.

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


Re: nv 8400 and Marvell

2007-08-28 Thread Nikola Lecic
Hello,

On Tue, 28 Aug 2007 05:04:34 +1000 (EST)
Ilya Nix [EMAIL PROTECTED] wrote:

 Hi. I purchased a laptop with nVIDIA GeForce 8400 and very want to
 install FreeBSD, but X11 can’t  start up

You probably haven't installed x11/nvidia-driver. According to the
documentation of 100.14.11 driver,

  GeForce 8400 GS
  GeForce 8400M GT
  GeForce 8400M GS
  GeForce 8400M G

are supported. (Make sure your ports tree is up-to-date.)

 and FreeBSD 6.2 can’t recognize my network card (Marvell Yukon). How
 to correct the problem? Thank you

Please compare the lists of i386 supported hardware for 6.2-RELEASE:

  http://www.freebsd.org/releases/6.2R/hardware-i386.html

and for 6.2-STABLE:

  http://www.freebsd.org/relnotes/6-STABLE/hardware/i386/article.html

This means that you have to update to 6.2-STABLE in order to get
support for Marvell Yukon cards.

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


Re: misc questions re setting LANG

2007-08-28 Thread Nikola Lecic
On Mon, 27 Aug 2007 23:30:48 -0700
Gary Kline [EMAIL PROTECTED] wrote:

   Does anybody know howto set my env to iso.8859-1 (Latin1)
   so that, say [Alt]-i will produce an e-aigu?  I think that's
   e-acute.  I have it partlyworking in regular xterm.  I can
 type the string
 
   % cafe 
 
   with the final e being  hex-e9 and I get 
 
   zsh: command not found: \M-i
 
   which makes sense.  It would be nice to see the cafe echoed
 with the aigu over the e, but whatever.  On both the Gnome Terminal 
   and the KDE Konsole, zip, nada, nothing.  I've tried
 Setttings for the Konsole terms. No joy.  I don't know where to
 mouse and click for Gnome.  Oh,and most of the time in vi no Latin1
 chars.

Gary,

If you run

  % xterm -lc iso-8859-1

you will get what you want, i.e. ISO-8859-1 terminal in UTF-8
environment and Alt+I will produce é. Please read xterm man page for
more explanation on -lc and -en. See also luit(1).

If you really want to change the locale of Gnome/KDE/Xfce from default
UTF-8 to ISO-8859-1 (not recommended), then you should appropriately set
LANG and LC_ALL variables in ~/.xinitrc.

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


Re: Podcast management software?

2007-08-27 Thread Nikola Lecic
On Mon, 27 Aug 2007 21:00:11 + (UTC)
Scott I. Remick [EMAIL PROTECTED] wrote:

 I think I must be the only one using FreeBSD who wants to listen to 
 podcasts. :)

Why do you think so? :)

 I'm having trouble finding decent podcast downloading/management
 software to use on my FreeBSD desktop. Although a number of media
 player/ management programs (Exaile, Rhythmbox, Amarok, BMPx) have
 podcast- capabilities, they are limited and seem tacked-on as an
 afterthought. Missing is something along the lines of IcePodder,
 jPodder, Juice Reciever, etc.
 
 Because I want to keep my podcast directory current so it's ready to
 be synced with my media player at pretty much any time, even a
 command-line program (run via cron) would suffice. I fear not editing
 text configuration files. I just need SOMETHING that has the basic
 features I need. Not even castget nor podcatcher have more than
 download what's new features.
 
 What I need is to be able to manage my already-downloaded podcasts,
 so that I can choose things like only keep the last X number of
 podcasts and only keep podcasts from the last X days/weeks. Seems
 simple, right?
 
 Does anyone know of any program in the ports that can do this? If
 there's one out there not in ports, is there someone willing to add
 it? Thanks ever so much!

Does any of these programs look good enough?

multimedia/podcatcher
-
  Armangil's podcatcher is a podcast client for the command line. It
  provides several download strategies (new shows only, back-catalog
  allowed, etc), supports BitTorrent, offers cache management, and
  generates playlists for MP3 player applications.

  This application accepts one or more feeds (RSS or Atom) or
  subscription lists (OPML or iTunes PCAST) as argument, in the form of
  URLs or filenames. Alternatively, it tries to read one such document
  from the standard input.

  WWW: http://podcatcher.rubyforge.org/

multimedia/castpodder
-
  CastPodder is a podcast receiver. Its goal is to simplify tracking
  and handling of podcast's to your mp3 player.

www/castget
---
  castget is a simple, command-line based RSS enclosure downloader. It
  is primarily intended for automatic, unattended downloading of podcasts.

  * Simple configuration.
  * Per-channel tagging of downloaded MP3 files using ID3v2.
  * Per-channel download directories.
  * Supports all RSS versions and Media RSS.

  WWW: http://www.nongnu.org/castget/

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


Re: ports/UPDATING instructions and Python 2.4

2007-08-25 Thread Nikola Lecic
On Sat, 25 Aug 2007 09:15:52 -0500
Kirk Strauser [EMAIL PROTECTED] wrote:

 I need to keep Python 2.4 on my system to run Zope (which isn't  
 compatible with 2.5).  So, I dutifully followed the instructions  
 under /usr/ports/UPDATING starting with If want to keep 2.4.x  
 installed alongside 2.5.x [...].  When I came back a little later,  
 all of my dependent ports had been upgraded from py24-* to py25-*,  
 effectively killing my webserver.
 
 Could someone else take a look at those instructions and see if they  
 make sense - they look a little suspicious to me - or if there is  
 some gotcha that I might have missed?  Thanks.

Hello Kirk,

A couple of thoughts that could be useful.

The instructions explain how to keep both 2.4 and 2.5 versions of
_Python_itself_, that's all. The PYTHON_DEFAULT_VERSION=python2.5 line
of /etc/make.conf serves as an indicator to all new applications to
avoid confusion if python-2.4 is installed alongside.

You now probably have something like:

  # ls -d /var/db/pkg/py*
  /var/db/pkg/python24-2.4.4_1
  /var/db/pkg/python25-2.5.1
  /var/db/pkg/py25-cairo-1.4.0_1
  /var/db/pkg/py25-chardet-1.0_3
  [... etc., py25-* only ...]

Zope feels fine in this situation:

  # cd /usr/ports/www/zope3
  # make configure
  [...]
  ===  Patching for zope-3.3.1
  ===  Applying FreeBSD patches for zope-3.3.1
  ===   zope-3.3.1 depends on file: /usr/local/bin/python2.4 - found
  ===  Configuring for zope-3.3.1
  Configuring Zope installation
  Using Python interpreter at /usr/local/bin/python2.4

(The same for other py-* ports that are fixed to 2.4 interpreter (i.e.
www/py-pylons).)

Now, I'm trying to understand what happened to your webserver: you said
that changing py24-* to py25-* broke it. Maybe I'm mistaken, but I
see just 7 py-* ports that have any relationship with Zope. These are: 

  databases/py-psycopg   [WITH_ZOPE optional]
  devel/py-zopeInterface
  devel/py-twistedCore   [dependent on devel/py-zopeInterface]
  lang/py-mx-base[WITH_ZOPE optional]
  x11-toolkits/py-kiwi   [optionally linked with devel/py-zopeInterface]
  devel/py-zconfig   [not sure about this one]
  textproc/py-zpt[not sure about this one]

The presence of 'WITH_ZOPE' flag will force the port to use correct
version of Python: 

  # cd /usr/ports/lang/py-mx-base/
  # make USE_ZOPE=yes
  ===   py23-mx-base-2.0.6 depends on file: /usr/local/bin/python2.3 - not 
found
  ===Verifying install for /usr/local/bin/python2.3 in 
/usr/ports/lang/python23

(ZOPE_VERSION is also available.) So where is the connection between
zope and py-* ports that crashed your webserver? Please elaborate on
this, i.e. how does you webserver depend on py24-*?

In meantime, if you just need py24- versions of several ports, you can
do something like this:

  # portupgrade -f -r -m PYTHON_VERSION=2.4 py25-imaging

This will install py24-imaging and rebuild ports dependent on it (e.g.
graphics/skencil). Use '-n' flag to see what will happen first.

This is a quick and non-elegant help to get your webserver working
again. If you provide more information you will surely get more
in-depth explanation and more elegant solution from someone, preferably
from other Zope users.

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


Re: nvidia driver blues

2007-08-25 Thread Nikola Lecic
On Sat, 25 Aug 2007 16:55:32 -0400
dan sikorsky [EMAIL PROTECTED] wrote:

 freebsd 6.2 i386 generic
 geforce 7300gt
 fresh install.. have updated source, and new ports tree..
 installd x11, and then nvidia drivers no luck, all i get is
 
 [EMAIL PROTECTED] /usr/ports/x11/nvidia-driver]# make install
 ===  Building for nvidia-driver-100.14.11
 === src (all)
 cc -O2 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\100.14.11\ 
 -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -fno-common 
 -msoft-float -fno-unit-at-a-time -minline-all-stringops  -D_KERNEL 
 -DKLD_MODULE -std=c99 -nostdinc  -I/src -I. -I@ -I@/contrib/altq 
 -finline-limit=8000 --param inline-unit-growth=100 --param 
 large-function-growth=1000 -fno-common  -mno-align-long-strings 
 -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c
 nvidia_ctl.c cc1: error: unrecognized command line option
 -Wno-pointer-sign *** Error code 1

^^^

Dan, -Wno-pointer-sign is not the command line option of gcc-3.4.*,
but of gcc-4.*. Interestingly, this will probably work (without deleting
what is already built):

 # cd /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-100.14.11/src
 # make
 # cd /usr/ports/x11/nvidia-driver
 # make install

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


Re: nvidia driver blues

2007-08-25 Thread Nikola Lecic
On Sat, 25 Aug 2007 16:55:32 -0400
dan sikorsky [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] /usr/ports/x11/nvidia-driver]# make install
 ===  Building for nvidia-driver-100.14.11
 === src (all)
 cc -O2 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\100.14.11\ 
[...]

And: is this the full output or you cut some lines before first cc?

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


Re: perl configuration question

2007-08-24 Thread Nikola Lecic
On Thu, 23 Aug 2007 20:40:32 -0600
Andrew Falanga [EMAIL PROTECTED] wrote:

 Hi,
 
 I'm trying to install WebGUI on a FreeBSD system for my church.
 WebGUI uses PERL for its operation.  The program has a test
 environment perl script that it tries to run to make sure the
 environment can run WebGUI.  On a couple of the perl modules it tries
 to install, it bails saying that make is no good.
 
 I'm guessing this is because perl is expecting GNU make not BSD make,
 and since it's looks for /usr/bin/make, I'm sure it's getting the
 wrong version.  I'm pretty much a perl neophyte, having written only
 one perl script in my life and that was so pitifully little that it
 really wasn't worthy of being called a script; I do not know how to
 fix this.  How does one fix the configuration of perl (if this is even
 the problem, I'm going to try and see if this is something WebGUI is
 trying to use).

Hello Andrew,

This application needs good Porting. Unfortunatelly, many applications
advertise themselves like Runs on Linux/BSD/Solaris/AIX/. while
taking zero or close to zero care of anything but Linux. This is
visible in the fact that WebGUI sctipts do no inspection regarding
available make versions and for example in their assuming that bash
surely lives in /bin.

Here are several notes on what you can do:

(1) you have to manually replace all occurences of 'make' with 'gmake',
at least in build.sh. If the script itself fails, run it manually
with /usr/local/bin/bash or change bash path(s);

(2) please note that build.sh with no arguments will actually build not
just Perl, but Apache, ImageMagick, AwStats, several Perl modules,
MySQL and many other things as well, which doesn't make much sense.
It seems that you have to run it with

  # /usr/local/bin/bash build.sh --wre

with all prerequisites (you must gather them by hand from the
installation scripts) previously installed from ports. But it's very
likely that the script will not find all it needs itself and that
you must help it manually. A short inspection shows that you need

   databases/memcached
   graphics/ImageMagick
   databases/mysql...
   www/apache...
   www/awstats
   www/mod_perl
   ftp/lftp

and many more, including a huge number of Perl modules. Some of
these apps maybe have to be built with special options.

Any you still have to take care about paths the scripts use after
the installation in order to get WebGUI fully working.

(3) Maybe you should consider using another CMS software, there is a
lot of choice, including Perl-based if you prefer that. The most
important thing is that they are truly ported, so you have just to
type 'make install' to get running (and optimised) FreeBSD version.

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


Re: perl configuration question

2007-08-24 Thread Nikola Lecic
On Fri, 24 Aug 2007 07:10:15 -0600
Andrew Falanga [EMAIL PROTECTED] wrote:

 On 8/24/07, Nikola Lecic [EMAIL PROTECTED] wrote:
  On Thu, 23 Aug 2007 20:40:32 -0600
 
  (3) Maybe you should consider using another CMS software, there is a
  lot of choice, including Perl-based if you prefer that. The most
  important thing is that they are truly ported, so you have just
  to type 'make install' to get running (and optimised) FreeBSD
  version.
 
 
 Thank you for the great notes!  I'm not necessarily hung up on WebGUI.

I thought that you maybe already had a WebGUI content and that you
now want to switch to FreeBSD server. Again, you can try to make WebGUI
working; but build WebGUI only (with --wre), not other things,
including Perl. Build them from their FreeBSD ports and link WebGUI
scripts with them.

  That was a flashy system that appealed to others in the church and
 was just their first choice.  I do not believe they would be of the
 mind set WebGUI or nothing! so what other choices are there?  Your
 point above makes me think there are ported CMS packages within the
 ports collection?  Is this true?  If so, are they comparable to WebGUI
 in capability?

Of course, there are many of them, they are inside www (www/plone,
www/joomla, www/tikiwiki...). I recommend you to start a new thread
about CMS ideas, this will pass unnoticed under current subject. Write
exactly what features/capabilities you need (Perl-based?
wiki-like? ...), and people with experience with them will answer (I
have never used any, except little TikiWiki, long ago).

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


Re: Installation Disc Won't Boot

2007-08-24 Thread Nikola Lecic
On Fri, 24 Aug 2007 17:49:30 +
[EMAIL PROTECTED] wrote:

 
Hi,
 
I am unable to boot from 6.2-RELEASE i386-disc1.iso.  I have
downloaded it and burned it three times without success.
 
I am currently running Win98SE and FreeBSD 5.4 on a dual boot.  I
 had decided to reformat my hard drives so I reinstalled Win98SE and
 would like to install FreeBSD 6.2.  I downloaded the disc 1 iso image
 and burned it to a disc in Win98.  I had to boot from my CDrom to
reinstall Win98 so I know that my boot priority is correct and
 that my CDrom is working properly.  I looked at the burned cd with the
6.2-RELEASE i386-disc1.iso file on it in FreeBSD 5.4 and everything
appears to be there, including a folder called 'boot'.  But I just
can't seem to boot from it.
 
1.  Is there something simple I'm missing?
2.  Should I just try downloading (it takes four hours) and burning
more copies again?  (I've already done it three times...)
3.  Is the fact that I'm burning it in Win98 a problem?
4.  Is there anything I can do in FreeBSD 5.4 to see if the file is
corrupted?

Larry,

Is there any error message, such as Read Error: 0x..., Could not find
Primary Volume Descriptor?

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


Re: spammers harvesting emaill address from this list

2007-08-23 Thread Nikola Lecic
On Thu, 23 Aug 2007 18:00:20 -0500
Paul Schmehl [EMAIL PROTECTED] wrote:

 Of course it does, because it requires no work on your part.  It's
 always better if you can get someone else to expend energy on your
 behalf while you sit back and reap the benefits.  That's why
 unthinking people love socialism.

Uhuhuh, you confused pure laziness with socialism (philosophical
surely, historic implementations partially). Open source is very
much like philosophical socialism as described by XIX- and XX-century
philosophers: if you don't like the way things are done (e.g. how the
road in front of your house looks like), please _do_ help: take a
shovel, hammer, and _do_ (really, physically do) something. Similarly,
please sit at your keyboard and do real programming.

But _don't_ do two things:

  (1) don't pay, because someone will repair the road for you (the
  same as with microsoft) = you will _do_ nothing, the road won't
  be your work, but the work of others;

  (2) don't be lazy, i.e. don't wait for others to work for you as it
  won't happen.

* Socialism (and open source and open source support groups, etc) =
  = insisting on both (1) and (2);
* paying (as in (1)) is generally not acceptable in socialism;
* paying (as in (1)) is acceptable in non-socialism (and closed source);
* laziness (as in (2)) is not acceptable in both socialism and
  non-socialism, but
* socialism sees paying (as in (1)) as a form of laziness.

Important philosophical notions should be used carefully, especially
if you want to degrade something. Anyway this is off-topic here.

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


/compat/linux/usr/bin/ld

2007-08-20 Thread Nikola Lecic
Hello,

What is the recommended way for obtaining linux ld binary
(/compat/linux/usr/bin/ld)?

I found in the archives that devel/linux_devel port used to provide it,
but it seems that there is no such port now, except
emulators/linux*-gentoo*.

Thank you,

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


Re: Shared-mime-info won't compile

2007-08-20 Thread Nikola Lecic
On Mon, 20 Aug 2007 16:07:07 -0700 (PDT)
David LeCount [EMAIL PROTECTED] wrote:

 I've been having a problem for a long time trying to
 compile the shared-mime-info port. Below is the error
 I'm getting. I have tried recompiling libxml2 and
 everything shared-mime-info depends on.
 
 gmake[1]: Entering directory
 `/usr/ports/misc/shared-mime-info/work/shared-mime-info-0.22'
 cc -DHAVE_CONFIG_H -I. -I/usr/local/include/libxml2
 -I/usr/local/include -I/usr/local/include/glib-2.0
 -I/usr/local/lib/glib-2.0/include   
 -I/usr/local/include -I/usr/local/include/libxml2
 -I/usr/local/include -I/usr/local/include/glib-2.0
 -I/usr/local/lib/glib-2.0/include   -g -O2 -pipe 
 -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wwrite-strings -MT
 update_mime_database-update-mime-database.o -MD -MP
 -MF
 .deps/update_mime_database-update-mime-database.Tpo -c
 -o update_mime_database-update-mime-database.o `test
 -f 'update-mime-database.c' || echo
 './'`update-mime-database.c
 mv -f
 .deps/update_mime_database-update-mime-database.Tpo
 .deps/update_mime_database-update-mime-database.Po
 cc -I/usr/local/include/libxml2 -I/usr/local/include
 -I/usr/local/include/glib-2.0
 -I/usr/local/lib/glib-2.0/include   -g -O2 -pipe 
 -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wwrite-strings  -L/usr/local/lib -o
 update-mime-database
 update_mime_database-update-mime-database.o
 -L/usr/local/lib -lxml2 -lglib-2.0 -liconv   
 /usr/local/lib/libxml2.so: undefined reference to
 `pthread_equal'

Hello David,

Just to be sure: your ports tree is up-to-date, you didn't install
textproc/libxml2 altering WITH_THREADS option and you don't have
anything threads-related in /etc/make.conf or somewhere else?

In that case this joyfully written PR can certainly help:

  http://www.freebsd.org/cgi/query-pr.cgi?pr=threads/113666

(add -lc_r in share-mime-info's Makefile as explained). Besides that,
keep an eye on that PR since answers will surely be relevant for you.

Of course, you can artificially add -pthread among C compiler flags,
like this:

  # portupgrade -M 'CFLAGS=-pthread' shared-mime-info

(if you use portupgrade) or like this:

  # cd /usr/ports/misc/shared-mime-info
  # make CFLAGS=-pthread

but I'm not certain about the consequences. Better try the solution
from the aforementioned PR.

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


Re: Shared-mime-info won't compile

2007-08-20 Thread Nikola Lecic
On Mon, 20 Aug 2007 18:04:01 -0700 (PDT)
David LeCount [EMAIL PROTECTED] wrote:

 --- Nikola Lecic [EMAIL PROTECTED] wrote:
[...]
  In that case this joyfully written PR can certainly
  help:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=threads/113666
  
  (add -lc_r in share-mime-info's Makefile as
  explained). Besides that,
  keep an eye on that PR since answers will surely be
  relevant for you.
[...]

 That fixed my problem. I searched the mailing lists
 and Google but I guess I forgot to search for a bug
 report. Many thanks.

I'm posting your feedback back to the list so that others can know that
this helps.

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


Re: question about reporting bugs

2007-08-18 Thread Nikola Lecic
On Fri, 17 Aug 2007 16:53:27 +
Pollywog [EMAIL PROTECTED] wrote:

 I have a problem with the jabberd port in FreeBSD 6.2.
 The script apparently is not being executed on boot, though it works
 if executed manually.  Who gets the bug report, the porter?  Is the
 porter the person named for the port at FreshPorts?

Hello,

Do you have

  jabberd_enable=YES

in /etc/rc.conf?

If you are sure that's a bug, the porter of net-im/jabberd is
[EMAIL PROTECTED]:

  http://www.freebsd.org/cgi/ports.cgi?query=jabberd-2.1.12

In general, please read

  http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/

and send-pr(1) manpage.

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


Re: Migrating from reiserfs to ext3

2007-08-18 Thread Nikola Lecic
Hello Konrad,

On Sat, 18 Aug 2007 05:51:19 -0300
Konrad Scorciapino [EMAIL PROTECTED] wrote:

 Hello!
 
 I have a single 200GB HD that is divided in three partitions, one with
 FreeBSD, another with Linux and the other with my media. The first
 two are 10GB, and the latter, 180GB.

 The problem is that it is a ReiserFS partition, not writable from
 FreeBSD, so I'll have to change it to, say, ext3, if I'm going to be
 able to use xMule again. Since I can't backup the whole thing, I'll
 have to use another method to convert it.

Well, migration from ReiserFS to EXT3 is not really a question for
FreeBSD list. :) They are both native to Linux; ReiserFS is fully
implemented in Linux only.

You might consider using UFS2 instead of EXT3 -- but I'm not
sufficiently sure if write support in Linux is still marked as
experimental (it was some time ago).

 I'm using quotes because apparently there is no such utility that
 converts a given partition to another type. Why is that so? I was
 thinking about the hard links.

True, with a couple of not very interesting exceptions (it's possible
to convert EXT2 to EXT3 in place, and pure little window$ has a
built-in convertor from FAT32 to NTFS) -- as far as official
conversions are concerned; for unofficial, see below.

(Let someone corrects me if I'm mistaken, but it's not possible to
convert UFS to UFS2 in place.)

 Since the partition has some free space and its file hierarchy is
 quite simple (eg, mp3/baroque/bach/bwv82_1.mp3), wouldn't it work if
 I resize it to be full, using the freed space to create a new
 partition, and then, until the first one is empty, move content from
 it to the newly created, resizing both so that the first one is full
 again?

I think it's the best for you to do so. How much free space you have
there? You can shrink ReiserFS partition either from Linux or, maybe
easier, using GParted (http://gparted.sourceforge.net). Please note
that GParted surrently cannot resize Reiser4 partitions.

Or, if you are extremely brave, you can try

  http://freshmeat.net/projects/convertfs/

(I wouldn't do it.)

 Anybody ever tried something like that? Are there utilities that
 could help out, or dangers I need to avoid?

Every utility dealing with partition resizing will tell you to backup
your data first if you really need them. Since you can't do that, I'd
suggest reading ReiserFS manual and careful deciding what tool to use
for shrinking. But this is a Linux part of your job.

However, if you end up with one or two UFS2 partitions, then further
work with them will be a different story and you'll certainly get much
more answers. :)

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


Re: You've received a greeting from a family member!

2007-08-17 Thread Nikola Lecic
On Fri, 17 Aug 2007 09:52:43 -0400
Hakan K [EMAIL PROTECTED] wrote:

 I do not recommend someone to click on that exe file...

Hakan, why do you reply to these spam mails? You have already replied to
couple of them earlier.

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


Re: You've received a greeting from a family member!

2007-08-17 Thread Nikola Lecic
On Fri, 17 Aug 2007 10:09:15 -0400
Hakan K [EMAIL PROTECTED] wrote:

 Nikola,
 
 Do not you think that email should be filtered..?
 Or at least some one should warn the others for the exe link..

This is public and open list and it's impossible to filter everything.

I asked you why you replied directly to the spammer. That's extremely
bad practice, please stop doing it.

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


Re: Flash

2007-08-17 Thread Nikola Lecic
On Fri, 17 Aug 2007 16:51:42 +0200
Zbigniew Komarnicki [EMAIL PROTECTED] wrote:

 Hello,
 
 can I ask you for help, how to set up flash in Firefox natively, step
 by step? 
 
 I need it to see online stock market in Poland on some banking pages,
 for example here is a page (in Polish language), when I cannnot see
 the plot in flash:
 http://dlaciebie.bzwbk.pl/11949 
 
 Please for help.
 
 I use FreeBSD 6.2  and my webbrowser is firefox-2.0.0.6,1.

  http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/150745.html

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


Re: Flash

2007-08-17 Thread Nikola Lecic
On Fri, 17 Aug 2007 18:38:12 +0200
Laszlo Nagy [EMAIL PROTECTED] wrote:

 Zbigniew Komarnicki wrote:
  Hello,
 
  can I ask you for help, how to set up flash in Firefox natively,
  step by step? 
 The only native solution I know of is gnash but last time I tried
 it it was very unstable and very slow. I would rather try 
 linux-flashplugin7 and linuxpluginwrapper instead. Here is a 
 step-by-step guide for you:
 
 http://www.bsdspot.com/blog/archives/31

This is very outdated (based on the freebsd-multimedia@ thread from June
2006) -- with exception of link to Matteo Riondato's blog. There is no
need to apply rtld_dlsym_hack.diff anymore, at least on 6.2-RELEASE,
but I think that's true for 6.1 as well.

The flash-related questions/answers appeared probably 10 or 15 times on
various FreeBSD lists in last 3-4 months. These threads contain
everything related to installation problems, warning messages and other
problems. In total, if Flash7 and Acrobat plugins don't work inside
native browsers _flawlessly_, then user does something wrong.

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


Re: Flash

2007-08-17 Thread Nikola Lecic
On Fri, 17 Aug 2007 22:05:17 +0200
Laszlo Nagy [EMAIL PROTECTED] wrote:

  The flash-related questions/answers appeared probably 10 or 15
  times on various FreeBSD lists in last 3-4 months. These threads
  contain everything related to installation problems, warning
  messages and other problems. In total, if Flash7 and Acrobat
  plugins don't work inside native browsers _flawlessly_, then user
  does something wrong.

 Oh well, yesterday I had a machine where I installed flash plugin 7
 and linuxpluginwrapper but it did NOT work until I made symlinks
 to .so files (as given in the aforementioned article). The ports tree
 was up to date, so I'm really not sure what I did wrong. :-)

What you did wrong is that you didn't read the documentation. The
symlinking you are talking about is very well explained in the Handbook:

  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html

(section 6.2.4), and thus all googling hard work and disenchantment you
expressed publicly yesterday were not necessary. The further
investigation of recent mailing lists history would show you that
nspluginwrapper is easier to install and more reliable.

When new user comes to FreeBSD (especially it he/she is a Linux
convert), the first thing he/she has to learn is that official FreeBSD
Handbook, articles, FAQs and mailing lists @freebsd.org are the places
that contain 99.99% of answers to all imaginable questions. 

FreeBSD's documentation is one of its greatest strengths, so please
take an advantage of it.

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


Re: newfs_msdos -B

2007-08-16 Thread Nikola Lecic
On Thu, 16 Aug 2007 13:05:11 +0700
Victor Sudakov [EMAIL PROTECTED] wrote:

 Nikola Lecic wrote:
[...]
  However, if you need exactly m$'s dos, it's logical that you must
  borrow from there (from existing m$-dos or window$-9*). A quick
  googling shows that on
  
http://mail-index.netbsd.org/tech-userlevel/2004/03/07/.html
  
  you can read how to borrow and how much. :)
  
 I got the idea. Thank you. For FreeBSD, it should be like 
 
 % dd if=/dev/ad0s1 of=/tmp/dos_fat16.dd bs=512 count=1
 % dd if=/dev/ad0s1 of=/tmp/dos_fat32.dd bs=512 count=3
 
 BTW about FreeDOS: how many sectors for its bootblock must I copy?
 I did not know that fat16 and fat32 VBRs had different size (1 sector
 vs 3 sectors).

Hmm, I'd try with the same numbers. Since mbrbm works equally with both
m$-dos and FreeDOS, I guess that beginning sectors are composed the
same way.

Apart from install CDs, the only bootable image that FreeDOS-1.0
actually offers for download is 1.4M fdboot.img:

  http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/

Otherwise, I don't see any other way to obtain sectors of the full
system but to actually install FreeDOS somewhere (on virtual machine or
on a real slice).

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


Re: portupgrade question

2007-08-15 Thread Nikola Lecic
On Wed, 15 Aug 2007 08:36:53 +0400 (GST)
Rakhesh Sasidharan [EMAIL PROTECTED] wrote:

 Nikola Lecic wrote:
 
  Yes, options are not saved that way and Vim's default is with X11.
  Please make sure that the following lines exist in
  your /usr/local/etc/pkgtools.conf:
 
   MAKE_ARGS = {
  'editors/vim' = 'NO_GUI=yes',
  [... options for other ports ...]
   }
 
  Next time portupgrade will honour it (without -P/-PP options, of
  course).
 
 As far as I know, portupgrade won't honour this setting vim is
 upgraded as a dependency of some other port. (Please correct me if
 I'm wrong. I haven't tried this; its just something I read).

At least with portupgrade-devel, that doesn't seem true. I read it
too, and the source was an unofficial blog. For example, I have:

  MAKE_ARGS = {
  [...]
  'print/apsfilter'   = 'PAPERSIZE=a4',
  'print/ghostscript-gpl' = 'A4=yes',
  [...]
  }

ghostscript-gpl is a dependency of apsfilter. Now, ghostscript-gpl
needed update. I removed apsfilter for this testing purpose and:

  # portupgrade -NR apsfilter
  [...]
  ---  Installing 'apsfilter-7.2.8_3' from a port (print/apsfilter)
  ---  Building '/usr/ports/print/apsfilter' with make flags: PAPERSIZE=a4
  [...]
  ---  Upgrading 'ghostscript-gpl-8.57' to 'ghostscript-gpl-8.57_1'
(print/ghostscript-gpl)
  ---  Building '/usr/ports/print/ghostscript-gpl' with make flags: A4=yes 
A4=yes

 So the /etc/make.conf option is better.

It is definitively the most universal and IMHO it should appear in the
Handbook.

I just like to keep all ports/packages upgrading options at the same
place (USE_PKGS, MAKE_ARGS, USE_PKGS_ONLY...).

BTW, as far as I can recollect, as a global-honouring tool for ports
configuration, the most frequently quoted one along these lists was
ports-mgmt/portconf.

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


Re: questions@ vs. freebsd-questions@

2007-08-15 Thread Nikola Lecic
On Wed, 15 Aug 2007 07:14:43 -0400
Gerard [EMAIL PROTECTED] wrote:

 On August 14, 2007 at 08:34PM Nikola Lecic wrote:
 
 
  Why can't I send a mail to [EMAIL PROTECTED] Has anybody else
  noticed this?
  
  If someone sends a mail to questions@ (which is usual, I don't know
  if it should be), Reply-All in some mail clients will leave that
  address as is. If I accidentally miss that fact and don't repair
  the address by hand, reply will not be registered by the list
  software and that mail will not be distributed.
  
  Assuming that the same would happen with ports@, I've just repeated
  my post to that list, adding freebsd-, but the mail -- as it should
  -- appeared twice, so my apologies. :)
 
 Is there a reason that you cannot just use the address specified in
 the email headers of messages distributed by this forum. This is a
 snippet from the headers from your message.
 
 List-Id: User questions freebsd-questions.freebsd.org
 List-Unsubscribe:
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions,
 mailto:[EMAIL PROTECTED]
 List-Archive: http://lists.freebsd.org/pipermail/freebsd-questions
 List-Post: mailto:freebsd-questions@freebsd.org List-Help:
 mailto:[EMAIL PROTECTED]
 List-Subscribe:
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions,
 mailto:[EMAIL PROTECTED]
 
 You will notice that freebsd-questions@freebsd.org is also listed as
 the correct address on
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 
 The address: [EMAIL PROTECTED] does not appear there anywhere.

Gerard, thanks for the reply; that's why I asked if question@ should
be used. postmaster@ explained that all short forms should work the
same way as long ones (ports@ and freebsd-ports@, test@ and
freebsd-test@). In my particular case, it is an occult SMTP server
problem that (almost) always prevents me from sending to short-version
addresses.

But according to postmaster@, short forms are OK and legal.

Sorry for the noise.

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


Re: portupgrade question

2007-08-15 Thread Nikola Lecic
On Wed, 15 Aug 2007 13:18:11 +0100
Christopher Key [EMAIL PROTECTED] wrote:

[...]
 I've gone for a portconf based solution for now, although, when I get 
 the chance, I'll try to test how portupgrade behaves wrt
 dependencies.

Please don't forget to try switching to portupgrade-devel in that case.
According to /usr/ports/UPDATING recommendations (20070519):

  # portupgrade -f -o ports-mgmt/portupgrade-devel portupgrade
  # ...
  (etc., do the rest in order to rebuild /var/db/ bits and to build or
  fetch the new INDEX.)

If dependencies bug ever really existed (I can't remember that anyone
confirmed that offering an example), it was related to non-devel
version.

 I would prefer to use pkgtools.conf for several reasons:
[...]
 2) MAKE_ARGS get echoed when things are being built, whereas
 arguments in make.conf don't seem to

Agree here, this is sometimes the only 100% sure method to know how the
binary in question was really built.

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


Re: newfs_msdos -B

2007-08-15 Thread Nikola Lecic
On Wed, 15 Aug 2007 14:04:55 +0700
Victor Sudakov [EMAIL PROTECTED] wrote:

 Colleages, 
 
 I need to create a bootable MS-DOS slice on a HDD.
 Where can I obtain a DOS VBR for newfs_msdos -B ?

Hello Victor,

On your place I'll just create msdos partition and install FreeDOS
(http://www.freedos.org/) there. (Actually I did use FreeDOS once to
run some ancient programs of mine, but life is easier with
emulators/dosbox).

If you need a bootloader there, then

  http://mbrbm.sourceforge.net/

should work.

However, if you need exactly m$'s dos, it's logical that you must
borrow from there (from existing m$-dos or window$-9*). A quick googling
shows that on

  http://mail-index.netbsd.org/tech-userlevel/2004/03/07/.html

you can read how to borrow and how much. :)

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


Re: portupgrade question

2007-08-14 Thread Nikola Lecic
On Tue, 14 Aug 2007 21:12:40 +0100
Christopher Key [EMAIL PROTECTED] wrote:

 Hello,
 
 I've just CVSupped my ports collection and run 'portupgrade -ra'.

Hello Christopher,

'portupgrade -a' is just enough, '-r' means nothing here.

 One of the ports that was updated was vim, which had originally been 
 installed without X11:
 
 # cd /usr/ports/editors/vim
 # NO_GUI=1 make install clean
 
 Now, this option appears to have been lost as I've ended up with a
 full X11 installation.  Is this the expected behaviour, or did I do
 something wrong?

Yes, options are not saved that way and Vim's default is with X11.
Please make sure that the following lines exist in
your /usr/local/etc/pkgtools.conf:

  MAKE_ARGS = {
'editors/vim' = 'NO_GUI=yes',
[... options for other ports ...]
  }

Next time portupgrade will honour it (without -P/-PP options, of
course).

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


questions@ vs. freebsd-questions@

2007-08-14 Thread Nikola Lecic
Hello,

Why can't I send a mail to [EMAIL PROTECTED] Has anybody else
noticed this?

If someone sends a mail to questions@ (which is usual, I don't know if
it should be), Reply-All in some mail clients will leave that address as
is. If I accidentally miss that fact and don't repair the address by
hand, reply will not be registered by the list software and that mail
will not be distributed.

Assuming that the same would happen with ports@, I've just repeated my
post to that list, adding freebsd-, but the mail -- as it should --
appeared twice, so my apologies. :)

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


Re: -current snapshot as amd64 live CD/DVD

2007-08-10 Thread Nikola Lecic
On Fri, 10 Aug 2007 16:07:45 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:

 does such thing exist?

You can make it yourself with sysutils/freesbie. Please read FreeSBIE
documentation, start with e.g.

  http://wiki.freesbie.org/iso_creation

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


Re: Convince me, please!

2007-08-09 Thread Nikola Lecic
On Thu, 9 Aug 2007 15:11:06 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:

  a perfectly acceptable alternative for home desktop users who have
  previously known only Windows.  It's not, and it never will be.
 
 never say never, but i wish too it will never be.

Please note that the original posting contains a hidden claim that
window$ is a perfect, eternal and god-given desktop system. Therefore
if you say that FreeBSD will never be a perfectly acceptable
alternative... to that, you agree with that hidden claim.

window$ as a desktop system is as wrong as it is as an operating
system. In my opinion, FreeBSD set up as a desktop system is what a
desktop system should be, so FreeBSD with GUI apps _is_
-- or can be if you want -- a perfect desktop system. 

Or: perfect desktop system has nothing to do with m$'s approach.

To Latitude: if you can't accept this ^^^, then don't switch.

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


Re: Convince me, please!

2007-08-09 Thread Nikola Lecic
On Thu, 9 Aug 2007 10:22:51 -0400
Mark Moellering [EMAIL PROTECTED] wrote:

 Windows does an excellent job of running on almost any hardware.
 (how well it runs is up  for debate)
 FreeBSD is also pretty good at running on just about any hardware,
 however, you may need to do some file manipulation to get your video
 display soundcard or some other peripherals to work.

I deeply disagree here. Any comparison between FreeBSD and window$ in
that field is bogus. What an excellent job is windows$ doing?
Virtually all hardware is designed having them in mind but in some cases
ignoring users of open source systems.

Moreover, m$ obviously has a policy of convincing people that hardware
exists only to be a platform for window$ and many users really think
so. If you buy the simplest piece of hardware such as keyboard, it will
come with Running/Works with Windows Vista inscription. This is a
deception: it hides the fact that there is nothing special with the
simple keyboard. What does this stupid message mean? Nothing, but it
reveals a flawed and very harmful approach (for example that your
laptop is Designed for Windows XP). So where is there an excellent
job?

 Depending on what hardware you are running, FreeBSd may load and have
 you up and running with a windows like desktop with a minimum of
 fuss.  If you need to edit and recompile your kernel or hand edit
 your X windows configuration file , it will become a nightmare.  

Could you please expand on this? There is no connection between
nightmare and things where everything is clear and open.

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


Re: Convince me, please! - too much about GUI

2007-08-09 Thread Nikola Lecic
On Thu, 9 Aug 2007 19:04:50 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:

  desktop system should be, so FreeBSD with GUI apps _is_
  -- or can be if you want -- a perfect desktop system.
 
 i don't use GUI. it takes a lot and gives nothing. i use both text
 and graphic (X) based apps and no gui. i use fvwm2 with my config,
 there are plenty of nice other wm's good for that.

Sorry, I agree with you, s/GUI/graphic based/ in my post. I've just
wanted to be clear that X.org and X-apps are not the part of
FreeBSD.

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


Re: Convince me, please! - too much about GUI

2007-08-09 Thread Nikola Lecic
On Thu, 09 Aug 2007 12:15:08 -0500
Reid Linnemann [EMAIL PROTECTED] wrote:

 My ten year old niece has been brainwashed by the GUI quagmire. She
 saw my FreeBSD 6-STABLE console on my amd64 3000+ and wanted to know
 why i was using such an old computer. [...] Granted, it could be
 only because she's ten.

The important part is that she asked you why you used a computer
because, like millions of users, she don't make difference between
computer and window$ (i.e. OS). People will rarely explicitly state
that, of course, but when I speak to some people, I see that they
sincerely assume that.

That reminds me of a typical brainwashing sencence from window$: when
you want to press the reboot icon, the text over your mouse will tell
something like Shut down and start Windows again; the sencence
contains an explicit equalisation of machine and window$.

So I'd say this has nothing to do with one's age.

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


Re: reconfigure a port after install

2007-08-09 Thread Nikola Lecic
On Thu, 09 Aug 2007 13:57:46 -0600
Miguel [EMAIL PROTECTED] wrote:

 Hi, i have installed postfix + sasl2 support, so far so good but now
 i want to enable mysql auth and sasl2 was not compiled with mysql
 support, i tried desinstalling it but it claims postfix depends on
 it, so how do i add mysql support to the installed sasl2 port?
 Im using portinstall btw,
 thanks

Hello,

First change sasl options, then forcefully recompile it with depending
ports. Asuming you've chosen SASL2 option for Postfix:

  # cd /usr/ports/security/cyrus-sasl2
  # make config
[choose MYSQL option]
  # portupgrade -f -r cyrus-sasl2

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


Re: Utility to change a byte in a binary file?

2007-08-09 Thread Nikola Lecic
On Thu, 09 Aug 2007 20:25:17 +
V.I.Victor [EMAIL PROTECTED] wrote:

 It sure seems that this should be simple, but my searches have only
 turned up inter-active hex/disk editors.  I'm probably asking wrong.
 
 I have a large binary file (700 meg) and I know that there is a
 single wrong byte.  I also know it's exact location in the file.
 
 Is there a command-line utility to write a byte at a specified offset
 into a file? 

Hello Victor,

editors/bpatch and editors/hexcurse are what you want. Both work great
with large files.

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


Re: How can i import Corel Draw vectorial files?

2007-08-09 Thread Nikola Lecic
On Thu, 9 Aug 2007 17:08:27 -0400
Hakan K [EMAIL PROTECTED] wrote:

 On 8/9/07, Damian Vicino [EMAIL PROTECTED] wrote:
 
  I am getting CDR files form another department (and they dont know
  how or dont want to export as .ps).
  I just need to open them to show my boss and give oks about the work
  they doing.
  Do you know any software in the port collection or somewhere else
  that can open these files or at least export to another vectorial
  format that can be open in some kde application or shell?
  Thanks for any info.
  Sdäv

  *XnView* http://perso.orange.fr/pierre.g/xnview/enxnview.html
 
 http://perso.orange.fr/pierre.g/xnview/enhome.html

(xnview is available through graphics/xnview port.)

Yes, it's impossible to directly open and view a CDR file, you have to
convert it to something else first (preferably to SVG).

I've recently used UniConvertor
(http://sourceforge.net/projects/uniconvertor/) to convert several CDR
files to SVG. It supports the newest CDR versions. However, it isn't
ported, you have to compile it yourself.

  % ./uniconv
  [...]
  Converts one vector graphics format to another using sK1 engine.
  Allowed input formats:
 AI  - Adobe Illustrator files (postscript based)
 CDR - CorelDRAW Graphics files (7-X3 versions)
 CMX - Corel Presentation Exchange files (CMX1 format)
 [...]

It's also recommended in Inkscape's (graphics/inkscape) FAQ:

  
http://wiki.inkscape.org/wiki/index.php/FAQ#What_can_I_do_with_.2A.cdr_.28Corel_Draw_Vector_drawing_file.29_files_in_Inkscape.3F_I_have_got_my_images_in_.2A.cdr_files_and_I_would_like_to_continue_in_.2A.SVG.

Damian, if you want to try UniConvert and have troubles compiling it
(as usual, a couple of changes in installation scripts and Makefiles
is necessary) -- just post here again.

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


Re: portupgrade modifys EVERY +CONTENTS now?

2007-08-06 Thread Nikola Lecic
On Mon, 6 Aug 2007 02:55:34 -0400 (EDT)
Tuc at T-B-O-H.NET [EMAIL PROTECTED] wrote:

[...]
   Ok. But I part of my question to people , and reason for
 posting it here, is the old Is anyone else seeing this. When/if you
 use portupgrade, does it do the same for you? Or is it just something
 that I happened some how to inherit on atleast 2 of my machines?

Interestingly, I see this behaviour only _partially_ with

  %ls -d /var/db/pkg/portupgrade*
  /var/db/pkg/portupgrade-devel-2.3.1

I've just upgraded the following ports (extract from build script):

  ===   Registering installation for sudo-1.6.9.3_1
  ===   Registering installation for jasper-1.900.1_6
  ===   Registering installation for intltool-0.36.0
  ===   Registering installation for cups-base-1.2.11_3
  ===   Registering installation for libglade2-2.6.2
  ===   Registering installation for ffmpeg-2007.07.12_1
  ===   Registering installation for libgnomeprint-2.18.0_3
  ===   Registering installation for py25-tkinter-2.5.1_2
  ===   Registering installation for xpdf-3.02_2
  ===   Registering installation for gstreamer-0.10.14
  ===   Registering installation for gstreamer-plugins-0.10.14,3

However:

  %ls -lt /var/db/pkg/*/*CONTENTS
  -rw-r--r--  1 root  wheel   50114 Aug  6 11:28 
/var/db/pkg/wxgtk2-common-2.8.4/+CONTENTS
  -rw-r--r--  1 root  wheel9772 Aug  6 11:28 
/var/db/pkg/wxgtk2-unicode-2.8.4/+CONTENTS
  -rw-r--r--  1 root  wheel   35998 Aug  6 11:27 
/var/db/pkg/aMule-2.1.3_4/+CONTENTS
  -rw-r--r--  1 root  wheel   20786 Aug  6 11:26 
/var/db/pkg/gstreamer-plugins-0.10.14,3/+CONTENTS
  -rw-r--r--  1 root  wheel 992 Aug  6 11:13 
/var/db/pkg/xwud-1.0.1/+CONTENTS
  -rw-r--r--  1 root  wheel   21020 Aug  6 11:13 
/var/db/pkg/yelp-2.18.1_1/+CONTENTS
  -rw-r--r--  1 root  wheel   28133 Aug  6 11:13 
/var/db/pkg/zenity-2.18.2/+CONTENTS
  -rw-r--r--  1 root  wheel 441 Aug  6 11:13 /var/db/pkg/zip-2.32/+CONTENTS
  -rw-r--r--  1 root  wheel 440 Aug  6 11:13 
/var/db/pkg/zoo-2.10.1_2/+CONTENTS
  -rw-r--r--  1 root  wheel1765 Aug  6 11:13 /var/db/pkg/xsm-1.0.1/+CONTENTS
  [...]
  [all other +CONTENTS files are in 11:13 and 11:12]

This means that upgrading of gstreamer-plugins affected only ports
depending on it (aMule and wxgtk2*). But this is obviously not the case
with some other ports.

However[2]:

  %ls -lt /var/db/pkg | head
  total 23198
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:28 gstreamer-plugins-0.10.14,3
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:28 wxgtk2-common-2.8.4
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:28 wxgtk2-unicode-2.8.4
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:27 aMule-2.1.3_4
  -rw-r--r--  1 root  wheel  21974016 Aug  6 11:26 pkgdb.db
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:16 gstreamer-0.10.14
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:16 libXft-2.1.12
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:16 xorg-libraries-7.2_2
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:16 libXcomposite-0.3.2,1

I haven't recently noticed any significant change in performance. (The
times in the above lists are not relevant since couple of demanding
things were running at the same time.)

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


Re: Compiling xorg 7.2 issue

2007-08-03 Thread Nikola Lecic
On Thu, 02 Aug 2007 02:43:26 +0200
Roberth Sjonøy [EMAIL PROTECTED] wrote:

 Hello, I have just installed FreeBSD for the first time, and I prefer
 to just install the kernel and the base system under the
 installation, now I'm compiling xorg, but I got an issue,
 
 ===  Installing for xorg-7.2
 ===   xorg-7.2 depends on file: /usr/local/lib/dri/r128_dri.so - not
 found ===Verifying install on /usr/local/lib/dri/r128_dri.so in 
 /usr/ports/graphics/dri
 ===  Building for dri-7.0,2
 Please run 'make realclean' before changing configs
 gmake: *** Error code 2
 
 Stop in /usr/ports/graphics/dri.
 *** Error code 1
 
 Stop in /usr/ports/x11/xorg.
 
 
 How do I solve this? please explain properly im very new to *bsd.

Hello Roberth,

According to this message, you should cd to the dri working
directory (/usr/ports/graphics/dri/work/Mesa-7.0) and run 'make
realclean' (actually 'gmake realclean'). 'make realclean' is not the
command of the ports system.

However, this shouldn't happen, of course. You didn't described how you
installed ports collection after you have installed the base system. If
in doubt, you might consider to start anew:

  # rm -rf /usr/ports/*
  # rm -rf /var/db/portsnap
  # portsnap fetch
  # portsnap extract

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


Re: make and gmake on FreeBSD

2007-07-26 Thread Nikola Lecic
Hello,

On Thu, 26 Jul 2007 23:26:28 +0300
Dima Sorkin [EMAIL PROTECTED] wrote:

 Hi.
  I have a FreeBSD 6.2, installed it from the distribution disks, no
 changes by me.
 
 There is a make and a gmake installed on it.

No, make (BSD make) is a part of FreeBSD, gmake (GNU make) is a
third-party application, available through devel/gmake port.

 They report that they are the same programm, but in fact they behave
 completely different.

They _are_ different.

 In fact only gmake behaves like GNU make should behave

gmake = GNU make.

 and only with gmake I succeed to build serious projects.

This is very interesting observation, could you expand on this?

  What happens here ?  What I the make, where did it come from ?

Nothing, it happens that you installed FreeBSD. The better question is
where GNU make came from :)

 How do I cause to system make behave as gmake ?

Why would you like to do it?

 P.S.  see their output:
 [EMAIL PROTECTED] /usr/home/dsorkin]$ make --version
 GNU Make 3.81
 Copyright (C) 2006  Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.
 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
 PARTICULAR PURPOSE.

This is not default behaviour in FreeBSD.
 
Nikola Lečić
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox 3.0

2007-07-24 Thread Nikola Lecic
On Tue, 24 Jul 2007 18:12:09 -0400
Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

 yeah... i tried that. but that experience was far from satisfactory

www/kazehakase, it's a stripped down and feature-innovative version of
firefox.

Nikola Lečić

P.S. Please write your answers _under_, not above the text you are
answering to, at least on these lists.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mouse wheel doesn't work

2007-07-20 Thread Nikola Lecic
Hello,

On Sat, 21 Jul 2007 05:02:49 +0800
Zhang Weiwu [EMAIL PROTECTED] wrote:

 Dear everyone on the list
 
 On my xorg-6.9.0 installed on FreeBSD 6.2, USB mouse work just fine
 with mouse wheel; ps/2 mouse do not work. Nothing happens when
 scrolling mouse wheel.
 
 As I have only one ps/2 mouse I cannot test if all ps/2 mice suffer
 from such problem or just this one, but I am sure this mouse works
 fine on Windows and Ubuntu Linux with wheel.

I think that then middle (wheel) click doesn't work; if it does, then
just copy Ubuntu xorg.conf entry or check if trackpoint and external
ps/2 mouse use different /dev.

 The box is thinkpad 380XD with an IBM red check-point on the keyboard,
 which as far as I know is also /dev/psm0, probably something on
 hardware level is done to merge signal of check-point and real ps/2
 mouse together, and mouse wheel movement might be dropped during this
 merge.

Yes, this is more likely -- the trackpoint and external ps/2 mouse
collide. 

 Mouse section of xorg seems to be correct, and I think it's not useful
 to tweak X configuration if moused cannot by itself detect mouse wheel
 movement.
 
 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol auto
 Option  Device /dev/sysmouse
 Option  Buttons 5
 Option  ZAxisMapping 4 5
 EndSection

Generally, using two parallel mouse devices calls for two separate
InputDevice mouse entries and for SendCoreEvents option.

 xmodmap also shows there is no re-mapping of mouse buttons. Again if
 moused isn't aware of scrolling, working on X level doesn't seem to be
 helpful.

Please read this page:

  http://salisburys.net/PetersNotes-TW.html
  (choose External mouse wheels and wheel emulation...)

and consider experimenting with this:

  http://tpctl.sourceforge.net
  
It doesn't seem ported, but they claim it runs on *BSD. Read the man
page, --setup-pointing-device* options could maybe solve the problem.

(tpctl should be started _before_ X.)

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


Re: mouse wheel doesn't work

2007-07-20 Thread Nikola Lecic
On Sat, 21 Jul 2007 09:33:53 +0800
Zhang Weiwu [EMAIL PROTECTED] wrote:

 On Sat, 2007-07-21 at 01:42 +0200, Nikola Lecic wrote:
  I think that then middle (wheel) click doesn't work; if it does,
  then
 
 The middle click does work! However there is no middle key on thinkpad
 track-point, thus it means at least some signal cannot be produced by
 track-point is delivered to FreeBSD.

In Ubuntu? Please don't forget that Linux and FreeBSD use the same
Xorg, there is nothing Linux-specific about it. What can be the
difference, however, is that Linux maybe uses tpctl -- please check if
it is so.

But even so, maybe some functionality (of the trackpoint for example)
must be sacrified in order to get the external wheel working.
 
  just copy Ubuntu xorg.conf entry or check if trackpoint and external
  ps/2 mouse use different /dev.
 
 Unfortunately it seems in dmesg only psm0 is discovered. dmesg
 attached

dmesg is not here :)

  Please read this page:
  
http://salisburys.net/PetersNotes-TW.html
(choose External mouse wheels and wheel emulation...)
 
 Very smart:)

Well, have you tried that? (And I fotgot to ask: does wheel-click in
FreeBSD produce an X event?)

  and consider experimenting with this:
  
http://tpctl.sourceforge.net

  It doesn't seem ported, but they claim it runs on *BSD. Read the man
  page, --setup-pointing-device* options could maybe solve the
  problem.
 
 compile failed with a lot of error messages.

Ah, welcome to the realm of truth! A part of the world (very bad for
them) is gnu/linux-centic. I can't test it at the moment since
sourceforge is currently down, but please note two things:

  (a) configure script often can't find where libraries are installed;
  please take a look at './configure --help' and provide the
  correct paths where necessary;

  (b) don't forget that make (BSD make) is not fully compatible with the
  syntax of GNU Makefiles, so in that case you have to explicitly
  run 'gmake' when compiling something out of ports.

(If you can't compile it, start a thread about it, people will jump in
to help. Maybe you might even consider porting that peace of software to
FreeBSD :))

 I'll try the good old PS2.EXE later on DOS.

As you see, tpctl provides the same functionality as PS2.EXE and is
very feature-rich (much more beyond wheel functionality). I checked,
your Thinkpad model is listed as fully supported.

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


Re: FreeBSD-6.1 bootup hangs after power failure

2007-07-16 Thread Nikola Lecic
On Mon, 16 Jul 2007 11:57:44 +0545
Tek Bahadur Limbu [EMAIL PROTECTED] wrote:

 Nikola Lecic wrote:
  On Sat, 14 Jul 2007 00:32:54 +0545
  Tek Bahadur Limbu [EMAIL PROTECTED] wrote:
  
  Hi All,
 
  Due to a power outage, my FreeBSD-6.1 (i386) machine got rebooted. 
  However, upon reboot right after the initial startup menu, it
  simply hangs.
 
  I tried rebooting the machine several times but in vain.
 
  My Bios detects my hard drive. Also since I get the initial
  startup menu, something must be wrong or corrupted in the Boot
  loader.
 
  Can somebody point me or give me any hints about fixing this
  problem. I have really some information in my hard drive which I
  want to keep or restore.
  
  Hello Tek,
  
  The first thing I'd do is to download FreeSBIE (if you already don't
  have it), boot from it and do some initial inspection of the main
  drive.
  
  Then you will probably collect some more data about status of file
  systems etc. that will allow people from this list to share with you
  much more useful advices than it's possible at the moment.
 
 Hi Nikola,
 
 I just finished downloading FreeSBIE and when I tried to boot it, I
 get the following errors:
 
 
 CD Loader 1.2
 
 Building the boot loader arguments
 Looking up /BOOT/LOADER...  Found
 Read Error: 0x10
 Could not find Primary Volume Descriptor
 
 
 Does this mean that my hard drive is dead and gone?

No, this message is not about your hard drive. This means that live-CD
doesn't like your hardware (maybe a bit older if such an error appears),
or actually something much simpler:

... Have you checked the MD5 sum of the downloaded image? This error can
also be caused by one funny thing: what burning speed you used to burn
FreeSBIE? Check MD5 sum and burn it again at =4x. This can help :)

If you still can't start FreeSBIE, then try any other live-CD or maybe
gparted (http://gparted.sourceforge.net) which can copy/paste
partitions to another hard-drive -- to save your data if possible
before you continue trying to rescue the whole system.

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


Re: Garbled text in xterm

2007-07-16 Thread Nikola Lecic
On Sun, 15 Jul 2007 22:42:22 -0500
Michael Gass [EMAIL PROTECTED] wrote:

 On Mon, Jul 16, 2007 at 03:06:47AM +0200, Nikola Lecic wrote:
  On Sun, 15 Jul 2007 19:15:03 -0500
  Michael Gass [EMAIL PROTECTED] wrote:
  
   Lowell Gilbert wrote:
   
Hmm.  I've never heard of any symptoms quite like this.
A few stabs in the dark:
What happened if you used no xorg.conf at all?  Did you get the
same xterm problem?
   
 Do you have a locale set?
   
   Thanks for the response.
   1. If I try to running with no xorg.conf, it just hangs. I think
   the equipment is too old for the defaults.
   2. My locale is set to C
   3. If I set the DefaultDepth to 1 in Screen, then it works - but
   of course there is no color.  If I set the DefaultDepth to either
   4 or 8, then I get the garbled text again.  I do not think it is
   the keyboard, as the garbled text happens right at the prompt,
   and when I do type, it garbles, but the correct thing happens.
   For instance, if I type xterm then the charactors are messed
   up, but an xterm comes up (again with garbled text).
   4. I tried having X construct a configure file for me (Xorg
   -configure), but same problem.
  
  Hello Michael,
  
  What happens if you add
  
Option  XaaNoScanlineImageWriteRect true
Option  XaaNoScanlineCPUToScreenColorExpandFill true
  
  to the Screen section (try Device too)?
  
  Try also:
  
Option  Accel false
  
  Nikola Lečić
 
 Nikola,
 
 Thank you for the response.
 This did not work, but it gives me the idea to try similar
 options.  If you have any other advice, please let me know.

Me personally not very much besides Xaa* options (which could be
deductible to my eyes from your xorg conf/log), but others probably do
have.

However, it remains a bit unclear what those garbled characters
exactly look like. Is the text garbled in xterm only? Or in windows
decoration (you mentioned twm) as well? So:

(1) It could be very useful if you could provide a snapshot;

(2) You may try xfontsel(1) as a useful previewer of the fonts in use;

(3) Try 'xterm -font font', list them with xlsfonts(1);

(4) Try to start a new thread on freebsd-x11@ named Garbled text with
colour depth  1 on older vga -- or something like this -- this
seems to be a crucial part;

(5) Try asking even on X.org;

(6) Whatever you do, please send a feedback here since this is a very
interesting issue. :)

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


Re: Garbled text in xterm

2007-07-15 Thread Nikola Lecic
On Sun, 15 Jul 2007 19:15:03 -0500
Michael Gass [EMAIL PROTECTED] wrote:

 Lowell Gilbert wrote:
 
  Hmm.  I've never heard of any symptoms quite like this.
  A few stabs in the dark:
  What happened if you used no xorg.conf at all?  Did you get the same
 xterm problem?
 
   Do you have a locale set?
 
 Thanks for the response.
 1. If I try to running with no xorg.conf, it just hangs. I think the
 equipment is too old for the defaults.
 2. My locale is set to C
 3. If I set the DefaultDepth to 1 in Screen, then it works - but of
 course there is no color.  If I set the DefaultDepth to either 4 or 8,
 then I get the garbled text again.  I do not think it is the keyboard,
 as the garbled text happens right at the prompt, and when I do type,
 it garbles, but the correct thing happens.  For instance, if I type
 xterm then the charactors are messed up, but an xterm comes up
 (again with garbled text).
 4. I tried having X construct a configure file for me (Xorg
 -configure), but same problem.

Hello Michael,

What happens if you add

  Option  XaaNoScanlineImageWriteRect true
  Option  XaaNoScanlineCPUToScreenColorExpandFill true

to the Screen section (try Device too)?

Try also:

  Option  Accel false

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


Re: FreeBSD-6.1 bootup hangs after power failure

2007-07-14 Thread Nikola Lecic
On Sat, 14 Jul 2007 23:21:05 +0545
Tek Bahadur Limbu [EMAIL PROTECTED] wrote:

 One thing I find FreeBSD very fussy and sensitive in comparison to
 Linux OSes is that whenever there is an power outage, something wrong
 is bound to happen. Maybe, it was made to happen this way but living
 in here over the other side of the world, we do have to face power
 outages despite our best efforts.

My experiences are completely opposite. I find UFS stability and
integrity superior to that of ext2/ext3 in cases such as power
failures, and UFS background fsck-ing as a fascinating feature. (After
power failure, UFS usually needs zero repairs thanks to soft updates.)

What other wrong things you experienced? I agree with Manolis that you
simply must have been terribly unlucky.

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


Re: FreeBSD-6.1 bootup hangs after power failure

2007-07-13 Thread Nikola Lecic
On Sat, 14 Jul 2007 00:32:54 +0545
Tek Bahadur Limbu [EMAIL PROTECTED] wrote:

 Hi All,
 
 Due to a power outage, my FreeBSD-6.1 (i386) machine got rebooted. 
 However, upon reboot right after the initial startup menu, it simply
 hangs.
 
 I tried rebooting the machine several times but in vain.
 
 My Bios detects my hard drive. Also since I get the initial startup 
 menu, something must be wrong or corrupted in the Boot loader.
 
 Can somebody point me or give me any hints about fixing this problem.
 I have really some information in my hard drive which I want to keep
 or restore.

Hello Tek,

The first thing I'd do is to download FreeSBIE (if you already don't
have it), boot from it and do some initial inspection of the main drive.

Then you will probably collect some more data about status of file
systems etc. that will allow people from this list to share with you
much more useful advices than it's possible at the moment.

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


Re: www/linux-flashplayer7 - now works with SOUND on youtube

2007-07-13 Thread Nikola Lecic
On Fri, 13 Jul 2007 08:33:04 +1000
Paul Fraser [EMAIL PROTECTED] wrote:

 Actually that's not entirely true - the only problem is sound drops
 out of sync almost straight away, but otherwise it works just fine.

Hm, this is very strange and certainly shouldn't be so. Could you please
share some more details? What wrapper do you use? Are there warning or
any other messages if you run the browser from terminal?

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


Re: www/linux-flashplayer7 - now works with SOUND on youtube

2007-07-12 Thread Nikola Lecic
On Thu, 12 Jul 2007 23:18:42 +0100
Jamie Jones [EMAIL PROTECTED] wrote:

  On Thu, 12 Jul 2007 20:19:02 +
  Pollywog [EMAIL PROTECTED] wrote:
 
   On Thursday 12 July 2007 19:35:47 RW wrote:
   
   
I don't recall ever having a problem with sound on youtube with
Flash7
- the problems were with Flash9 which relies on ALSA.
 
 Are you using it with the linux-binary ?
 
 I don't know anyone who has managed to get sound from youtube (other
 sites are ok) with linux-flashplugin7 under a native browser with the
 pluginwrapper before now!

Then you obviously don't read lists very much... :) Please visit
the following threads (read all posts that follow):

  http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/150737.html
  http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/150773.html 

For some thoughts about alsa:

  http://lists.freebsd.org/pipermail/freebsd-multimedia/2007-July/007115.html

And one very interesting investigation by Matteo Riondato:

  http://www.riondabsd.net/2007/05/23/flash-on-freebsd-using-gnash/

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


Re: www/linux-flashplayer7 - now works with SOUND on youtube

2007-07-12 Thread Nikola Lecic
On Fri, 13 Jul 2007 02:23:51 +0100
Jamie Jones [EMAIL PROTECTED] wrote:

  Then you obviously don't read lists very much... :) Please visit
  the following threads (read all posts that follow):
 
http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/150737.html

  http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/150773.html 
 
  For some thoughts about alsa:
 

  http://lists.freebsd.org/pipermail/freebsd-multimedia/2007-July/007115.html
 
 I HAD read those before (and now again!) -- none of them mention
 youtube/audio/flashplugin7 !

That's not true :) 

  http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/150745.html

(YouTube is explicitly mentioned.) Please follow this mini how-to
carefully. YouTube works, actually I still can't find any flash=7 site
that doesn't work. YouTube works _of_course_ means that sound works
too.

I've been using YouTube 4 months now. Nothing changed in meantime.

Please report if this works for you. We can surely help you to get
flash7/nativebrowsers working if you experience problems.

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


Re: Mouse deamon problems.

2007-07-11 Thread Nikola Lecic
On Thu, 12 Jul 2007 00:55:24 +
Desmond Chapman [EMAIL PROTECTED] wrote:

 I am installing FreeBSD and it does not recognize the USB ports, the
 PS/2 port

What does this mean FreeBSD does not recognize the USB port...?
Please send here something more, 'dmesg'/'uname -a' output, etc.

 or even the mouse types: Intellimouse, Microsoft Mouse,
 Generic/Auto.

The same as above.

 How do I go about enabling the mouse daemon? And yes, I
 have tried the set up. It doesn't work. I have tried Xorgcfg and
 Xorgconfig. They don't work.

Now, you are speaking about X.org. Please send the relevant part
of /etc/X11/xorg.conf. (If xorgcfg doesn't work, then your Xorg install
is bad -- please describe how you installed Xorg, etc.)

 Note: the mouse protocols will work for Linux distributions.

For something simple like mouse setup, I'd first think that I do
something wrong before I share with others such a useful insight.

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


Re: odd HP 1320 printer behaviour...

2007-07-10 Thread Nikola Lecic
On Tue, 10 Jul 2007 08:52:57 -0400
William Bulley [EMAIL PROTECTED] wrote:

 I have an HP 1320 (only has USB and parallel support) hooked
 to a FreeBSD 6.2-STABLE box using a USB cable.
 
 I have configured /dev/ulpt0 into my /etc/printcap file.
 
 Everything works fine and I am happy with this setup except
 for one odd behaviour.  The last page of a multi-page print
 job will linger - somewhere - while the green light on the
 HP continues to blink -- as if data were being sent to it.
 
 The lpq(1) command reports no entries when run, and then
 about a minute or two later, this last page gets printed.
 
 Is there some configuration that I am missing?  Is this an
 artifact of the USB protocol?  Is this the way the HP 1320
 laser printer operates?  Is this a feature (or bug) of the
 USB printer driver /dev/ulpt0 that is not documented?  I've
 read the man pages and searched using Google to see if this
 is a known problem.  Any suggestions will be gladly accepted.
 I can live with this behaviour, but it seems very odd.

Hello William,

Do you have any ulpt0 configuration in /etc/rc.local? If the printer
port is interrupt-driven, try polled standard mode, i.e. add

  lptcontrol -p -d /dev/[printer-port]

to your /etc/rc.local. The kind of behaviour you described can occur in
the interrupt mode (including cutting pages, printing them in chunks,
etc.).

Also try to switch the printer to the parallel port; if both can serve
the printer, I'd always use the parallel one.

If this doesn't help, please post here the content of your /etc/printcap
and 'dmesg | grep ulpt0'.

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


Re: odd HP 1320 printer behaviour...

2007-07-10 Thread Nikola Lecic
On Tue, 10 Jul 2007 09:41:34 -0400
William Bulley [EMAIL PROTECTED] wrote:

 According to Nikola Lecic [EMAIL PROTECTED]:
  
  Do you have any ulpt0 configuration in /etc/rc.local? If the printer
  port is interrupt-driven, try polled standard mode, i.e. add
  
lptcontrol -p -d /dev/[printer-port]
  
  to your /etc/rc.local. The kind of behaviour you described can
  occur in the interrupt mode (including cutting pages, printing them
  in chunks, etc.).
  
  Also try to switch the printer to the parallel port; if both can
  serve the printer, I'd always use the parallel one.
  
  If this doesn't help, please post here the content of
  your /etc/printcap and 'dmesg | grep ulpt0'.
 
 I have no /etc/rc.local file on this machine.
 
 Correct me if I am wrong, but doesn't lptcontrol(8) deal
 with the parallel port printer?  I have USB connected.
 Parallel port connection is unfeasible in my situation.

Yes, of course, sorry; I badly mixed paragraphs of my reply, my answer
was intented to be a recommendation to switch to parallel port and then
to try polled mode.

  content of your /etc/printcap:
 
 lp|default|hp|HP|ps|PS|Hewlett Packard LaserJet 1320 PostScript
 Printer:\ :sh:\
 :lp=/dev/ulpt0:\
 :sd=/var/spool/lpd/hp:\
 :lf=/var/log/lpd-errs:\
 :mx#0:

(Unrelated, do you have any special reason you don't have 'if'
configured?)

  'dmesg | grep ulpt0':
 
 ulpt0: Hewlett-Packard hp LaserJet 1320 series, rev 1.10/1.00, addr
 5, iclass 7/1 ulpt0: using bi-directional mode
 ulpt0: at uhub0 port 2 (addr 5) disconnected
 ulpt0: detached
 ulpt0: Hewlett-Packard hp LaserJet 1320 series, rev 1.10/1.00, addr
 5, iclass 7/1 ulpt0: using bi-directional mode
 ulpt0: at uhub0 port 2 (addr 5) disconnected
 ulpt0: detached
 ulpt0: Hewlett-Packard hp LaserJet 1320 series, rev 1.10/1.00, addr
 5, iclass 7/1 ulpt0: using bi-directional mode
 ulpt0: offline
 ulpt0: at uhub0 port 2 (addr 5) disconnected
 ulpt0: detached
 ulpt0: Hewlett-Packard hp LaserJet 1320 series, rev 1.10/1.00, addr
 5, iclass 7/1 ulpt0: using bi-directional mode

Well, try parallel port if you can; that is the simple way I resolved
many painful printing problems in the past. I'd also try using
print/apsfilter to configure printcap. Then you should surely know if
it's a usb port issue.

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


Re: unknown: PNP0f13 can't assign resources (irq)

2007-07-05 Thread Nikola Lecic
On Thu, 05 Jul 2007 20:21:42 +0800
Zhang Weiwu [EMAIL PROTECTED] wrote:

 Dear list
 
 I have seen strange message in my dmesg which says it cannot assign
 resources to PNP device:
 
 [snip]
 sc0: VGA 16 virtual consoles, flags=0x300
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on
 isa0
 unknown: PNP0303 can't assign resources (port)
 unknown: PNP0f13 can't assign resources (irq)
 unknown: PNP0700 can't assign resources (port)
 unknown: PNP0c02 can't assign resources (memory)
 unknown: PNP0400 can't assign resources (port)
 pcm0: CS423x at port 0x530-0x537,0x388-0x38b,0x220-0x233 irq 5 drq
 1,0 on isa0 [/snip]
 
 I have googled around and discussion around the the topic of PNPxxx
 cannot assign resouce mostly happen in 2002 ~ 2005, they have
 suggested not to use PNPBIOS option in kernel, which I didn't use at
 all and cannot see references to this kernel option (so should be a
 removed option). Others on the forums suggested (in 2003) that I
 should disable PNP feature in BIOS, which is impossible for me
 because my old IBM Thinkpad don't offer such config option (the only
 config option had been change system date/time and
 start-up-sequence). Even if it doesn't affect the use of the system
 I'd like to know a bit about the background knowledge. At least two
 devices on my FreeBSD doesn't work, the COM port and the second
 PCMCIA slot (anything on that slot doesn't work), though I don't
 think the two devices are related to this kernel message.

Hello Zhang,

Those messages are completely harmless (as you have surely already
read, resources can't be assigned because certain driver(s) are already
using them). There is no elegant way to disable them AFAIK.

The fact that your devices are not working properly is not related to
them but to something else in your installation.

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


Re: unknown: PNP0f13 can't assign resources (irq)

2007-07-05 Thread Nikola Lecic
On Thu, 05 Jul 2007 20:21:42 +0800
Zhang Weiwu [EMAIL PROTECTED] wrote:

 Even if it doesn't affect the use of the system I'd like to know a
 bit about the background knowledge. [...]

Actually this is FAQ:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#PNP-RESOURCES

 I have googled around [...]

Search at the home first :)

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


Re: Migration from 5.5 to 6.2 without single user access

2007-07-04 Thread Nikola Lecic
On Wed, 4 Jul 2007 22:44:34 +0300
Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED] wrote:

 On 7/4/07, Jonathan Horne [EMAIL PROTECTED] wrote:
  On Tuesday 03 July 2007 21:10:22 Olivier Nicole wrote:
   Hi,
  
   I am upgrading a remote server (very remote, 10,000 km) and I
   have no way to access the machine in single user mode.
  
   Is there a recommended way to do the upgrade from 5.5 to 6.2?
  
   Do everything in multi-user, but kill all services but sshd?
  
   Thanks,
  
   Olivier
 
  your mileage may vary...
 
  but i do it without killing any services (but i also know that i am
  the only one logged into the machine).  when you install world,
  *for the most part*, you are not tampering with things like apache,
  etc.
 
  as always, good backups of your data and configurations are a must
  before performing any such dangerous process as a multiuser-mode
  installworld.
 
  when going from 5.x to 6.x, most people recommend first upgrading
  to the lastest possible 5.x release first, and then moving on to
  6.x (so in your case, either 5.5-STABLE or 5.5-RELEASE-p13.
 
  good luck,
  --
  Jonathan Horne
  http://dfwlpiki.dfwlp.org
  [EMAIL PROTECTED]
 
 Here how I did it for many remote servers I own and help friends to
 run.
 
 First install screen from the ports to make your life easier.
 
 After csup to the branch you desire to upgrade to, like RELENG_6_2 or
 RELENG_6 to get the latest changes in 6.x branch do these stuff.
 
 #rm -r /usr/obj/*
 #cd /usr/src
 #make cleanworld
 #mergemaster -p
 #make buildworld
 #make buildkernel
 #make installkernel
 #reboot
 #cd /usr/src
 #make installworld
 #mergemaster -iU (-iU added to automatically install files that don't
 exist and upgrade those that haven't changed.
 #reboot

This is rather a sub-question than an answer: can Colin Percival's
depenguinator (http://www.daemonology.net/depenguinator/) be used for
such porpose? I mean, can someone run (or tweak) this program to run
on an old remote FreeBSD installation in order to easily get a new fresh
FreeBSD system?

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


Re: Selecting printer from apps core dumps. Howto debug?

2007-07-02 Thread Nikola Lecic
(I proposed you a couple of things but generally it's a good idea to
ask this on freebsd-gnome@ as well, since at least the Abiword problem
is _maybe_ related to libgnomeprintui - Xfce.)

On Sat, 30 Jun 2007 22:06:58 +0100
Graham Bentley [EMAIL PROTECTED] wrote:

  have you compiled print/xfce4-print with Use cups as
  printing system? This matters, among other things. You 
  can check it with 'make showconfig' and change with 
  'make config'.
 
 3bsd# make showconfig
 === The following configuration options are available for
 xfce4-print-4.4.1_1: LPR=off Use lpr as printing system
  CUPS=on Use cups as printing system
  LETTER=off Use letter paper format instead of A4
 === Use 'make config' to modify these settings
 3bsd#

Ok...

 Its odd because the cups test page works, printing from
 mousepad and firefox works, but abiword bombs completely.
 In the short space of time I see it on the screen after 
 clicking print I can see there is no entry for the printer.

AFAIK Abiword has known (and very old) problem with Xfce, mainly
reflected in printing. As far as I understand it (I use neither Abiword
nor CUPS) the cause could be the Abiword's (false) expectations of pure
GNOME environment (including printing), which is only partially true in
Xfce. You can try this, but I have no idea what can happen:

  # portupgrade -f -m 'WANT_GNOME=no' abiword

Besides that, Claws Mail has by default similar expectations regarding
printing (libgnomeprintui). Do you have printing problems in Claws
Mail? Can you post here 'make showconfig of mail/claws-mail?

  I had similar problems until I removed lpr from the base.
  To do this, I added this to /etc/make.conf:
  WITHOUT_LPR=true
  CUPS_OVERWRITE_BASE=yes
  NO_LPR=yes
  and then rebuilt and reinstalled world and cups.

 I have tried adding lpd_enable=NO top rc.conf then realised
 cups replaces lpd anyway so that was no help.
 
 Somewhere along the line I have added
 
 [system=10]
 add path 'unlpt*' mode 0660 group cups
 add path 'ulpt*' mode 0660 group cups
 add path 'lpt*' mode 0660 group cups
 
 to /etc/devfs.rules and
 
 devfs_system_ruleset=system
 
 to rc.conf
 
 I wanted to avoid having to buildword just now ...
 
 and just read this thead ;
 
  CUPS installs its own version of lpr, lpq and lpd
  under /usr/local/bin.
  Therefore, be sure to delete lpr , lpq and lpd under 
  /usr/bin and then symlink from /usr/local/bin to /usr/bin.
 
 although lpd looks to be under /usr/sbin on my system?

You certainly shouldn't do this kind of random handiwork in your system.

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


Re: Selecting printer from apps core dumps. Howto debug?

2007-07-02 Thread Nikola Lecic
(I proposed you a couple of things but generally it's a good idea to
ask this on freebsd-gnome@ as well, since at least the Abiword problem
is _maybe_ related to libgnomeprintui - Xfce.)

On Sat, 30 Jun 2007 22:06:58 +0100
Graham Bentley [EMAIL PROTECTED] wrote:

  have you compiled print/xfce4-print with Use cups as
  printing system? This matters, among other things. You 
  can check it with 'make showconfig' and change with 
  'make config'.
 
 3bsd# make showconfig
 === The following configuration options are available for
 xfce4-print-4.4.1_1: LPR=off Use lpr as printing system
  CUPS=on Use cups as printing system
  LETTER=off Use letter paper format instead of A4
 === Use 'make config' to modify these settings
 3bsd#

Ok...

 Its odd because the cups test page works, printing from
 mousepad and firefox works, but abiword bombs completely.
 In the short space of time I see it on the screen after 
 clicking print I can see there is no entry for the printer.

AFAIK Abiword has known (and very old) problem with Xfce, mainly
reflected in printing. As far as I understand it (I use neither Abiword
nor CUPS) the cause could be the Abiword's (false) expectations of pure
GNOME environment (including printing), which is only partially true in
Xfce. You can try this, but I have no idea what can happen:

  # portupgrade -f -m 'WANT_GNOME=no' abiword

Besides that, Claws Mail has by default similar expectations regarding
printing (libgnomeprintui). Do you have printing problems in Claws
Mail? Can you post here 'make showconfig of mail/claws-mail?

  I had similar problems until I removed lpr from the base.
  To do this, I added this to /etc/make.conf:
  WITHOUT_LPR=true
  CUPS_OVERWRITE_BASE=yes
  NO_LPR=yes
  and then rebuilt and reinstalled world and cups.

 I have tried adding lpd_enable=NO top rc.conf then realised
 cups replaces lpd anyway so that was no help.
 
 Somewhere along the line I have added
 
 [system=10]
 add path 'unlpt*' mode 0660 group cups
 add path 'ulpt*' mode 0660 group cups
 add path 'lpt*' mode 0660 group cups
 
 to /etc/devfs.rules and
 
 devfs_system_ruleset=system
 
 to rc.conf
 
 I wanted to avoid having to buildword just now ...
 
 and just read this thead ;
 
  CUPS installs its own version of lpr, lpq and lpd
  under /usr/local/bin.
  Therefore, be sure to delete lpr , lpq and lpd under 
  /usr/bin and then symlink from /usr/local/bin to /usr/bin.
 
 although lpd looks to be under /usr/sbin on my system?

You certainly shouldn't do this kind of random handiwork in your system.

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


Re: flash

2007-07-02 Thread Nikola Lecic
On Mon, 2 Jul 2007 20:07:35 -0300
Anton Galitch [EMAIL PROTECTED] wrote:

 and no, with flash7 It doesnt even load the application, just the grey
 square, thats the log from the console:
 [...]

People,

I think that you can find answers to a lot of problems mentioned here
if you read the threads starting from

  http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/150737.html

and from

  http://lists.freebsd.org/pipermail/freebsd-questions/2007-June/150773.html 

Those posts cover flash7 with native browsers, possible problem after
updating Xorg and some explanations related to {ns,linux}pluginwrapper.

In my experience things remained the same in meantime.

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


Re: Selecting printer from apps core dumps. Howto debug?

2007-06-28 Thread Nikola Lecic
On Thu, 28 Jun 2007 11:08:26 +0100
Graham Bentley [EMAIL PROTECTED] wrote:

 Hi FreeBSD'ers !
 
 I have now a nice desktop setup with Xfce4 etc
 thanks to all help from the list (what a great 
 place to be:)
 
 I have cups setup with a ppd to print to my usb 
 HP Busines Inkjet 1200.
 
 It works perfectly from doing the printer test
 page from the cups webmin:631 page.
 
 In applications, if I select this printer, the 
 app core dumps.
 
 Apps effected are Abiword, the printer admin
 xfprint4 in xfce4 and a few others.
 
 Who would I go about trying to diagnose this?

Hello David, have you compiled print/xfce4-print with Use cups as
printing system? This matters, among other things. You can check it
with 'make showconfig' and change with 'make config'.

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


Re: Selecting printer from apps core dumps. Howto debug?

2007-06-28 Thread Nikola Lecic
On Thu, 28 Jun 2007 14:07:21 +0200
Nikola Lecic [EMAIL PROTECTED] wrote:

 On Thu, 28 Jun 2007 11:08:26 +0100
 Graham Bentley [EMAIL PROTECTED] wrote:
 
  Hi FreeBSD'ers !
  
  I have now a nice desktop setup with Xfce4 etc
  thanks to all help from the list (what a great 
  place to be:)
  
  I have cups setup with a ppd to print to my usb 
  HP Busines Inkjet 1200.
  
  It works perfectly from doing the printer test
  page from the cups webmin:631 page.
  
  In applications, if I select this printer, the 
  app core dumps.
  
  Apps effected are Abiword, the printer admin
  xfprint4 in xfce4 and a few others.
  
  Who would I go about trying to diagnose this?
 
 Hello David, have you compiled print/xfce4-print with Use cups as
 printing system? This matters, among other things. You can check it
 with 'make showconfig' and change with 'make config'.

Graham, I trully appologise I typed the wrong name :( I somehow used
the beginning of my previous post (sent to David Marec).

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


Re: gvim can't find a valid font

2007-06-27 Thread Nikola Lecic
On Tue, 26 Jun 2007 23:12:39 -0700
Neil Gruending [EMAIL PROTECTED] wrote:

 Hi,
 
 I'm having a problem trying to get gvim 7.0.224 working. Every time I 
 try to start it I get the following error:
 
 E665: Cannot start GUI, no valid font found|16H|8H|4H|31H
 
 and I get the console vim instead. I think I've messed up my xorg
 fonts somehow after upgrading to 7.2. I followed all of the steps in 
 /usr/ports/UPGRADING, but I didn't have the xorg metaport installed
 so I installed it after upgrading. The first time I started it there
 was an error message that said I needed to run a program in the fonts
 directory (I forget which one), but I'm pretty sure I didn't fix the
 module path before running the command. I'm using the terminal in
 Xfce 4.4.1 to try and start gvim.

 Here's part of my xorg.conf (now) in /etc/X11 that seems to be
 related to fonts:
 
 #
 **
 # Module section -- this  section  is used to specify # which
 dynamically loadable modules to load. #
 **
 # Section Module
 
 # This loads the DBE extension module.
 
  Loaddbe# Double buffer extension
 
 # This loads the miscellaneous extensions module, and disables
 # initialisation of the XFree86-DGA extension within that module.
  SubSection  extmod
Optionomit xfree86-dga   # don't initialise the DGA
 extension EndSubSection
 
 # This loads the font modules
  Loadtype1
  Loadfreetype
 #Loadxtt
 
 # This loads the GLX module
 #Load   glx
 # This loads the DRI module
 #Load   dri
 
 EndSection
 
 
 #
 **
 # Files section.  This allows default font and rgb paths to be set #
 **
 
 Section Files
 
 # The location of the RGB database.  Note, this is the name of the
 # file minus the extension (like .txt or .db).  There is normally
 # no need to change the default.
 
 #RgbPath  /usr/local/share/X11/rgb
 
 # Multiple FontPath entries are allowed (which are concatenated
 together), # as well as specifying multiple comma-separated entries
 in one FontPath # command (or a combination of both methods)
 #
 #
 
  FontPath   /usr/local/lib/X11/fonts/misc/
  FontPath   /usr/local/lib/X11/fonts/TTF/
  FontPath   /usr/local/lib/X11/fonts/OTF
 #FontPath   /usr/local/lib/X11/fonts/Type1/
  FontPath   /usr/local/lib/X11/fonts/100dpi/
  FontPath   /usr/local/lib/X11/fonts/75dpi/
  FontPath   /usr/local/lib/X11/fonts/local/
 #FontPath   /usr/local/lib/X11/fonts/Speedo/
 #FontPath   /usr/local/lib/X11/fonts/TrueType/
 #FontPath   /usr/local/lib/X11/fonts/freefont/
 
 # The module search path.  The default path is shown here.
 
  ModulePath /usr/local/lib/xorg/modules
 
 EndSection

Hello Neil,

This is strange because gVim uses built-in X fonts (i.e. 7x13) if can't
find anything else; and your X is running normally, which couldn't be
without any font available. So:

(1) 'xlsfonts' gives what?

(2) Could you please send here a relevant part of ~/.gvimrc? (Also
try to start gVim without it.)

(3) How did you compile gVim, with WITH_GTK2, or?

It's certainly not related to your gVim problem, but as of your
xorg.conf, do you have any special reason for commenting out RgbPath
and Type1 FontPath?

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


Re: gvim can't find a valid font

2007-06-27 Thread Nikola Lecic
On Wed, 27 Jun 2007 11:20:24 -0700
Neil Gruending [EMAIL PROTECTED] wrote:

 Nikola Lecic wrote:
  On Tue, 26 Jun 2007 23:12:39 -0700
  Neil Gruending [EMAIL PROTECTED] wrote:
  
  Hi,
 
  I'm having a problem trying to get gvim 7.0.224 working. Every
  time I try to start it I get the following error:
 
  E665: Cannot start GUI, no valid font found|16H|8H|4H|31H
 
  and I get the console vim instead. I think I've messed up my xorg
  fonts somehow after upgrading to 7.2. I followed all of the steps
  in /usr/ports/UPGRADING, but I didn't have the xorg metaport
  installed so I installed it after upgrading. The first time I
  started it there was an error message that said I needed to run a
  program in the fonts directory (I forget which one), but I'm
  pretty sure I didn't fix the module path before running the
  command. I'm using the terminal in Xfce 4.4.1 to try and start
  gvim.
 
  Here's part of my xorg.conf (now) in /etc/X11 that seems to be
  related to fonts:
  [...]
  
  Hello Neil,
  
  This is strange because gVim uses built-in X fonts (i.e. 7x13) if
  can't find anything else; and your X is running normally, which
  couldn't be without any font available. So:
  
  (1) 'xlsfonts' gives what?
  
  (2) Could you please send here a relevant part of ~/.gvimrc? (Also
  try to start gVim without it.)
  
  (3) How did you compile gVim, with WITH_GTK2, or?
  
  It's certainly not related to your gVim problem, but as of your
  xorg.conf, do you have any special reason for commenting out RgbPath
  and Type1 FontPath?
  
  Nikola Lečić
 
 Hi Nikola,
 
 xlsfonts gives:
 [...]

Looks good, gVim's last choice (7x13) is there.

 and here's my vimrc (running without a vimrc doesn't change the
 error):
 [...]

Not ~/.vimrc, but ~/.gvimrc. However, I'd say this is window$ version,
('behave mswin' etc.). You should carefully rewrite this file.

 I compiled gvim from ports with the default options I think. I'm not 
 sure how to get the options used for compiling after installing a
 port.

You might want to recompile the port with gtk2 support, for example:

  # portupgrade -f -m 'WITH_GTK2=yes' vim

(BTW, your vim is 7.0.224, whilst the last version is 7.0.241 -- not a
bad idea to upgrade your ports first and then to upgrade vim.)

There is gvimrc example, /usr/local/share/vim/vim70/gvimrc_example.vim.
You can copy that file to ~/.gvimrc and edit it. Additionally, I
attached the stripped version of my gVim config (gvimrc-nikola). You
will see there several if clausules for default font setting since the
syntax depends on how you compiled vim. In your case (with default
options), gVim should read x11 section.

 As for the RGBpath and Type1 font path, that's how xorg made the
 file. Since I don't know much about configuring X, I figured it was
 smarter than me and it knew what it was doing.

Ok. So,

(1) try to use gvimrc I sent (of course, check if you actually have
fonts that are listed there), or try the official example;

(2) try to upgrade vim, consider enabling gtk2 support (gVim will
behave as a full gtk2 app then)

(3) try to remove all old config files you have, including system-wide
ones. ':version' should show you where they are.

Nikola Lečić


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

Re: gvim can't find a valid font

2007-06-27 Thread Nikola Lecic
On Wed, 27 Jun 2007 12:39:37 -0700
Neil Gruending [EMAIL PROTECTED] wrote:

 I did the portupgrade to 7.1.12 and now it works with my vimrc too! 
 Thanks for the help.

Nice :) But you still might want to create a separate .gvimrc since
there are options you don't want in plain terminal vim. Also, your
font directive is still in m$ format (set guifont=Courier_New:h8:cANSI).

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


Re: Mouse precision acceleration in X+Xfce4

2007-06-24 Thread Nikola Lecic
On Sun, 24 Jun 2007 11:22:01 +0100
Graham Bentley [EMAIL PROTECTED] wrote:

 Hi All,
 
 Is there anyone who has played with mouse pointer (cursor?)
 settings in X / Xfce4?
 
 I am using a TFT at 1280 x 1024 and just cant seem to get
 speed / acceleration / accuracy that I am happy with.
 
 If I speed things up in Xfce4 I can cover greater screen
 area with less hand movement but the accuracy when stopping
 at targets is bad (small buttons like on xmms for example)
 
 I would be interested to hear from anyone who has 
 this (c)licked !!!
 
 Regards
 
 Graham
 
 ps My xorg mouse section is ;
 
 Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option Protocol auto
  Option Device /dev/sysmouse
  Option ZaxisMapping 4 5
  Option Resolution 1200
 EndSection

Hello Graham,

You need to set the mouse acceleration and threshold to get an optimal
behaviour. You should check 'man xset', search for 'm' (mouse). For
example, 'xset m 5 9' yields a medium behaviour. If you experience
problems with high Resolution, you can try something like 

  % xset m 3/5 1

i.e. to choose fractional value for acceleration and 1 for threshold.

However, I simply use Xfce's Mouse Preferences for the same purpose
(to speed up my mouse) and it just works.

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


Re: 6.2-stable/gnome

2007-06-20 Thread Nikola Lecic
On Wed, 20 Jun 2007 21:02:58 -0500 (CDT)
Eduardo Viruena Silva [EMAIL PROTECTED] wrote:

 (of course, I have the FreeBSD 6.2-RELEASE discs but they are
 outdated, the dependences are completely different from the ones used
 in 6.2-STABLE)

I'd say you misunderstood the relationship here: please note that
FreeBSD releases as such have not very much to do with the up-to-date
state of third party software and dependencies in the ports tree. You
can have up-to-date ports tree and installed applications on the latest
release of both CURRENT and STABLE branches (that includes the CD you
have -- you would just pick up the latest ports tree instead of one
shipped on CD).

You can read:

  http://www.freebsd.org/cgi/man.cgi?query=portssektion=7
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/dev-model/release-branches.html

(among other pages) for more details.

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


Re: linux-opera java

2007-06-18 Thread Nikola Lecic
Reply to the list, please.

On Mon, 18 Jun 2007 09:45:36 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:

 it works
 
 i missed /compat/linux/proc mounted in fstab :)

It should just run as is; please run linux-opera from the command line
and post here error messages (if you can, add also what web page you
are trying to see.)

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


Re: KDE 3.5 Crashing

2007-06-18 Thread Nikola Lecic
On Sat, 16 Jun 2007 20:45:57 +1000
Gemma Fletcher [EMAIL PROTECTED] wrote:

 On Friday 15 June 2007 21:41, Matthias Apitz wrote:
  El día Friday, June 15, 2007 a las 09:33:27PM +1000, Gemma Fletcher 
 escribió:
 
  Can you check if only X or KDE is frozen, or the system at all?
  Try to connect from some other host on the network.
  Try to do some RAM testing as well.
 
  matthias
 
 Ok my RAM is fine and dandy.  I'm not sure how to check to see if
 only KDE is frozen.  Once is freezes I can't do anything.  Not even
 reset with ctrl-alt-del.  And my keyboard usually goes dead
 indicated by my numlock light turning off
 
 Its just me - so I have no other host to connect from.  I did notice
 something though that i forgot to mention- it usually only crashes if
 I am doing some internet related activity. Ie.Browsing, checking
 email, IM'ing etc  If I just do normal stuff like spreadsheeting, or
 developing or whatever it seems to run fine.

Hello Gemma,

Although it really looks like hardware, you can also do this to be 100%
sure it isn't software related:

(1) Had you used that computer before you have installed FreeBSD? It
would be a nice idea to post here the output of your 'dmesg'
or /var/log/messages.

(2) Have you tried to run a small script as Matthias proposed?

(3) Are you sure your ports are up-to-date? If in doubt, install
ports-mgmt/portupgrade and run

  # portversion -v -L =

(4) If yes, as of how to check X without KDE, do the following:

  (a) run 'xinit' without ~/.xinitrc file to avoid starting KDE and
  or any other window manager; (once you start it, you can go back
  by 'exit' or Ctrl+Alt+Backspace; please note that you must put the
  mouse over the window in order to move focus on it);

  (b) check if there are warning -- (WW) -- or other suspicious messages
  in /var/log/Xorg.0.log;

  (c) while in pure xinit session, run Firefox or other application that
  is not KDE/Qt related;

  (d) run Opera, Skype or similar app that is Qt- but not KDE-related;

  (e) run KDE applications (Konqueror, KMail, etc.)

and report one by one what happened, from (1) to (4e). Maybe it helps
to isolate the problem, besides hardware tests :)

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


Re: Adding a XP disk to FreeBSD machine

2007-06-17 Thread Nikola Lecic
On Sun, 17 Jun 2007 09:23:00 -0700
Garrett Cooper [EMAIL PROTECTED] wrote:

 Rico Secada wrote:
  [...]
  I have another HD which used to be in the same box running XP. I set
  this drive to slave and installed it into the box in order to
  dualboot. 
  [...]

 1. All windows disks must be primary if you're going to boot off of
 them -- sorry, it's a stupid requirement that M$ setup a long time

What do you mean? I think he asked about slave (primary I suppose). I
ask this because ...

 3. You'll have to setup the boot manager on the windows disk.

... windows can normally boot from slave position without bootloader,
(in some cases with help of 'boot.ini' and ntldr/ntdetect.com, but
AFAIK only if booting is impossible even when ad1 (D) is selected in
BIOS as the first boot choice).

Ok, it's maybe simpler to add FreeBSD's boot sector, but that's not
necassary.

So, Rico should first check if windows can boot directly from D. If
not, that's another problem.

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


Re: Adding a XP disk to FreeBSD machine

2007-06-17 Thread Nikola Lecic
On Sun, 17 Jun 2007 16:11:28 -0400
Jerry McAllister [EMAIL PROTECTED] wrote:

 On Sun, Jun 17, 2007 at 10:01:16PM +0200, Nikola Lecic wrote:
 
  On Sun, 17 Jun 2007 09:23:00 -0700
  Garrett Cooper [EMAIL PROTECTED] wrote:
  
   Rico Secada wrote:
[...]
I have another HD which used to be in the same box running XP.
I set this drive to slave and installed it into the box in
order to dualboot. 
[...]
  
   1. All windows disks must be primary if you're going to boot off
   of them -- sorry, it's a stupid requirement that M$ setup a long
   time
  
  What do you mean? I think he asked about slave (primary I suppose).
  I ask this because ...
  
   3. You'll have to setup the boot manager on the windows disk.
  
  ... windows can normally boot from slave position without
  bootloader, (in some cases with help of 'boot.ini' and
  ntldr/ntdetect.com, but AFAIK only if booting is impossible even
  when ad1 (D) is selected in BIOS as the first boot choice).
 
 HE is trying to dual boot the machine.   He needs something on that
 second disk that the MBR on the first disk can transfer control to.
 That something is the MBR on the second disk.  That's the way it
 works.

Yes :)

I said that it's _possible_ to keep the second disk stay untouched (as
it remained after xp installation). I replied because (1)+(3) of
Garrett's e-mail implied (maybe, that's why I asked him a question)
that xp cannot start from the second disk without _separate_ bootloader
installed _there_ from the outside, which is not true.

My statement doesn't say anything about contents of the first disk and
doesn't negate any of the options you proposed.

I did add two things:

  (a) a proposition to check ad1 separately -- doesn't hurt;

  (b) a possible help if xp cannot orientate itself.

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


Re: Adding a XP disk to FreeBSD machine

2007-06-17 Thread Nikola Lecic
On Sun, 17 Jun 2007 14:22:05 -0700
Garrett Cooper [EMAIL PROTECTED] wrote:

  Garrett Cooper [EMAIL PROTECTED] wrote:
  1. All windows disks must be primary if you're going to boot off
  of them -- sorry, it's a stupid requirement that M$ setup a long
  time
  
  Nikola Lecic wrote:
  What do you mean? I think he asked about slave (primary I
  suppose). I ask this because ...
 
 Garrett Cooper wrote:
 Now that I think about it I don't think that there's anything wrong
 as long as the boot order doesn't change. This is simple to modify
 with SATA/SCSI, but PATA is statically set based on the jumper pins.
 
 Once you change the boot order, things change in the OS in terms of
 how the registry mapped entries, programs found their way around,
 etc, and it breaks everything.

Ok, clear, that's why I asked.

 Nikola Lecic wrote: 
  ... windows can normally boot from slave position without
  bootloader, (in some cases with help of 'boot.ini' and
  ntldr/ntdetect.com, but AFAIK only if booting is impossible even
  when ad1 (D) is selected in BIOS as the first boot choice).
 
 Garrett Cooper wrote:   
 Yes. Drive lettering gets tricky though, based on what partitions
 were active when stuff was installed, etc, because Nikola's first
 ^^^
 Rico's

(you're answering my question, disk is Rico's :))

 NTFS/FAT formatted partition could have been C:, not D:, etc. *sighs
 and shakes head at bad partitioner in 2k/xp/2k3 installer*.

  Nikola Lecic wrote:
  I said that it's _possible_ to keep the second disk stay untouched
  (as it remained after xp installation). I replied because (1)+(3) of
  Garrett's e-mail implied (maybe, that's why I asked him a question)
  that xp cannot start from the second disk without _separate_
  bootloader installed _there_ from the outside, which is not true.
 
  My statement doesn't say anything about contents of the first disk
  and doesn't negate any of the options you proposed.
 
  I did add two things:
 
(a) a proposition to check ad1 separately -- doesn't hurt;
 
(b) a possible help if xp cannot orientate itself.
 
  Nikola Lečić


 Garrett Cooper wrote:
 The reasoning used in this document is the basis for my previous 
 statement:
 
 http://support.microsoft.com/kb/112019
 
 So as long as the boot ordering or disk ordering of the primary 
 (Windows) disk doesn't change, things should be groovy.

I assumed that Rico just added primary slave as such, without changing.
Once upon a time I experienced that xp even then refused to boot (in
similar situation) without ntdetect.com.

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


Re: mail reader/agent for xfce4

2007-06-15 Thread Nikola Lecic
On Fri, 15 Jun 2007 12:15:49 +0300
chatlove [EMAIL PROTECTED] wrote:

 Hi everybody,
 
 Could anyone share their experiences on which mail reader or agent
 they use with xfce4? Something simple, lightweight, with GUI, is
 highly desirable. I tried xmail, but it looks a bit complicated for
 my 8 years old son. Just for the record: FreeBSD i386 STABLE.
 
 Thank you in advance!

Hello Andriy,

The Xfce Project offers a list of recommended applications in all
categories:

  http://wiki.xfce.org/recommendedapps

My personal recommendation for mail app: Claws Mail, very small, rich in
plugins and options, and fast, fast, fast.

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


Re: linux-opera java

2007-06-15 Thread Nikola Lecic
On Fri, 15 Jun 2007 21:46:58 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:

 what should i install (preferably ports) to make java working in 
 linux-opera? linux-flashplugin7, acroread  realplayer works in opera.

Hello Wojciech,

Please don't hijack threads.

Install java/linux-blackdown-jdk14, then Tools-Preferences-Advanced.

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


Re: open source X11 capture/playback tool

2007-06-13 Thread Nikola Lecic
On Wed, 13 Jun 2007 15:06:35 +0200
Matthias Apitz [EMAIL PROTECTED] wrote:

 El día Wednesday, June 13, 2007 a las 08:00:39AM -0500, Reid
 Linnemann escribió:
 
  Written by Matthias Apitz on 06/13/07 05:52
  Hello,
  
  Is there some Open Source X11 capture/playback tool for testing
  X11 applications by collecting the XEvents in a file, changing them
  and re-playing the XEvents? Thx in advance
  
 matthias
  
  A quick look at the ports tree reveals this candidate:
  
  Port:   xnee-2.05
  Path:   /usr/ports/x11/xnee
  Info:   X events recorder and player
  
 
 I've looked around before posting, even with
 
 # make search name=

Use 'make search key=' -- it covers all (name/path/info) fields.

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


Re: OpenOffice 2.2 dies under XFCE 4.4

2007-06-13 Thread Nikola Lecic
On Thu, 14 Jun 2007 03:16:03 +1000
Norberto Meijome [EMAIL PROTECTED] wrote:

 Hi all,
 all of the sudden, i'm having problems with openoffice. I'm using
 2.2, installed from packages downloaded from the official packager.
 The time to crash crash changes depending on what is done:
 
   - Writer seems to work the longest (by a few seconds)
   - Calc dies right away
   - the common interface stays on until I open a menu (or close it,
 if opening didnt crash)... v strange.
 
 What may be :
 Interestingly enough, if I run an XNest session from within my XFCE
 and log in as another user, also under xfce 4.4, it has no problems
 at all. Same user, xfce4.4, default X server, OO dies. My account
 using twm, works fine. (twm under xnest works fine too). I haven't
 got another gnome-based WM at hand to test with.
 
 What is not (i think) :
 I've built the whole thing locally (sigh) , but the same thing
 happens. I've tested the locally built package on another machine
 (also using xfce4.4) and the same thing happens. Both machines have
 ATI cards and are up to date in all their packages. Both are running
 somewhat modified kernels based on 6.2-STABLE (with no problems at
 all kernel-level). I thought it was related to new java libraries
 (refuted), glibmm update (refuted). I can't think what else has
 changed between last night and this morning in my computer(s).
 Everything else in the system(s) is working fine.
 
 
 So I guess I'm onto something...i just don't know what yet :-D
 
 I've done a full 
 ktrace -i openoffice.org-2.2.0 
 and dumped the text version of it at 
 
 http://www.meijome.net/files/freebsd/oo_20070614 
 
 (2 MB compressed, 8 MB uncompressed). OO is exiting with 0x4E , but i
 cant figure out what it means or what's causing it.

I use the same combination (Xfce4 + OO) daily on RELEASE, _never_
experienced a crash with openoffice 2.2 (sporadically with 2.1).
Notably, I don't use libmap.conf; deinstall linuxpluginwrapper and try.
I attached my pkg_info, please take a look.

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

Re: OpenOffice 2.2 dies under XFCE 4.4

2007-06-13 Thread Nikola Lecic
On Wed, 13 Jun 2007 20:05:17 +0200
Nikola Lecic [EMAIL PROTECTED] wrote:

 On Thu, 14 Jun 2007 03:16:03 +1000
 Norberto Meijome [EMAIL PROTECTED] wrote:
 
  Hi all,
  all of the sudden, i'm having problems with openoffice. I'm using
  2.2, installed from packages downloaded from the official packager.
  The time to crash crash changes depending on what is done:
  
- Writer seems to work the longest (by a few seconds)
- Calc dies right away
- the common interface stays on until I open a menu (or close it,
  if opening didnt crash)... v strange.
  
  What may be :
  Interestingly enough, if I run an XNest session from within my XFCE
  and log in as another user, also under xfce 4.4, it has no problems
  at all. Same user, xfce4.4, default X server, OO dies. My account
  using twm, works fine. (twm under xnest works fine too). I haven't
  got another gnome-based WM at hand to test with.
  
  What is not (i think) :
  I've built the whole thing locally (sigh) , but the same thing
  happens. I've tested the locally built package on another machine
  (also using xfce4.4) and the same thing happens. Both machines have
  ATI cards and are up to date in all their packages. Both are running
  somewhat modified kernels based on 6.2-STABLE (with no problems at
  all kernel-level). I thought it was related to new java libraries
  (refuted), glibmm update (refuted). I can't think what else has
  changed between last night and this morning in my computer(s).
  Everything else in the system(s) is working fine.
  
  
  So I guess I'm onto something...i just don't know what yet :-D
  
  I've done a full 
  ktrace -i openoffice.org-2.2.0 
  and dumped the text version of it at 
  
  http://www.meijome.net/files/freebsd/oo_20070614 
  
  (2 MB compressed, 8 MB uncompressed). OO is exiting with 0x4E , but
  i cant figure out what it means or what's causing it.
 
 I use the same combination (Xfce4 + OO) daily on RELEASE, _never_
 experienced a crash with openoffice 2.2 (sporadically with 2.1).
 Notably, I don't use libmap.conf; deinstall linuxpluginwrapper and
 try. I attached my pkg_info, please take a look.

Hm, it seems that bzipped text file was unwelcome; here's the list
again.

Nikola Lečić
/var/db/pkg/DFileServer-1.1.3
/var/db/pkg/ImageMagick-6.3.3.5_1
/var/db/pkg/Lila-xfwm4-0.3.1_4
/var/db/pkg/ORBit-0.5.17_3
/var/db/pkg/ORBit2-2.14.7_1
/var/db/pkg/Terminal-0.2.6_2
/var/db/pkg/Thunar-0.8.0_5
/var/db/pkg/Xaw3d-1.5E_2
/var/db/pkg/a2ps-a4-4.13b_4
/var/db/pkg/aMule-2.1.3_4
/var/db/pkg/aalib-1.4.r5_3
/var/db/pkg/acroread7-7.0.9_2,1
/var/db/pkg/acroreadwrapper-0.0.20060221_1
/var/db/pkg/adcomplain-3.52
/var/db/pkg/antiword-0.37_1
/var/db/pkg/appres-1.0.1
/var/db/pkg/apr-db42-1.2.7_1
/var/db/pkg/apsfilter-7.2.8_1
/var/db/pkg/arc-5.21o_1
/var/db/pkg/arts-1.5.6_2,1
/var/db/pkg/aspell-0.60.5_2
/var/db/pkg/at-spi-1.18.1_1
/var/db/pkg/atk-1.18.0_1
/var/db/pkg/autoconf-2.13.000227_5
/var/db/pkg/autoconf-2.53_3
/var/db/pkg/autoconf-2.59_2
/var/db/pkg/autoconf-2.61
/var/db/pkg/automake-1.10_2
/var/db/pkg/automake-1.4.6_3
/var/db/pkg/automake-1.5_3,1
/var/db/pkg/automake-1.9.6_1
/var/db/pkg/avahi-0.6.18_1
/var/db/pkg/bash-3.1.17
/var/db/pkg/bdftopcf-1.0.0
/var/db/pkg/beforelight-1.0.2
/var/db/pkg/bigreqsproto-1.0.2
/var/db/pkg/bison-1.75_2,1
/var/db/pkg/bitmap-1.0.3
/var/db/pkg/bitstream-vera-1.10_4
/var/db/pkg/boehm-gc-6.8
/var/db/pkg/bonk-0.6
/var/db/pkg/boost-1.33.1_2
/var/db/pkg/boost-python-1.33.1_2
/var/db/pkg/bsdtris-1.1
/var/db/pkg/bug-buddy-2.18.1_1
/var/db/pkg/ca-roots-1.2
/var/db/pkg/cabextract-1.2
/var/db/pkg/cairo-1.4.6_1
/var/db/pkg/cairomm-1.2.4_1
/var/db/pkg/cdparanoia-3.9.8_8
/var/db/pkg/cdrdao-1.2.1
/var/db/pkg/cdrtools-2.01_6
/var/db/pkg/claws-mail-2.9.2
/var/db/pkg/claws-mail-gtkhtml2_viewer-0.15_3
/var/db/pkg/claws-mail-mailmbox-1.13_5
/var/db/pkg/claws-mail-notification-0.10_3
/var/db/pkg/claws-mail-smime-0.7_5
/var/db/pkg/code2000-1.16_2
/var/db/pkg/compositeproto-0.3.1
/var/db/pkg/conky-1.4.5_1
/var/db/pkg/cppunit-1.10.2
/var/db/pkg/cscope-15.6
/var/db/pkg/ctags-5.6
/var/db/pkg/cups-base-1.2.10_1
/var/db/pkg/curl-7.16.1
/var/db/pkg/cvsup-16.1h_3
/var/db/pkg/damageproto-1.1.0_2
/var/db/pkg/db4-4.0.14_1,1
/var/db/pkg/db41-4.1.25_4
/var/db/pkg/db42-4.2.52_5
/var/db/pkg/dbh-4.5.0
/var/db/pkg/dbus-1.0.2_2
/var/db/pkg/dbus-glib-0.73_1
/var/db/pkg/dctc-0.84.1_1
/var/db/pkg/dctc-gui-0.66_5
/var/db/pkg/desktop-file-utils-0.12_1
/var/db/pkg/diablo-jdk-1.5.0.07.01_5
/var/db/pkg/diablo-jre-1.5.0.07.01_5
/var/db/pkg/dillo-0.8.6_1
/var/db/pkg/dirmngr-0.9.7_2
/var/db/pkg/djbfft-0.76_2
/var/db/pkg/dmidecode-2.8
/var/db/pkg/dmxproto-2.2.2
/var/db/pkg/docbook-1.3
/var/db/pkg/docbook-241_2
/var/db/pkg/docbook-3.0_2
/var/db/pkg/docbook-3.1_2
/var/db/pkg/docbook-4.0_2
/var/db/pkg/docbook-4.1_2
/var/db/pkg/docbook-sk-4.1.2_4
/var/db/pkg/docbook-xml-4.2_1
/var/db/pkg/docbook-xml-4.3
/var/db/pkg/docbook-xml-4.4
/var/db/pkg/docbook-xsl-1.71.1_2
/var/db/pkg/dri-6.5.3_1,2
/var/db/pkg/dvd+rw-tools-7.0
/var/db/pkg/ecore

Re: mplayer and xmms

2007-06-13 Thread Nikola Lecic
On Wed, 13 Jun 2007 17:32:48 -0600
Chad Perrin [EMAIL PROTECTED] wrote:

 I'm just generally curious about why XMMS is a dependency for MPlayer
 in FreeBSD.  I accidentally uninstalled MPlayer by uninstalling XMMS,
 and am right now in the middle of reinstalling it from ports -- and
 it occurs to me that, as far as I'm aware, MPlayer doesn't in and of
 itself actually need XMMS.  Have things changed since the last time I
 ran a box with MPlayer but no XMMS?

Hello Chad,

That dependency is optional in mplayer:

  .if defined(WITH_XMMS)
  CONFIGURE_ARGS+=--enable-xmms
  LIB_DEPENDS+=   xmms.4:${PORTSDIR}/multimedia/xmms
  .else
  CONFIGURE_ARGS+=--disable-xmms
  .endif

It should be sufficient to turn off Enable XMMS plugin support with
'make config'.

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


Re: Problem installing FreeBSD 6.2 on laptop

2007-06-11 Thread Nikola Lecic
On Mon, 11 Jun 2007 06:46:09 -0700 (PDT)
Harriet Severino [EMAIL PROTECTED] wrote:

 Hi,
 
 I am getting an error message, and do not know how to fix the problem.
 I have a new Intel Celeron laptop, and want to run FreeBSD on it. I
 chose the standard installation for user + Xwindows. After teh
 insytallation I configured Xorg, by section 5 of the documantation.
 The test worked, and I made no changes to the config files.
 
 $ uname -a
 FreeBSD severino.home 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12
 11:05:30 UTC 2007 [EMAIL PROTECTED]:
 /usr/obj/usr/src/sys/SMP i385
 
 The error message comes when I boot the machine, as the login prompt
 appears. the Xorg has not started, I have a console login prompt.
 Error Message:
 
 Jun 10 12:09:33 severino init: getty repeating too quickly on port
 /dev/ttyv8, sleeping 30 secs.
 
 This message repeats about once every 30 seconds.
 
 Please tell me how to fix this, or where to get the infomation on how
 to fix this.

Hello Harriet,

Have you made any changes to /etc/ttys, and what does it say about
ttyv8? Have you maybe tried to configure kdm?

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


Re: USB optical mouse issue in x

2007-06-09 Thread Nikola Lecic
On Sat, 9 Jun 2007 04:56:15 -0400
Dave [EMAIL PROTECTED] wrote:

 Hi,
 Here is my configuration. The first two lines are dmesg output on
 my mouse, the rest is from my xorg.conf file:
 
 ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass
 3/1 ums0: 3 buttons and Z dir.
 
 Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  CorePointer
  Option  Protocol  Auto
  Option Device /dev/sysmouse
  Option  ZAxisMapping  4 5
  Option  Emulate3Buttons true
 EndSection

Well, try simply this:

  Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  Option  Protocol  auto
  Option  Device/dev/sysmouse
  Option  ButtonNumber  5
  Option  ZAxisMapping  4 5
  # or just Option ButtonNumber 3, without ZAxiaMapping
  EndSection

and check if

  InputDevice Mouse0CorePointer

is present in Section ServerLayout. Also, have you tried to switch
the mouse from ps/2 - usb and vice versa?

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


Re: HP1320 PCL6

2007-06-08 Thread Nikola Lecic
On Fri, 8 Jun 2007 08:12:55 -0700
Alexander K. Beros [EMAIL PROTECTED] wrote:

 [...]
 I tried a few of the HP drivers, but the one that finally worked was
 the deskjet driver (#160 in section 3) -- just for the record, my
 precise printer model is: hp LaserJet 1320 PCL 6 (60.41.41.0)

The driver numbers depend on your installation, and therefore #160 is
not the unique designator. (I expected you would pick up one of LaserJet
drivers [with pcl6?], but if DeskJet driver does the job...) Anyway,
nice it works.

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


Re: USB optical mouse issue in x

2007-06-08 Thread Nikola Lecic
On Fri, 8 Jun 2007 11:44:34 -0400
Dave [EMAIL PROTECTED] wrote:

 Hello,
 Thanks for your reply. No, no buttons work at all, as i said the
 mouse cursor moves, but can't click, and yes it does work on the
 console under moused. Do i need moused running for x?

Are you sure you have something like

  Section InputDevice
  [...]
  Option  ButtonNumber 5
  Option  ZAxisMapping 4 5

in your /etc/X11/xorg.conf?

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


Re: HP1320 PCL6

2007-06-07 Thread Nikola Lecic
On Thu, 7 Jun 2007 08:08:44 -0700
Alexander K. Beros [EMAIL PROTECTED] wrote:

 Hi Nikola,
 
 This is my /etc/printcap
 
 caligula|hp1|lp|HP LaserJet 1320:\
   :sh:\
   :sd=/var/spool/lpd/caligula:\
   :lp=/dev/lpt0:\
   :if=/usr/local/libexec/ifhp:\
   :df=/usr/local/libexec/hpdf:
 
 ifhp and hpdf are as in the manual.

Please answer to the list.

The manual explains basic things only. You need a more sophisticated
filter for advanced tasks. Do the following:

(1) Install print/apsfilter. Please be careful about default page
format (A4 vs. Letter) since apsfilter will install several other
packages according to this. Apsfilter is not very big itself, but
has a lot of dependencies.

(2) Run /usr/local/share/apsfilter/SETUP. I'm not 100% sure what driver
you should choose on the main menu (hpijs is recommended for your
printer), but please try drivers from sections 3 and 4 of apsfilter
drivers list (concentrate on PCL support).

(3) Try various printing qualities, colour modes, and dpi settings in
order to make the best output of the test page.

Apsfilter will allow you to print all possible formats (incl. DVIs,
PDFs, images, HTML, Gimp's XCF and much more) using lpd directly.

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


Re: HP1320 PCL6

2007-06-06 Thread Nikola Lecic
Hello Alexander,

On Wed, 6 Jun 2007 18:22:23 -0700
Alexander K. Beros [EMAIL PROTECTED] wrote:

 I am using lpd for printing.  I have no problems with text and PS
 files, but when I try to use the hpdf filter, I get the following
 message (modulo the numbers in the filename, of course)
 
 dvilj2p: FATAL--dvilj2p: can't find DVI file dfhp2417.dvi
 
 If you have some hint what I am overlooking I would be most grateful.

What is the contents of your /etc/printcap?

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


Re: minimal xorg installation?

2007-06-05 Thread Nikola Lecic
Hello,

On Tue, 5 Jun 2007 15:13:30 +0100
Anton Shterenlikht [EMAIL PROTECTED] wrote:

 For an old laptop with a small disk is there an alternative to
 a full x11/xorg installation? Previously (version 6.9) I used to get
 a working set by installing the components individually. Can I do this
 with 7.2. In particular, I cannot find anythig like xorg-clients port.
 If not in detail, perhaps in principal what must I have. I alredy
 have the following:
 
 === xorg-cf-files-1.0.2_2
 === xorg-apps-7.2
 === xorg-fonts-truetype-7.2
 === xorg-libraries-7.2_1
 === xorg-server-1.2.0_2,1

You must have xorg-7.2 meta-port installed.

If you worry about the disk space or speed of the new Xorg (on an older
machine), I confirm that Xorg-7.2 is _amazingly_ faster than 6.9;
and this is especially visible on older hardware. In general, startup
time of GTK applications in up to 30-50% shorter, and things like video
playback are incredibly improved.

So, you don't need to cut anything. Just update your working system
according to /usr/ports/UPDATING. If you want to save disk space
(during compilling), use 'portupgrade -aP'. 

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


Re: random xorg crashes after xorg upgrade to 7.2

2007-06-04 Thread Nikola Lecic
Hello,

On Sun, 3 Jun 2007 03:47:50 -0700 (PDT)
Dino Vliet [EMAIL PROTECTED] wrote:

 [...]
 I really don't know where to look.
 My (unchanged) xorg conf looks like:
 
 Section ServerLayout
 Identifier X.org Configured
 Screen  0  Screen0 0 0
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
 EndSection
 [...]
 Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0
 DefaultDepth 24
 SubSection Display
 Viewport   0 0
 Depth 1
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 4
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 8
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 15
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 16
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 24
 Modes 1280x1024 1024x768
 EndSubSection
 EndSection
 [...]

This seems to be a (semi-)automatically generated xorg.conf, i.e. there
isn't very much customisation you would like to save.

So, please run Xorg without xorg.conf and see what will happen; then
send here a new Xorg log.

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


Re: Flashplugin problem after xorg 7.2 upgrade

2007-06-03 Thread Nikola Lecic
On Sun, 03 Jun 2007 03:30:58 +0300
Ozan Enginoglu [EMAIL PROTECTED] wrote:

 Ok, here are my computer properties: evo n800v compaq laptop with 1.8
 ghz and 512 ram. 
 
 [EMAIL PROTECTED]:~$ nspluginwrapper -a -v -i
 Auto-install plugins from /usr/X11R6/lib/browser_plugins
 Looking for plugins in /usr/X11R6/lib/browser_plugins
 Auto-install plugins from /usr/X11R6/lib/firefox/plugins
 Looking for plugins in /usr/X11R6/lib/firefox/plugins
 Auto-install plugins
 from /usr/local/lib/npapi/linux-flashplugin Looking for plugins
 in /usr/local/lib/npapi/linux-flashplugin Install
 plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
  ... already installed system-wide, skipping
 Auto-install plugins
 from /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux
 Looking for plugins
 in /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux
 Install
 plugin /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so
 Segmentation fault: 11 (core dumped)
 
 as a user i get the same core dumped error. Now i can play any flash
 in firefox but inspide of that i got pid 4909 (npconfig), uid 1001:
 exited on signal 11 (core dumped) error. I changed the depth from 16
 to 32 but i still got these errors.

As I wrote (scroll down this thread), if you have three files installed
in ~/.mozilla/plugins, and if all plugins work, I guess you don't have
to worry.

 And when i open 3 web sites with flash plugins the cpu usage is
 approx. (and stable) 45%. Is this normal?

It is very hard to say, depends on what sites you opened, etc. Seems ok
to me. I'm aware of cpu issues in version 7 in full screen mode /only/
and of those related to hibernation, all fixed in version 9). You can of
course try www/linux-flashplugin-9.0r31_1 instead (first uninstall
version 7). I personally wasn't very happy with it. Ver. 7 has always
been working flawlessly for me.

If you are not sure and want to pursue the matter, you may start a new
thread about flashplugin cpu usage. You can also consider asking on
[EMAIL PROTECTED]

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


Re: Fwd: Flashplugin problem after xorg 7.2 upgrade

2007-06-02 Thread Nikola Lecic
On Sat, 2 Jun 2007 09:11:25 -0400
Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

 thank you for your instructions!! this helps a lot, now I can also
 enjoy youtube and watch mlb.tv on firefox with mplayer plugin.

Glad it was useful.

 I also have coredump when running nspluginwrapper, and while running
 firefox, this is what I got on the output:

Is the output the same as Ozan's? But if your ~/.mozilla/plugins is
populated with something like

  npwrapper.libflashplayer.so
  npwrapper.nppdf.so
  npwrapper.nphelix.so

(55880 bytes each), I think you shouldn't worry about it. Maybe someone
else can confirm. I hadn't experienced such core dumps.

 *** NSPlugin Wrapper *** WARNING: unhandled variable 11 in
 NPP_GetValue()

This is harmless and not linked with the core dumping -- it's a known
warning in this nspluginwrapper version.

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


Re: Accessibility hardware for the blind

2007-06-01 Thread Nikola Lecic
On Fri, 1 Jun 2007 17:04:31 +1000
Norberto Meijome [EMAIL PROTECTED] wrote:

 On Fri, 01 Jun 2007 01:21:58 -0400
 Tim Kellers [EMAIL PROTECTED] wrote:
 
  [...]
  I haven't found a software solution that addresses all the needs of
  a spoken command line environment so I'm looking for a hardware
  solution (appliance or device) that will speak the screen, but I
  haven't found one, yet.
 [...]
 Hi Tim,
 I'm always surprised by the seemingly void for this kind of support
 in OSS. It's not an easy thing to do, and possibly there is a lack of
 standards (what with all the different X toolkits,etc...)...

This is important project (and fully terminal-oriented):

  http://www.knopper.net/knoppix-adriane/index-en.html

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


  1   2   >