Re: [kde-freebsd] k3b-kde4 fails to build on Beta3

2011-11-08 Thread Robert
On Fri, 28 Oct 2011 00:59:07 -0200
Raphael Kubo da Costa  wrote:

> On Sunday 09 October 2011 08:22:02 Robert wrote:
> > /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/libk3bdevice/k3bscsicommand.cpp
> > :186:
> > /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/libk3bdevice/k3bscsicommand_bsd
> > .cpp: In member function 'int
> > K3b::Device::ScsiCommand::transport(K3b::Device::TransportDirection,
> > void*,
> > size_t)':
> > /usr/ports/sysutils/k3b-kde4/work/k3b-2.0.2/libk3bdevice/k3bscsicommand_bsd
> > .cpp:108: error: 'struct scsi_sense_data' has no member named
> > 'flags'
> 
> [snip]
> 
> I've fixed this upstream and in our area51 repository. If you're
> wiling to give it a try, copy [1] into your k3b-kde4/files directory
> in your ports tree.
> 
> If things work fine, I'll commit it to ports in a few days.
> 
> [1]
> http://area51.pcbsd.org/trunk/area51/PORTS/sysutils/k3b-kde4/files/patch-libk3bdevice-k3bscsicommandbsd.cpp
> ___

Raphael,

This past weekend I did a source upgrade to:
[robert@9vaio] ~> uname -a
FreeBSD 9vaio.shasta204.local 9.0-RC1 FreeBSD 9.0-RC1 #6: Sat Nov  5
11:48:47 PDT 2011
root@9vaio.shasta204.local:/usr/obj/usr/src/sys/GENERIC  i386

I was the able to build cdparanoia successfully and was able to build
k3b-kde4 successfully. K3b starts and loads fine but cannot find any
optical drives. I have followed the instructions in pkg-message to no
avail.

cdrecord -scanbus shows my optical drives as does camcontrol devlist. I
am able to burn a CD using cdrecord but k3b still does not find any
optical drives (see attached).

These are ATA drives that are showing up as /dev/cdX. I am using a
generic kernel and am loading atapicam via loader.conf.

I am willing and able to try any suggestions.

Robert

[robert@9vaio] ~> cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 3.00 (i386-unknown-freebsd9.0) Copyright
(C) 1995-2010 Jörg Schilling Using libscg version ‘schily-0.9‘.
scsibus0:
0,0,0 0) ‘’ ‘’ ‘’ NON CCS Disk
0,1,0 1) ‘’ ‘’ ‘’ NON CCS Disk
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0   100) ‘Optiarc ' ‘DVD RW AD-7190A ' ‘1.01' Removable
CD-ROM 1,1,0   101) ‘TOSHIBA ' ‘DVD-ROM SD-R5002' ‘1S32' Removable
CD-ROM 1,2,0   102) *
1,3,0   103) *
1,4,0   104) *
1,5,0   105) *
1,6,0   106) *
1,7,0   107) *

[robert@9vaio] ~> camcontrol devlist
  at scbus0 target 0 lun 0 (pass0,ada0)
 at scbus0 target 1 lun 0 (pass1,ada1)
 at scbus1 target 0 lun 0 (pass2,cd0)
at scbus1 target 1 lun 0 (pass3,cd1)

[robert@9vaio] ~> cdrecord dev=1,0,0
downloads/FreeBSD-9.0-BETA3-amd64-bootonly.iso cdrecord: No write mode
specified. cdrecord: Assuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive
dependent defaults. Cdrecord-ProDVD-ProBD-Clone 3.00
(i386-unknown-freebsd9.0) Copyright (C) 1995-2010 Jörg Schilling
cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler.
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority(). cdrecord: WARNING: This causes a high risk for buffer
underruns. scsidev: ‘1,0,0‘ scsibus: 1 target: 0 lun: 0
Using libscg version ‘schily-0.9‘.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   : 
Vendor_info: ‘Optiarc ‘
Identifikation : ‘DVD RW AD-7190A ‘
Revision   : ‘1.01‘
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
RAW/R96R cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler.
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority(). cdrecord: WARNING: This causes a high risk for buffer
underruns. Starting to write CD/DVD/BD at speed 48 in real SAO mode for
single session. Last chance to quit, starting real write0 seconds.
Operation starts. Turning BURN-Free off
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
Track 01: Total bytes read/written: 147042304/147042304 (71798 sectors).

___
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"


Slave ports

2011-11-08 Thread Beñat Gonzalez Etxepare
Hello,

I am in the process of making a new port of some application, but I
have a problem with dependencies. The building process of this port
depends in some other port. The problem is they must be built with the
same options (GTK2 or QT in this case).

I have been told the answer for this may be to create a slave port,
but I can't find much information about them (there is no explanation
of what they are in the porter's handbook, and searching through the
web I have not been able to find anything useful either).

Can somebody point me to the right manual pages or some other port
which can serve as an example?


Thanks in advance.
___
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: Slave ports

2011-11-08 Thread Sam Cassiba

On 11/08/11 11:09, Beñat Gonzalez Etxepare wrote:

Hello,

I am in the process of making a new port of some application, but I
have a problem with dependencies. The building process of this port
depends in some other port. The problem is they must be built with the
same options (GTK2 or QT in this case).

I have been told the answer for this may be to create a slave port,
but I can't find much information about them (there is no explanation
of what they are in the porter's handbook, and searching through the
web I have not been able to find anything useful either).

Can somebody point me to the right manual pages or some other port
which can serve as an example?


Thanks in advance.


There are some ports under net-p2p that have qt and gtk slave ports.  A 
couple others I can think of off the top of my head are apache22 and 
php5.  Those areas should be good starting places to look over to give 
you an idea of how to do it.


--
Sam Cassiba 
___
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: Trivial conformity thing...

2011-11-08 Thread Matthew Seaman

On 07/11/2011 00:47, Doug Barton wrote:

Thanks for reporting this. FYI your pattern missed a few, and picked up
a few false positives in the perl ports with WWW::, but I fixed all the
ones I could find. (Of course that's not saying I didn't miss a few too.)


Some more nit-picking:

Here the pkg-descr WWW: data are not correctly formed URLs:

% cut -d '|' -f 2,10 < INDEX-8 | grep -v '|\(http\|ftp\|$\)'
/usr/ports/textproc/rubygem-tidy|tidy.rubyforge.org
/usr/ports/x11-wm/mutter|-


Here the CATEGORIES variable ends up with leading whitespace:

% cut -d '|' -f 2,7 < INDEX-8 | grep '| '
/usr/ports/www/geolizer| www

This seems to be because although this is a slave port of www/webalizer, 
this port's Makefile contains:


CATEGORIES=

Cheers

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
___
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: Trivial conformity thing...

2011-11-08 Thread Eitan Adler
On Tue, Nov 8, 2011 at 4:50 PM, Matthew Seaman
 wrote:
> Here the pkg-descr WWW: data are not correctly formed URLs:

fixed these.

> Here the CATEGORIES variable ends up with leading whitespace:

Someone else can fix these ;)


-- 
Eitan Adler
___
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"


kdemultimedia-4.7.2 fails to build on 9-current

2011-11-08 Thread Aric Gregson
Hello,

I have not found reference to a similar failure on the web and am wondering 
how to complete the build. I am using portmaster to build the ports on 
FreeBSD 9.0-CURRENT #0: Tue Jul 19 16:18:20 PDT 2011. I have followed the 
instructions on KDE upgrade in /usr/ports/UPGRADING and am slowly building 
KDE back, but kdemultimedia4 fails here consistently, any suggestions are 
greatly appreciated.

thanks, Aric

==

[ 85%] Building CXX object juk/CMakeFiles/juk.dir/dynamicplaylist.o
In file included from /usr/local/include/qt4/Qt3Support/Q3IconView:1,
 from /usr/local/kde4/include/k3iconview.h:23,
 from 
/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/juk/covericonview.h:19,
 from 
/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/juk/covericonview.cpp:16:
/usr/local/include/qt4/Qt3Support/q3scrollview.h:224: warning: 'virtual void 
Q3ScrollView::drawContents(QPainter*)' was hidden
/usr/local/include/qt4/Qt3Support/q3iconview.h:444: warning:   by 'virtual 
void Q3IconView::drawContents(QPainter*, int, int, int, int)'
[ 85%] Building CXX object juk/CMakeFiles/juk.dir/filehandle.o
[ 85%] Building CXX object juk/CMakeFiles/juk.dir/folderplaylist.o
[ 85%] Building CXX object juk/CMakeFiles/juk.dir/webimagefetcher.o
[ 86%] Building CXX object juk/CMakeFiles/juk.dir/webimagefetcherdialog.o
[ 86%] Building CXX object juk/CMakeFiles/juk.dir/historyplaylist.o
[ 86%] Building CXX object kscd/CMakeFiles/kscd.dir/PlayerAdaptor.o
[ 86%] Building CXX object kscd/CMakeFiles/kscd.dir/TracklistAdaptor.o
[ 86%] Building CXX object juk/CMakeFiles/juk.dir/k3bexporter.o
[ 87%] Building CXX object juk/CMakeFiles/juk.dir/keydialog.o
[ 87%] Building CXX object juk/CMakeFiles/juk.dir/main.o
[ 87%] Building CXX object juk/CMakeFiles/juk.dir/mediafiles.o
[ 88%] Building CXX object juk/CMakeFiles/juk.dir/nowplaying.o
[ 88%] Building CXX object juk/CMakeFiles/juk.dir/playlistbox.o
[ 90%] Building CXX object juk/CMakeFiles/juk.dir/playlistexporter.o
[ 90%] Building CXX object juk/CMakeFiles/juk.dir/playlistinterface.o
[ 90%] Building CXX object juk/CMakeFiles/juk.dir/playlistitem.o
[ 90%] Building CXX object juk/CMakeFiles/juk.dir/playlistsearch.o
[ 90%] Building CXX object juk/CMakeFiles/juk.dir/searchplaylist.o
[ 90%] Building CXX object juk/CMakeFiles/juk.dir/slideraction.o
[ 91%] Building CXX object juk/CMakeFiles/juk.dir/splashscreen.o
[ 91%] Building CXX object juk/CMakeFiles/juk.dir/sortedstringlist.o
[ 91%] Building CXX object juk/CMakeFiles/juk.dir/statuslabel.o
[ 91%] Building CXX object juk/CMakeFiles/juk.dir/stringshare.o
[ 92%] Building CXX object juk/CMakeFiles/juk.dir/systemtray.o
[ 92%] Building CXX object juk/CMakeFiles/juk.dir/tag.o
[ 92%] Building CXX object juk/CMakeFiles/juk.dir/tagguesser.o
[ 93%] Building CXX object juk/CMakeFiles/juk.dir/tagrenameroptions.o
[ 93%] Building CXX object juk/CMakeFiles/juk.dir/tagtransactionmanager.o
[ 93%] Building CXX object juk/CMakeFiles/juk.dir/tracksequenceiterator.o
[ 93%] Building CXX object juk/CMakeFiles/juk.dir/tracksequencemanager.o
[ 93%] Building CXX object juk/CMakeFiles/juk.dir/upcomingplaylist.o
[ 94%] Building CXX object juk/CMakeFiles/juk.dir/treeviewitemplaylist.o
[ 94%] Building CXX object juk/CMakeFiles/juk.dir/ktrm.o
[ 94%] Building CXX object juk/CMakeFiles/juk.dir/viewmode.o
[ 94%] Building CXX object juk/CMakeFiles/juk.dir/juk.o
/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/juk/ktrm.cpp:45:27:
 
error: tunepimp/tp_c.h: No such file or directory
[ 94%] Building CXX object juk/CMakeFiles/juk.dir/juk_automoc.o
[ 94%] Building CXX object juk/CMakeFiles/juk.dir/tagguesserconfigdlg.o
[ 94%] Building CXX object juk/CMakeFiles/juk.dir/musicbrainzquery.o
[ 95%] Building CXX object juk/CMakeFiles/juk.dir/trackpickerdialog.o
[ 95%] Building CXX object juk/CMakeFiles/juk.dir/categoryreaderinterface.o
[ 95%] Building CXX object juk/CMakeFiles/juk.dir/filerenameroptions.o

[ 95%] Building CXX object juk/CMakeFiles/juk.dir/filerenameroptions.o
/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/juk/ktrm.cpp:60: 
error: variable or field 'TRMNotifyCallback' declared void
/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/juk/ktrm.cpp:60: 
error: 'tunepimp_t' was not declared in this scope
/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/juk/ktrm.cpp:60: 
error: expected primary-expression before 'void'
/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/juk/ktrm.cpp:60: 
error: 'TPCallbackEnum' was not declared in this scope
/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/juk/ktrm.cpp:60: 
error: expected primary-expression before 'int'
/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/juk/ktrm.cpp:130: 
error: ISO C++ forbids declaration of 'tunepimp_t' with no type
/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/juk/ktrm.cpp:130: 
error: expected ';' before '&' token
/usr/p

Re: kdemultimedia-4.7.2 fails to build on 9-current

2011-11-08 Thread Max Brazhnikov
On Tue, 8 Nov 2011 15:43:56 -0800, Aric Gregson wrote:
> /usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.7.2/juk/ktrm.cpp:
> 45:27:  error: tunepimp/tp_c.h: No such file or directory

Please show us configure output for kdemultimedia4.

Max
___
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"