Re: Python 2.7 removal outline

2021-03-27 Thread Anatoly
On Thu, 25 Mar 2021 23:06:27 -0700
Chris  wrote:

> On 2021-03-25 22:24, Kurt Jaeger wrote:

> > The portmgr@ role is a huge task and all the reasons (limited time,
> > dayjobs, etc) ares  valid for those folks from portmgr as for
> > the rest of the ports maintainers and committers.  
> Indeed, and don't think that hadn't occurred to me. In fact I
> suspected that portmgr@ was feeling a bit overwhelmed, and that
> *that* triggered the seemingly overreaching python announcement.
> May I humbly request a petition for such large-sweeping changes? IMHO
> this will give portmgr@ the opportunity to get caught up, and perhaps
> get some assistance -- maybe we all come up with an idea that saves
> _everyones_ bacon. :-)
 
I already miss tools depending on gtk1.2, qt3, qt4 in ports.
Maybe it makes sense to introduce new "flag"
NOAUTOBUILD=
To mark the ports from which no packages should be build
quarterly automatically to reduce portmgr@ load, instead of just
dropping those ports out of ports tree? And leave all the care of those
ports to their maintainers, requiring them some kind of "pings" to
detect if maintainer is "alive" as the only criteria to keep port in
the tree? 

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: replacing ffserver?

2020-12-04 Thread Anatoly
On Fri, 4 Dec 2020 16:46:25 -0500
Robert Huff  wrote:

>   Let me restate the issue.
>   My goal is to be able to have someone visit (e.g.)
> "https://webcam.example.com:; and have the feed from the webcam
> appear in their browser.
>   What I have at the moment:
> 
>   a) a system running:
> 
> FreeBSD 13.0-CURRENT #0 r365372: Sun Sep  6 10:51:26 EDT 2020 amd64
> 
>   b) a working webcam
>   c) the latest version of webcamd, which finds the webcam and
> creates video0 and video1.
> 
>   So: I need to make the contents of video0 available on port
> . I have been unable to find a concise current method for how to
> do that.  (Including anything with Apache, which seems like an obvious
> step.)
> 
> 
>   Respectfully,
> 
> 
>   Robert Huff
> 
Again, simplest thing to try is multimedia/vlc.
In that setup browser will pull and play single "endless video file"
from server. Web server is vlc built-in.
Fo this to work vlc must be built from port with options set
[X] VORBIS
[X] VPX

Start from GUIMenu:
Media->Capture Device->(choose your device).
Choose "Stream". Tick "display lically" to be able to preview camera
image in vlc vindow. 
Next -> HTTP -> Add
Check/enter listening port number and url
Next -> choose "VP80 + Vorbis (webm)"
Write down generated command line transcoding parameters.
Press "Stream" and point web broeser to ip:port/url
See if it works or not. Do some adjustments, try again (turn off sound
encoding? scale? fps? bitrate?)
When everything is ok, start it without GUI (cvlc) with transcoding
parameters you wrote previously. There is need to add input
and output specification to command line however. So it may be look like
 cvlc -vvv "v4l2:///dev/video1" --sout
"#transcode{vcodec=VP80,vb=800,acodec=none}:std{access=http,mux=webm,dst=0.0.0.0:8080}"

I streamed webcamera 24/7 on the wild internet for a 6 months
in 2012 similar way. I've used not webm/Vp8, but asf/msmpeg4, support of
which was abandoned in all browsers somwere around 2014. So streaming
today as I've done that is impossible.

Again, other way is to use HLS. This should be more compatible, but
more complex. I never tryied this myself, so can't give ready receipe.
But Google returns some if I searching "ffmpeg HLS apache" "ffmpeg HLS
nginx".
For ex. first of them
https://www.bogotobogo.com/VideoStreaming/ffmpeg_http_live_streaming_hls.php
Idea behing that is ffmpeg will capture video and compress to
h264, packing it into "mpegts" container, writing many short *.ts files
into web directory, from where web server serves it. Also ffmpeg updates
single "playlist m3u8" file there. Web browser (java script on page)
pulls "playlist" and plays files one by one as new files appear. Old
may be deleted. I think there's no OS specific except ffmpeg must be
built with
[X] X264 or
[X] OPENH264 or
both
-c:v openh264 is way faster than -c:v libx264, but may be somehow more
glitchy.

 

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: replacing ffserver?

2020-12-03 Thread Anatoly
On Thu, 3 Dec 2020 23:10:16 -0500
Robert Huff  wrote:

> Jonathan Chen  writes:
> 
> >   Possibly multimedia/motion?  
> 
>   On examination ... interesting program, but not what I'm
> looking for.  (Today.  :-)
> 
> 
>   Respectfully,
> 
> 
>   Robert Huff
> 

Probably simplest way is to use multimedia/VLC
VLC is not just player, but server too, supports bunch of
protocols,transports and codecs. Can run headless or with console or
remote interface.

ffserver never worked to me as expected and finally was abandoned by
ffmpeg team somewere around 2009.

What is your clients? If it is software players than you have wide range
of transports, containers, codecs to play with in VLC. But if you want
to watch video in browser, then modern browsers, excluding Microsoft's
(as I think) support only one option on themselves: http (protocol) +
webm (transport) + vp8 (video codec), + vorbis (audio).
vp8 is heavy, slower than libx264, so you need fast machine.
Services like youtube using HLS/DASH standards but this needs more
complex setup like that:
- tell ffmpeg to produce corresponding files *.m3u8 (playlist) and
  *.ts (chunks of video, let's say one file per 30s, and it is h264)
  into web directory of web server (apache, nginx, etc)
- create web page with embedded java script (can't point to
  ready solution yet, but they are exist) that will re-read *.m3u8 and
  kick browser to start to play every new file every 30s.
- serve all that to your clients with web server
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firebird25-server compiling and working on i386 but not in AMD64

2020-04-03 Thread Anatoly
On Thu, 2 Apr 2020 13:48:53 -0300
"Gelson Borsoi"  wrote:

> My current server is running FreeBSD 9.2 64 Bits.
> 
> I have installed many services, including Firebird 2.5.2
> 
> It is a good hardware with 12GB of RAM, 2 processors and 4 SAS HDs.
> 
> As I have spare Hd's, I decided to install FreeBSD 12.1 64 bits to
> test all services before transferring the data and putting it into
> production. 
> 
> All worked except for the Firebird25-server. Bus error.
> 
> In LLDB it shows error in the libfbintl.so library: CVICU_convert_init
> (charset *) () from /usr/local/libexec/firebird/intl/fbintl.so
> 
> As I am stubborn, I tested with FreeBSD 12.1 i386 and to my surprise
> the Firebird25-server worked 100%.
> 
> The problem is that I don't want to install 32bits since I can't take
> advantage of the 12GB of RAM.
> 
> In the forum I found a post indicating to compile with clang34 but
> this port is no longer available.
> 
> Question: Does anyone have a suggestion on how to solve this problem?
> 
> How to compile firebird25-server in FreeBSD 12.1 64bits?

I know very little about firebird, but when I moved to FreeBSD 10.x,
I hit a problem with libiconv in base. PHP 5.x crashes on one web app,
And iconv binary crashes too while converting some russian texts. I
rebuild PHP against libiconv from ports and that fixed my problem. I
don't know if libiconv fixed in 11.x-12.x or not, now I just avoid using
it and linking against it as possible, still having no time to
experiment to find that out.
Also, why not to try to build firebird with gcc, not clang.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: PHP version retirement

2019-08-12 Thread Anatoly
On Sat, 10 Aug 2019 13:22:25 +0200
Kurt Jaeger  wrote:

> Hi!
> 
> [...]
> > Would it not be better to have, say, the last two versions before
> > current stable still in ports but with a huge disclaimer saying:
> > use at your own risk, etc.?
> > 
> > What do y'all think?  
> 
> You make the case for something other systems call backports,
> basically, keeping stuff in working order in the tree.
> 
> Backports in other systems need someone to take up stewardship.
> 
> So, either a group steps forward and takes responsibility to
> keep them in working order in the generic tree, e.g. by
> - having a mailing list, e.g. backports@,
> - and changing the maintainer from ports@ to backports@
> - and fixing PRs as they come up
> 
> Or a group provides their own pkg repo that the normal pkg-user can
> reference to retrieve those older packages.
> 
> Both approaches sound possible, but need a non-trivial amount of
> investment.
> 
Just wishing one day someone come up with it...
I do more and more builds from souce last years because more and
more ports disappearing due to deprecated dependencies or
themselves (last time it was Natron->qt4 for ex.)

what's about php5.6, it isn't big deal to me to build it from source,
but if I'll ask people from low budget hosting companies around
"Why not FreeBSD?", I think this will be one of significant points,
cause many of them hire low-budget engineers, who only can or want
install something from ready distro/packages and copy pre-written
configs. But maybe FreeBSD indeed isn't right OS for them.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Downloading with lynx or w3m, how to download as is, without gratuitous gzip

2017-04-27 Thread Anatoly
> 
> URL where I was stung was
> https://svnweb.freebsd.org/ports/head/x11/xcb-proto/files
> with two patch files in that directory.
> 
Tested it with links 2.13. It works ok.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Downloading with lynx or w3m, how to download as is, without gratuitous gzip

2017-04-24 Thread Anatoly
On Mon, 24 Apr 2017 23:48:32 +
"Thomas Mueller"  wrote:

> I have no recent experience with links.  Should I build with
> graphics, without graphics, or build links1?
If you wish text console only, no graphics needed. Under x11 it's nice
fast simple graphical browser when started as 'links -g' otherwise. If
you wish graphics without x11, may experiment with direct fb and
svgalib. Links1 is an old version (contemporary is 2.x).

I think w3m doesn't gzip anything itself, but When talking to server it
says that gzip supported. Then it receives compressed stream from
server and fails (or just lazy) to decompress it.

-w3m must not say to server "Accept-Encoding: gzip, deflate" if it can't
gunzip
-server must not send gzipped stream if above not said. And
unfortunately, I think, some servers may not respect this.
-w3m must gunzip it otherwise.

I never used w3m, have not it istalled yet, but quick look at manual on
the web gives a idea to try
w3m -header "accept-encoding: identity"
to explicitly say to server send everything in plain.

Can you display content you trying to save on w3m screen online? If
yes, may try to fight for gzipping off, but if no, you must investigate
why gunzipping is not working within w3m (is it compiled against zlib
 or something at all?). Btw, what is the url you trying to save?

> Lynx was nice before it got intimately mixed with gzip.
But every browser nowadays can do "content gunzipping" due to existing
web standard
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Downloading with lynx or w3m, how to download as is, without gratuitous gzip

2017-04-24 Thread Anatoly
If you wish console browser, try links
if you wish http get tool, try curl

On Mon, 24 Apr 2017 04:54:27 +
"Thomas Mueller"  wrote:

> > If you're just trying to grab a file, fetch(1) may prove adequate.
> > (It's in base.)  
>   
> > Peace,
> > david
> >-
> > David H. Wolfskill
> 
> I tried fetch, but got something entirely different, the stuff on the
> web page, but not the desired file.
> 
> File compression, such as PKZIP, Infozip, gzip, bzip2, 7-zip, RAR, xz
> are useful in places but can be overbearing in other places.
> 
> Compressing man pages is more pain in the ass than benefit.
> 
> Tom
> 
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscr...@freebsd.org"

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: shutting down computer causes WindowMaker coredump

2017-02-21 Thread Anatoly
On Mon, 20 Feb 2017 22:20:59 +0100 (CET)
Marco Beishuizen  wrote:

> Hi,
> 
> I just discovered a really strange issue with my machine running
> FreeBSD 11/amd64.
> 
> Sometimes WM coredumps when shutting down the computer from an xterm, 
> using "shutdown -p now" (after closing all running programs). This is
> a small problem by itself, but the strange thing is that this *only*
> happens after I have upgraded firefox from ports. E.g today FF had a
> small update, I upgraded FF this afternoon and this evening when
> shutting down, WM coredumps.
> 
> Right now I can't see the relationship between WM, FF, shutting down
> and what can cause this.
> 
> Has anyone seen something like this before?
> 
> Regards,
> Marco

I have this issue since end of october (approximately), just when I
fresh installed FreeBSD 10.2 and updated to latest pathclevel (at the
moment) with freebsd-update and updated ports also. Then I've installed
xorg xorg-7.7_2 from packages and fluxbox fluxbox-1.3.7_1 from ports. As
I can recall it, I faced this issue before installing Firefox. That
machine has H61 chiset based motherboard and Pentium G2030 CPU with
integrated graphics, which xorg intel driver detects as Intel(R) HD
Graphics 2500. Also, I've tried older version of fluxbox (didn't
remember which yet) from sources with no success.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: geda ports 1.8 and guile version conflict

2016-11-16 Thread Anatoly
On Mon, 14 Nov 2016 00:25:33 -0300
"Nilton Jose Rizzo"  wrote:

Just hit this problem too. FreeBSD 10.2-RELEASE-p24

> Hi all, I need to use a gEDA ports to create schemas and
> PCBs, but from the lastest upgrade on my FreeBSD 12-current, it's not
> more possible because the guile lib have a version conflict.
> 
>Some ports work with guile2 and gEDA needs a 1.8 version
> both use the same locations /usr/local/bin.
> 
>Have some other problems that I would like to share with you
> but I need to create a paper, because I have a long list with
> this problems.
> 
> It's to hard to create a path with version to binaries
> and/or library, like this:
> 
> /usr/local/bin/guile/guile
> /usr/local/bin/guile2/guile
> 
> and create a link to the /usr/local/bin like this:
> 
> ln -s /usr/local/bin/guile/guile /usr/local/bin/guile18
> ln -s /usr/local/bin/quile2/guile /use/local/bin/guile2
> 
> it's just done to clang and llvm, and i  not understand
> why I need to compile a ports int  FreeBSD 12-current with
> a clang and llvm 3.6 or 3.7, if I just have a 3.8 version
> 
>  Thanx!
> 
> ---
> /*
> **Nilton Jos'e RizzoUFRRJ
> **http://www.rizzo.eng.br  http://www.ufrrj.br
> **http://lattes.cnpq.br/0079460703536198
> **/
> 
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscr...@freebsd.org"
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: gentoo's package.provided equivalent?

2016-04-05 Thread Anatoly
В Mon, 4 Apr 2016 09:01:44 +0100
Matthew Seaman  wrote:

> I could be wrong though -- the only example I know of creating ad-hoc
> packages outside the ports, is by Dag-Erling:
> 
> https://blog.des.no/2013/08/creating-pkgng-packages-without-ports/
> https://blog.des.no/2013/08/pkgng-without-ports-addenda/

Thanks, that was helpful
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

gentoo's package.provided equivalent?

2016-04-02 Thread anatoly
Sometimes i need to build specific version of some library from source,
not from ports. How can I tell port system about it. There was no problem
with old pkg_, because I was able just to put dummy directory into
/var/db/pkg and port system knows it is installed (although maybe that was
ugly hack). But what I can do with pkgng now? For example, Gentoo linux
has /etc/portage/profile/package.provided file for such a situation. Is
there some equivalent?

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: May I commit your ports to fix the hardcore?

2009-07-03 Thread Anatoly Borodin
Hi!

On Thu, Jul 2, 2009 at 22:30, Jeremy Messenger me...@cox.net wrote:
 anatoly.borodin@: http://people.freebsd.org/~mezz/diff/directfb.diff

OK.

--
Mit freundlichen Grüßen,
Anatoly Borodin
business: anatoly.boro...@gmail.com
privat: fractaliza...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: CFT: devel/directfb update to 1.1.1

2008-04-16 Thread Anatoly Borodin
Hi!


On Wed, Apr 16, 2008 at 1:02 PM, Ganael LAPLANCHE
[EMAIL PROTECTED] wrote:
  the port now builds/installs fine, but unfortunately leads to the same 
 situation
  as my previous tests :/. I have defined WITH_SDL and WITH_X11, but I still
  cannot use -vo directfb with mplayer (compiled with directfb support).

1) Did your mplayer work with the previous version of directfb?
2) Have you rebuilt mplayer?

links doesn't work with directfb on my machine, so I'll investigate
the reason pretty soon. And I think it will good to fix mplayer and
add directfb flags to the ports.

  % env DFBARGS=system=sdl ./mplayer -vo directfb test.avi

Try to run it with system=x11 please and tell what happens.


-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Error while building jdk15 from ports

2008-04-04 Thread Anatoly Borodin
Hi!


On Fri, Apr 4, 2008 at 3:52 PM, Rudi Kramer - MWEB [EMAIL PROTECTED] wrote:
  gcc: Internal error: Killed: 9 (program cc1plus)

Does dmesg say anything about it?


-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: updating devel/directfb

2008-03-30 Thread Anatoly Borodin
Hi!


The whole week passed, and no further results. What should I do?

On Sat, Mar 22, 2008 at 6:50 PM, Anatoly Borodin
[EMAIL PROTECTED] wrote:
 Hi!



  On Wed, Mar 19, 2008 at 5:25 PM, Pietro Cerutti [EMAIL PROTECTED] wrote:
http://people.freebsd.org/~gahr/directfb.diff

  I forget to ask: why should directfb be linked with lwres?


-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: PLIST=pkg-plist

2008-03-20 Thread Anatoly Borodin
Hi!

On Thu, Mar 20, 2008 at 8:36 AM, Alexander Leidinger
[EMAIL PROTECTED] wrote:
 # less /var/db/pkg/linux_base-fc6-6_5/+CONTENTS
   @comment PKG_FORMAT_REVISION:1.1
   @name linux_base-fc6-6_5
   @comment ORIGIN:emulators/linux_base-fc6
   @cwd /compat/linux
   @conflicts linux_base-gentoo*
   @conflicts linux_base-fc4

  Can you please try this without your settings in make.conf (empty
  make.conf, or at least the smallest possible make.conf you can use)?

1) empty make.conf - good file
2)

-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: PLIST=pkg-plist

2008-03-20 Thread Anatoly Borodin
Hi!

On Thu, Mar 20, 2008 at 8:36 AM, Alexander Leidinger
[EMAIL PROTECTED] wrote:
   # less /var/db/pkg/linux_base-fc6-6_5/+CONTENTS
   @comment PKG_FORMAT_REVISION:1.1
   @name linux_base-fc6-6_5
   @comment ORIGIN:emulators/linux_base-fc6
   @cwd /compat/linux
   @conflicts linux_base-gentoo*
   @conflicts linux_base-fc4

  Can you please try this without your settings in make.conf (empty
  make.conf, or at least the smallest possible make.conf you can use)?

Hmmm...

I experimented with different file contents, and sometimes it goes
good, sometimes bad. I cannot see any pattern yet.


-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: updating devel/directfb

2008-03-20 Thread Anatoly Borodin
Hi!

On Thu, Mar 20, 2008 at 12:48 PM, Pietro Cerutti [EMAIL PROTECTED] wrote:
 | Thank you for this patch, but I need 1.1.1 version (I use some
  | features released here), so I merged you patch with mine. The result
  | is http://fractalizator.googlepages.com/directfb-0.9.16-1.1.1.patch.txt

  Hi back,
  the patch is ok. It only has a plist problem when neither WITH_X11= nor
  WITH_SDL= is set:

  pkg_delete: file '/usr/local/lib/directfb-1.1-0/inputdrivers' doesn't exist
  pkg_delete: unable to completely remove directory
  '/usr/local/lib/directfb-1.1-0/inputdrivers'

  Could you quickly look at it?

The patch is corrected.


-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: PLIST=pkg-plist

2008-03-20 Thread Anatoly Borodin
Hi!

On Thu, Mar 20, 2008 at 8:36 AM, Alexander Leidinger
[EMAIL PROTECTED] wrote:
  Can you please try this without your settings in make.conf (empty
  make.conf, or at least the smallest possible make.conf you can use)?

I've found that make.conf is irrelevant, but some other thing matters

# cat /root/testl.sh
#!/bin/sh

WRKDIRPREFIX=/usr/obj
PORT=/usr/ports/emulators/linux_base-fc6
CONTENTS=/var/db/pkg/linux_base-fc6*/+CONTENTS
P=`pwd`;
LOG=/root/testl.log

echo -n  ${LOG}
rm -rf ${WRKDIRPREFIX}${PORT};

echo 'make clean'  ${LOG}
for i in 1 2 3 4 5;
do
cd ${PORT};
make clean;
make -DFORCE_PKG_REGISTER WRKDIRPREFIX=${WRKDIRPREFIX} install;
make clean;
cd ${P};
wc -l ${CONTENTS}  ${LOG};
done

echo 'rm -rf'  $LOG
for i in 1 2 3 4 5;
do
cd ${PORT};
rm -rf ${WRKDIRPREFIX}${PORT};
make -DFORCE_PKG_REGISTER WRKDIRPREFIX=${WRKDIRPREFIX} install;
rm -rf ${WRKDIRPREFIX}${PORT};
cd ${P};
wc -l ${CONTENTS}  ${LOG};
done

clear;
less ${LOG};

# sh /root/testl.sh; cat /root/testl.log
make clean
   20067 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS
   6 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS
   6 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS
   6 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS
   6 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS
rm -rf
   20067 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS
   20067 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS
   20067 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS
   20067 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS
   20067 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS


-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: PLIST=pkg-plist

2008-03-19 Thread Anatoly Borodin
Hi!


On Wed, Mar 19, 2008 at 9:11 AM, Alexander Leidinger
[EMAIL PROTECTED] wrote:
  I can not confirm this. On my desktop I have the following in make.conf:
  ---snip---
  WRKDIRPREFIX=   /var/ports
  DISTDIR=/var/ports/distfiles
  PACKAGES=   /var/ports/packages/${CC:C/.*\///g}/${CPUTYPE}
  INDEXDIR=   /var/ports
  ---snip---
  but all my +CONTENTS are ok (checked with fc4 and linux-tiff).

  Anatoly, would you please give a detailed description which setup
  shows the behavior you are seeing? I would like to be able to
  reproduce this.

Do you have /usr/obj? Is it being used during the build process?


-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: PLIST=pkg-plist

2008-03-19 Thread Anatoly Borodin
Hi!

On Wed, Mar 19, 2008 at 9:57 AM, Alexander Leidinger
[EMAIL PROTECTED] wrote:
  I have /usr/obj, but it is not used during the ports build process if
  you don't tell that it shall be used. Above I tell my ports to use
  /var/ports/usr/ports/category/portname/... for the work dir of the
  port (WRKDIRPREFIX). I do this because my /usr/ports is read-only. And
  with this I don't see any breakage like you describe. So you seem to
  have some setting somewhere which causes this problem. I would like to
  know which setting this is to be able to reproduce your problem.

# uname -a; cat /etc/make.conf

FreeBSD fractal.home 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Mar 17
15:09:39 EET 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
FORCE_PKG_REGISTER=yes
SUP_UPDATE=csup
#SUPFILE=/root/cvsup/current-supfile
SUPFILE=/root/cvsup/stable-supfile
PORTSSUPFILE=/root/cvsup/ports-supfile
DOCSUPFILE=/root/cvsup/doc-supfile
NO_PORTSUPDATE=yes
NO_DOCUPDATE=yes

WRKDIRPREFIX=/usr/obj
PACKAGES=/var/ports/packages
DISTDIR=/var/ports/distfiles

DISABLE_VULNERABILITIES=yes

RANDOMIZE_MASTER_SITES=yes
MASTER_SITE_OVERRIDE=   \
ftp://ftp11.ua.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
 \
ftp://ftp5.ua.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
  \
ftp://ftp6.ua.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
  \
ftp://ftp7.ua.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
  \
ftp://ftp8.ua.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
  \
ftp://ftp9.ua.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
  \
ftp://ftp10.ua.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
 \
ftp://ftp2.ua.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
  \
#


A4=yes
ALL_LOCALIZED_LANGS=yes
APACHE_PORT=www/apache22
APSFILTER_ALL=yes
BUILD_OPTIMIZED=yes
ENABLE_SUIDPERL=yes
LOCALIZED_LANG=all
PAPERSIZE=a4
PINENTRY_CURSES=yes
PINENTRY_GTK2=yes
PINENTRY_GTK=yes
PINENTRY_QT=yes
SIMIAN_AGREE_LICENSE=yes
TWEAK_L10N=yes
WITHOUT_IPC_CLEANUP=yes
WITHOUT_IP6=yes
WITHOUT_IPV6=yes
WITH_AALIB=yes
WITH_APACHE2_APR=yes
WITH_ARCHIVE=yes
WITH_ARTS=yes
WITH_ASVN=yes
WITH_AVAHI=yes
WITH_AVIFILE=yes
WITH_BDB_VER=46
WITH_BERKELEY_DB=yes
WITH_CACA=yes
WITH_CDDB=yes
WITH_CHARSET=utf8
WITH_CJK=yes
WITH_COMPAT=yes
WITH_CSV=yes
WITH_CUPS=yes
WITH_DIVX5=yes
WITH_ENCODING=all
WITH_ESOUND=yes
WITH_EVOLUTION2=yes
WITH_EVOLUTION=yes
WITH_EXTRA_PATCHES=yes
WITH_FAAC=yes
WITH_FAME=yes
WITH_FEDERATED=yes
WITH_FREETYPE2=yes
WITH_FREETYPE=yes
WITH_GCRYPT=yes
WITH_GDBM=yes
WITH_GGI=yes
WITH_GIMP=yes
WITH_GNOME=yes
WITH_GNOMEVFS2=yes
WITH_GPC=yes
WITH_GTK2=yes
WITH_GTK=yes
WITH_ICONV=yes
WITH_IMAGEMAGICK=yes
WITH_IMAGEMAGICK_THREADS=yes
WITH_JACK=yes
WITH_JADETEX=yes
WITH_JAVA=yes
WITH_JPEGMMX=yes
WITH_KDE=yes
WITH_LAME=yes
WITH_LCD_FILTERING=yes
WITH_LDAP=yes
WITH_LDAP_MODULES=yes
WITH_LIBA52=yes
WITH_LIBOGG=yes
WITH_LIBVORBIS=yes
WITH_LZO=yes
WITH_MOD_DAV_SVN=yes
WITH_MPG321_SCROBBLER_PATCH=yes
WITH_MSWINDOWS_LICENSE=yes
WITH_MYSQL=yes
WITH_MYSQL_VER=51
WITH_NAS=yes
WITH_NASM=yes
WITH_NDB=yes
WITH_NDB=yes
WITH_NVIDIA_GL=yes
WITH_OGG=yes
WITH_ONIGURUMA=yes
WITH_OPENGL=yes
WITH_OPENLDAP=yes
WITH_OPENSSL=yes
WITH_OPENSSL_BASE=yes
WITH_OPTIMIZED_CFLAGS=yes
WITH_OPTIONAL_DEPENDS=yes
WITH_PARANOIA=yes
WITH_PERL=yes
WITH_POSTGRESQL=yes
WITH_PROXY_MODULES=yes
WITH_PULSEAUDIO=yes
WITH_PYTHON=yes
WITH_QT=yes
WITH_QUICKTIME=yes
WITH_RUBY=yes
WITH_SAMBA=yes
WITH_SDL=yes
WITH_SLANG=yes
WITH_SMB=yes
WITH_SSL_MODULES=yes
WITH_SVGALIB=yes
WITH_SWSCALER=yes
WITH_SYSTEM_FREETYPE=yess
WITH_THEORA=yes
WITH_THREADS=yes
WITH_THREADS_MODULES=yes
WITH_THR_THREAD_MODEL=yes
WITH_TIN_CANLOCK=yes
WITH_TIN_GPG=yes
WITH_TIN_ISPELL=yes
WITH_TIN_METAMAIL=yes
WITH_TTF_BYTECODE_ENABLED=yes
WITH_VIM_OPTIONS=yes
WITH_VORBIS=yes
WITH_X11=yes
WITH_XCHARSET=all
WITH_XML=yes
WITH_XSGNOME=yes
WITH_XVID=yes
WITH_XVMC=yes

# added by use.perl 2008-03-18 00:14:12
PERL_VER=5.8.8
PERL_VERSION=5.8.8


-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: PLIST=pkg-plist

2008-03-19 Thread Anatoly Borodin
Hi!

On Wed, Mar 19, 2008 at 1:13 PM, Alexander Leidinger
[EMAIL PROTECTED] wrote:
  Strange. I don't see anything here which is causing this. I can not
  reproduce it. How do you install the port?
cd /usr/ports/graphics/linux-tiff
make install
make clean
  is what I would expect.

I made experiments on emulators/linux_base-fc6.

  In bsd.port.mk there's
  ---snip---
  @if [ -f ${PLIST} ]; then \
  ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/}
  ${PLIST}  ${TMPPLIST}; \
  fi
  ---snip---

  Please add the following line between the @if and ${SED} line:
  ---snip---
  echo PLIST TEST ${.CURDIR}; pwd; \
  ---snip---

  Then reinstall a port which exhibits the behavior and search for the
  line with PLIST TEST (and the line which follows).

diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 431703e..f450a59 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -5461,6 +5461,7 @@ generate-plist:
done
 .endfor
@if [ -f ${PLIST} ]; then \
+   echo PLIST TEST ${.CURDIR}; pwd; \
${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/}
${PLIST}  ${TMPPLIST}; \
fi
 .for reinplace in ${PLIST_REINPLACE}

# make clean install
skipped
===   linux_base-fc6-6_5 depends on file: /usr/local/bin/rpm2cpio - found
===  Patching for linux_base-fc6-6_5
===  Configuring for linux_base-fc6-6_5
===  Building for linux_base-fc6-6_5
===  Installing for linux_base-fc6-6_5
===   Generating temporary packing list
220624 blocks

Running linux ldconfig...

This software is based in part on the work of the FreeType Team.
See URL:http://www.freetype.org/.

Installation of the Linux base system is finished. The Linux kernel
mode, which must be enabled for Linux binaries to run, is now
enabled. Linux mode can be enabled permanently with the linux_enable
variable of rc.conf(5).

To make use of NIS you have to adjust yp.conf and nsswitch.conf in
/compat/linux/etc/ accordingly. For example:

Set your yp-server and yp-domainname in yp.conf:
domainname  my.yp.domainname
ypservermy.yp.server

Let your lists for hosts, passwd and group be resolved via nsswitch.conf:
passwd: files nis
shadow: files nis
group:  files nis
hosts:  files dns nis

WARNING: doing work which needs to chroot into the linux base may not work.
In such cases (e.g. cross-development) you are better suited with a linux_dist
port.

===   Registering installation for linux_base-fc6-6_5

-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: PLIST=pkg-plist

2008-03-19 Thread Anatoly Borodin
Hi!

On Wed, Mar 19, 2008 at 1:13 PM, Alexander Leidinger
[EMAIL PROTECTED] wrote:
  Then reinstall a port which exhibits the behavior and search for the
  line with PLIST TEST (and the line which follows).

Just have forgotten:

# less /var/db/pkg/linux_base-fc6-6_5/+CONTENTS
@comment PKG_FORMAT_REVISION:1.1
@name linux_base-fc6-6_5
@comment ORIGIN:emulators/linux_base-fc6
@cwd /compat/linux
@conflicts linux_base-gentoo*
@conflicts linux_base-fc4


-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

updating devel/directfb

2008-03-19 Thread Anatoly Borodin
Hi!


I use FreeBSD for about 7 years, but I'm rather new with the ports
maintainment process.

I want to maintain devel/directfb port, the first thing is to update
it to 1.1.0 or 1.1.1 from the 0.9.16 version.

Some other software, like www/links, may be built with directfb.
Currently, after installing directfb 1.1.1, links's configure script
finds the directfb installation (it requires directfb ver = 0.9.17)
and builds with it. So, the directfb dependency should be recorded in
www/links, may be even with adding a new OPTION.

Could anyone give an advice to update all possible similar ports and
the directfb port consistently? Or may I just create first one PR with
the port update and then the later PRs with another ports' updates?

Thanks in advance.


-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: updating devel/directfb

2008-03-19 Thread Anatoly Borodin
Hi!


On Wed, Mar 19, 2008 at 5:25 PM, Pietro Cerutti [EMAIL PROTECTED] wrote:
  | I want to maintain devel/directfb port, the first thing is to update
  | it to 1.1.0 or 1.1.1 from the 0.9.16 version.

  I was working on that together with [EMAIL PROTECTED]
  The problem is that neither of the two is really familiar with directfb.

I may became more familiar with directfb soon.

  Would you like to test the following patch, not only for build problems,
  but also - and in particular - for run-time problems/errors.

  http://people.freebsd.org/~gahr/directfb.diff

Thank you for this patch, but I need 1.1.1 version (I use some
features released here), so I merged you patch with mine. The result
is http://fractalizator.googlepages.com/directfb-0.9.16-1.1.1.patch.txt

  If everything is ok, I will commit it and pass maintainship to you.

I have built directfb 1.1.1 and some other applications like cairo and
links with it. links throws some runtime messages, but it's just a
matter of time. But there are no general problems with it. I think the
patch is ready.

PS 2miwi: what about graphics/cfdg?


-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

PLIST=pkg-plist

2008-03-18 Thread Anatoly Borodin
Hi!


 grep -r 'PLIST[[:space:]]*=[[:space:]]*pkg-plist' --include Makefile* 
 /usr/ports
/usr/ports/audio/linux-esound/Makefile:PLIST=
pkg-plist.${LINUX_RPM_ARCH}
/usr/ports/audio/linux-libaudiofile/Makefile:PLIST=
pkg-plist.${LINUX_RPM_ARCH}
/usr/ports/devel/linux-libglade/Makefile:PLIST=
pkg-plist.${LINUX_RPM_ARCH}
/usr/ports/devel/linux-libglade2/Makefile:PLIST=
pkg-plist.${LINUX_RPM_ARCH}
/usr/ports/emulators/linux_base-f7/Makefile:PLIST=
 pkg-plist
/usr/ports/emulators/linux_base-fc4/Makefile:PLIST=
 pkg-plist
/usr/ports/emulators/linux_base-fc6/Makefile:PLIST=
 pkg-plist
/usr/ports/games/qix/Makefile:PLIST=pkg-plist.x11
/usr/ports/graphics/linux-imlib/Makefile:PLIST=
pkg-plist.${LINUX_RPM_ARCH}
/usr/ports/graphics/linux-tiff/Makefile:PLIST=
pkg-plist.${LINUX_RPM_ARCH}
/usr/ports/graphics/linux-ungif/Makefile:PLIST=
pkg-plist.${LINUX_RPM_ARCH}
/usr/ports/security/ossec-hids-client/Makefile:PLIST=   pkg-plist.client
/usr/ports/textproc/linux-libxml/Makefile:PLIST=
pkg-plist.${LINUX_RPM_ARCH}
/usr/ports/textproc/linux-libxml2/Makefile:PLIST=
pkg-plist.${LINUX_RPM_ARCH}
/usr/ports/x11-toolkits/linux-gtk/Makefile:PLIST=
pkg-plist.${LINUX_RPM_ARCH}
/usr/ports/x11-toolkits/linux-qt33/Makefile:PLIST=
pkg-plist.${LINUX_RPM_ARCH}

It works without /usr/obj while the 'work' dir is in the port's dir,
but doesn't work with /usr/obj (e.g.
/var/db/pkg/linux_base-fc-4_10/+CONTENTS contains only conflicts and
no file references.

IMHO it should be changed to 'PLIST=${WRKDIR}/pkg-list.*' or
'PLIST=${PKGDIR}/pkg-plist.*' or removed at all (depending on the
semantics).

Does it look reasonable?


-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]