[kde-freebsd] [SVN Commit] branches/qt-4.7/multimedia/qt4-multimedia

2010-05-22 Thread Alberto Villa
SVN commit 6212 by xzhayon:

- Fix build and plist.



 M  +10 -9 Makefile  
 M  +96 -0 pkg-plist  


___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] [SVN Commit] branches/qt-4.7/multimedia/qt4-multimedia

2010-05-22 Thread Alberto Villa
On Saturday 22 May 2010 09:02:07 Alberto Villa wrote:
> SVN commit 6212 by xzhayon:
> 
> - Fix build and plist.

this adds files for qtmediaservices... it's part of the qtmultimedia module 
(and it requires qtmultimedia), but do you want me to split them in two 
ports (qtmultimedia apparently doesn't require qtmediaservices)?
-- 
Alberto Villa, FreeBSD committer 
http://people.FreeBSD.org/~avilla

I had no shoes and I pitied myself.  Then I met a man who had no feet,
so I took his shoes.
-- Dave Barry


signature.asc
Description: This is a digitally signed message part.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] Building kde4 with kde3 installed still supported?

2010-05-22 Thread Jan Henrik Sylvester
On 05/21/10 22:26, Max Brazhnikov wrote:
> On Fri, 21 May 2010 20:33:38 +0200, Jan Henrik Sylvester wrote:
>> - Is kde4 supposed to build with kde3 present?
>> - Is kde4 supposed to build with qt3 present but no kde3?
> Kde4 ports are supposed to build with qt3, kdelibs3 and kdebase3 at least on
> 8-STABLE (probably, I should add "at least on my box" :). I still have one
> kde3 dependent port, so until it gets ported to kde4 I try to maintain
> compatibility. After then I think we start deprecating kde3 and qt3 ports,
> cause I'm the last from kde@, who is interested in kde3 ports.

Ok. I just had a look if I could get rid of kde3 and maybe even qt3: I 
have no problem getting rid of desktopbsd-tools-1.6_5 and kphone-4.2_5. 
k9copy-1.0.4_7, kaffeine-0.8.7_7, and koctave-0.70_4 can be replaced 
with multimedia/k9copy-kde4, multimedia/kaffeine-devel, and 
math/qtoctave, I guess. I have found nothing to replace 
kmastermind-2.2_6 and pdfedit-0.4.1_5, but they are not important. That 
leaves k3b-1.0.5_5 and twinkle-1.4.2_4: For k3b, there is an qt4 alpha, 
but no port of it. Twinkle is really the only SIP phone that works for 
me (I have not really checked recently) -- there is no qt4 port, yet.

I need kdelibs3 as long there is no k3b replacement and qt3 as long as 
Twinkle is not ported to qt4. I guess I could get rid of all the other 
kde3 ports.

>> I got used to moving away all headers from qt-3.3.8_12 before
>> portupgrading any kde4 port, but for the latest kde4 build that was not
>> enough.
>>
>> For example, the problem I reported in
>> http://mail.kde.org/pipermail/kde-freebsd/2010-May/008330.html was
>> libkgetcore.so.5.0.1 from net/kdenetwork4 linking against libqgpgme.so.0
>> from kdepim-3.5.10_7.
> Sorry, missed your mail. Please test the patch attached. Apply it to
> deskutils/kdepimlibs4, rebuild kdepimlibs4 and build kdenetwork4.

I tried to build deskutils/kdepimlibs4 patched, but I only got:

In file included from 
/usr/local/include/boost/function/detail/prologue.hpp:17,
  from /usr/local/include/boost/function.hpp:24,
  from 
/usr/local/include/boost/iterator/transform_iterator.hpp:10,
  from 
/usr/local/include/boost/algorithm/string/iter_find.hpp:17,
  from 
/usr/local/include/boost/algorithm/string/split.hpp:16,
  from 
/usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.4.3/gpgme++/defaultassuantransaction.cpp:29:
/usr/local/include/boost/function/function_base.hpp:27:50: error: 
boost/type_traits/composite_traits.hpp: No such file or directory

>> Anecdotal: During the last big portupgrade, I got so frustrated with
>> multiple recent gnome related ports not building with security/openssl
>> installed, kde3 not building due to security/openssl installed, kde4 not
>> building due to kde3 installed, and so on. Earlier, I tried to
>> investigate fixes or at least report these problems, but this time I
>> have not even kept track due to the amount of fiddling involved -- and I
>> have always been following UPDATING. I guess it is time to learn how to
>> set up a ports tinderbox and stop worrying...
> Tinderbox has one drawback -- it does not allow to test ports in "dirty"
> environment :)

Yeah, that is the point. I am starting to doubt if investigating port 
builds in a dirty environment is really worse it.

Thanks for your help. I will continue to report kde4 build failures with 
kde3 installed as long as you do not tell me that you got tired of 
fixing these.

Cheers,
Jan Henrik
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [SVN Commit] branches/qt-4.7/multimedia

2010-05-22 Thread Alberto Villa
SVN commit 6213 by xzhayon:

- Update phonon IGNORE description.



 M  +1 -1  qt4-phonon-gst/Makefile  
 M  +1 -1  qt4-phonon/Makefile  


___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] Building kde4 with kde3 installed still supported?

2010-05-22 Thread Max Brazhnikov
On Sat, 22 May 2010 10:28:46 +0200, Jan Henrik Sylvester wrote:
> Ok. I just had a look if I could get rid of kde3 and maybe even qt3: I 
> have no problem getting rid of desktopbsd-tools-1.6_5 and kphone-4.2_5. 
> k9copy-1.0.4_7, kaffeine-0.8.7_7, and koctave-0.70_4 can be replaced 
> with multimedia/k9copy-kde4, multimedia/kaffeine-devel, and 
> math/qtoctave, I guess. I have found nothing to replace 
> kmastermind-2.2_6 and pdfedit-0.4.1_5, but they are not important. That 
> leaves k3b-1.0.5_5 and twinkle-1.4.2_4: For k3b, there is an qt4 alpha, 
> but no port of it. Twinkle is really the only SIP phone that works for 
> me (I have not really checked recently) -- there is no qt4 port, yet.

We have port for k3b-1.91.0rc2 in area51:
http://area51.pcbsd.org/trunk/area51/PORTS/sysutils/k3b-kde4/

Testers welcome! If it works more or less fine, it can be committed to ports 
anytime.

> I tried to build deskutils/kdepimlibs4 patched, but I only got:
> 
> In file included from 
> /usr/local/include/boost/function/detail/prologue.hpp:17,
>   from /usr/local/include/boost/function.hpp:24,
>   from 
> /usr/local/include/boost/iterator/transform_iterator.hpp:10,
>   from 
> /usr/local/include/boost/algorithm/string/iter_find.hpp:17,
>   from 
> /usr/local/include/boost/algorithm/string/split.hpp:16,
>   from 
> 
/usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.4.3/gpgme++/defaultassuantransaction.cpp:29:
> /usr/local/include/boost/function/function_base.hpp:27:50: error: 
> boost/type_traits/composite_traits.hpp: No such file or directory

composite_traits.hpp comes with boost-libs. Make sure you have boost-libs and 
boost-python-libs installed and they are not corrupted. Or provide failed 
command with include paths from buildlog.

> Thanks for your help. I will continue to report kde4 build failures with 
> kde3 installed as long as you do not tell me that you got tired of 
> fixing these.

Welcome :)

Max
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] Building kde4 with kde3 installed still supported?

2010-05-22 Thread Andriy Gapon
on 21/05/2010 23:26 Max Brazhnikov said the following:
> On Fri, 21 May 2010 20:33:38 +0200, Jan Henrik Sylvester wrote:
[snip]
>> For example, the problem I reported in 
>> http://mail.kde.org/pipermail/kde-freebsd/2010-May/008330.html was 
>> libkgetcore.so.5.0.1 from net/kdenetwork4 linking against libqgpgme.so.0 
>> from kdepim-3.5.10_7.
> Sorry, missed your mail. Please test the patch attached. Apply it to 
> deskutils/kdepimlibs4, rebuild kdepimlibs4 and build kdenetwork4.

Just want to say that this was the only problem for me when I installed KDE4 two
days ago while having KDE3 already installed.

-- 
Andriy Gapon
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] Building kde4 with kde3 installed still supported?

2010-05-22 Thread Andriy Gapon
on 22/05/2010 12:43 Max Brazhnikov said the following:
> We have port for k3b-1.91.0rc2 in area51:
> http://area51.pcbsd.org/trunk/area51/PORTS/sysutils/k3b-kde4/
> 
> Testers welcome! If it works more or less fine, it can be committed to ports 
> anytime.

Commit it already!
It's been sitting there for long enough and we won't see proper amount of
diverse testing until it's in the ports tree.
After all, nobody would _force_ people to use this port, they can those to test
it at their own will.

-- 
Andriy Gapon
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] Catch up with xz import

2010-05-22 Thread Florent Thoumie
On Wed, May 19, 2010 at 6:42 PM, Christian Weisgerber  wrote:
> (This goes to all the maintainers of ports with an archivers/xz
> dependency.)
>
> The xz utils and lzma library have been imported into base for
> 9.0-CURRENT and 8.0-STABLE.  The patch below makes the dependency
> on the archivers/xz port conditional on OSVERSION.
>
> I have not bumped PORTREVISION.  (People might update the ports
> right now, but base only later, so incrementing PORTREVISION doesn't
> really help, I think.)
>
> Please check and comment.  I intend to commit this soon.

You may want to hold off the commit. Martin Matuska (mm@, cc'ed) has a
patch for bsd.port.mk (ports/146329) that is a superset of yours.

-- 
Florent Thoumie
f...@freebsd.org
FreeBSD Committer
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] Building kde4 with kde3 installed still supported?

2010-05-22 Thread Jan Henrik Sylvester
On 05/22/10 11:43, Max Brazhnikov wrote:
> On Sat, 22 May 2010 10:28:46 +0200, Jan Henrik Sylvester wrote:
> We have port for k3b-1.91.0rc2 in area51:
> http://area51.pcbsd.org/trunk/area51/PORTS/sysutils/k3b-kde4/
>
> Testers welcome! If it works more or less fine, it can be committed to ports
> anytime.

Thanks. I will have a look at that, later (if it does not require 
anything else from outside mainline ports).

>> I tried to build deskutils/kdepimlibs4 patched, but I only got:
>>
>> In file included from
>> /usr/local/include/boost/function/detail/prologue.hpp:17,
>>from /usr/local/include/boost/function.hpp:24,
>>from
>> /usr/local/include/boost/iterator/transform_iterator.hpp:10,
>>from
>> /usr/local/include/boost/algorithm/string/iter_find.hpp:17,
>>from
>> /usr/local/include/boost/algorithm/string/split.hpp:16,
>>from
>>
> /usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.4.3/gpgme++/defaultassuantransaction.cpp:29:
>> /usr/local/include/boost/function/function_base.hpp:27:50: error:
>> boost/type_traits/composite_traits.hpp: No such file or directory
>
> composite_traits.hpp comes with boost-libs. Make sure you have boost-libs and
> boost-python-libs installed and they are not corrupted. Or provide failed
> command with include paths from buildlog.

Very weird. I can now build it. I did a portsnap update and portupgrade 
of some ports (devel/libdaemon, audio/libaudiofile, devel/libsigc++20, 
devel/gobject-introspection, security/qca-ossl, graphics/clutter, 
audio/libcanberra, graphics/py-clutter, editors/emacs, misc/kdeedu4, 
net-im/libpurple, net-im/pidgin) in between. I reverted Marcus' libical 
shlib bump for deskutils/kdepimlibs4 and reapplied your patch. I do not 
see how any of this could help to find composite_traits.hpp, which was 
there all the time unmodified. Strange.

I can confirm that with deskutils/kdepimlibs4 patched, net/kdenetwork4 
builds with all of kde3 installed.

You did misspell PORTREVISION in your patch, but since Marcus already 
bumped the PORTREVISION and -- at least for me -- the port currently 
does not build due to libical.so.44 missing, that part can be left out, 
I guess.

Since Andriy Gapon said that he had no further problems with kde4 
building in the presence of kde3, I probably have confused the effects 
of some of the tweaks I made during the last big portupgrade and moving 
away the qt3 headers was not necessary after all. There were some more 
kde4 ports stuck, but maybe they got fixed with my rebuild of 
security/openssl WITH_MD2 and not by the temporary removal of the qt3 
headers.

Thanks again,
Jan Henrik
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] Building kde4 with kde3 installed still supported?

2010-05-22 Thread Jan Henrik Sylvester
On 05/22/10 11:43, Max Brazhnikov wrote:
> We have port for k3b-1.91.0rc2 in area51:
> http://area51.pcbsd.org/trunk/area51/PORTS/sysutils/k3b-kde4/
>
> Testers welcome! If it works more or less fine, it can be committed to ports
> anytime.

libk3blib.so.6.0.0 does link to /usr/local/lib/libkcddb.so.1 from 
kdemultimedia-3.5.10_4.

After moving away /usr/local/lib/libkcddb.* and 
/usr/local/include/libkcddb, I was able to build, install, and run 
sysutils/k3b-kde4 (I have not actually done anything with it).

Cheers,
Jan Henrik
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] Building kde4 with kde3 installed still supported?

2010-05-22 Thread Bartosz Fabianowski
> Testers welcome! If it works more or less fine, it can be committed to ports
> anytime.

I have had the area51 port of k3b installed for a while now (this box 
has never had any KDE3 components on it whatsoever). K3b for KDE4 does 
build and run fine but it is unable to burn CDs or DVDs.

That is a known error and I have seen the cause analyzed somewhere - but 
nobody has come forward with a patch to fix it yet. If I remember 
correctly, it boils down to k3b trying to address drives in a way that 
is not supported under FreeBSD. Hence, the command line tools it runs in 
the background get confused and error out.

- Bartosz
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] Building kde4 with kde3 installed still supported?

2010-05-22 Thread Dima Panov
On Sunday 23 May 2010 01:15:36 Bartosz Fabianowski wrote:
> > Testers welcome! If it works more or less fine, it can be committed to ports
> > anytime.
> 
> I have had the area51 port of k3b installed for a while now (this box 
> has never had any KDE3 components on it whatsoever). K3b for KDE4 does 
> build and run fine but it is unable to burn CDs or DVDs.
> 
> That is a known error and I have seen the cause analyzed somewhere - but 
> nobody has come forward with a patch to fix it yet. If I remember 
> correctly, it boils down to k3b trying to address drives in a way that 
> is not supported under FreeBSD. Hence, the command line tools it runs in 
> the background get confused and error out.

Try to set additional parameter to cdrecord in k3b settings:

dev=1,0,0 (see to 'camcontrol devlist' to get appropriate lun)

-- 
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia  | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter.com:fluffy_khv | Skype: dima.panov | Jabber.org/GTalk/QIP.ru:fluffy.khv
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] Fwd: Question about QT

2010-05-22 Thread Alexander Yerenkow
Hello guys!
I've already ported qjambi-4.5 to FreeBSD, but unfortunately, 4.5 was
already abandoned at the time :D

I'm trying to port QT-Jambi to QT 4.6 or QT 4.7 at FreeBSD.

To make this, I'm doing like specified in this manual (bottom of page
http://qt.gitorious.org/qt-jambi/pages/BuildingFromGit)

./configure -no-qt3support -release -shared -prefix $PWD -D
QT_JAMBI_BUILD -fast -nomake demos -nomake examples -release
gmake

But seems that qt is not fully ported, to make this happen.
I'm getting same errors with qtgui (and with qtwebkit, and with something
else too probably) in both fully patched latest 4.6 and clean 4.7-beta1;
like this:

gmake[1]: Entering directory
`/usr/home/user/qt47/qt-everywhere-opensource-src-4.7.0-beta1/src/gui'
g++ -pipe -g -D_REENTRANT -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -D_THREAD_SAFE
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/loc
al/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0
-I/usr/local/include -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/in
clude/pixman-1 -I/usr/local/include/freetype2 -O2 -fvisibility=hidden
-fvisibility-inlines-hidden -Wall -W -pthread -D_THREAD_SAFE
-I/usr/local/include -I/usr/local/include/free
type2 -fPIC -DQT_SHARED -DQT_JAMBI_BUILD -DQT_BUILD_GUI_LIB
-DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS
-DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -D
QT_USE_FAST_CONCATENATION -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA
-DQT_NO_STYLE_WINDOWSXP -DQT_
NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60
-DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I../../mkspecs/free
bsd-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui
-I.rcc/release-shared -I../3rdparty/xorg -I/usr/local/include/freetype2
-I/usr/local/include/freetype2 -
I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared
-I/usr/local/include -I.uic/release-shared -I/usr/local/include -x
c++-header -c kernel/qt_gui_pch.h -o .pch/release-sh
ared/QtGui.gch/c++
In file included from ../../include/QtCore/qatomic_arch.h:1,
 from
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:227,
 from ../../include/QtCore/qbasicatomic.h:1,
 from
../../include/QtCore/../../src/corelib/thread/qatomic.h:46,
 from ../../include/QtCore/qatomic.h:1,
 from
../../include/QtCore/../../src/corelib/tools/qbytearray.h:45,
 from ../../include/QtCore/qbytearray.h:1,
 from
../../include/QtCore/../../src/corelib/tools/qstring.h:46,
 from ../../include/QtCore/qstring.h:1,
 from
../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
 from ../../include/QtCore/qobject.h:1,
 from
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:45,
 from ../../include/QtCore/qcoreapplication.h:1,
 from kernel/qt_gui_pch.h:61:
../../include/QtCore/../../src/corelib/arch/qatomic_arch.h:92:4: error:
#error "Qt has not been ported to this architecture"
In file included from ../../include/QtCore/qnamespace.h:1,
 from
../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:45,
 from ../../include/QtCore/qobjectdefs.h:1,
 from
../../include/QtCore/../../src/corelib/kernel/qobject.h:47,
 from ../../include/QtCore/qobject.h:1,
 from
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:45,
 from ../../include/QtCore/qcoreapplication.h:1,
 from kernel/qt_gui_pch.h:61:

We discussed this with Fluffy, and It would be great, if anyone else could
look into it too.
Thanks!


-- 
Regards,
Alexander Yerenkow
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [SVN Commit] area51/KDE/deskutils/kdepimlibs4

2010-05-22 Thread Max Brazhnikov
SVN commit 6214 by makc:

Sync with ports

 M  +4 -2  Makefile  
 A files/patch-cmake__modules__FindQGpgme.cmake  


___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [SVN Commit] area51/KDE/deskutils/kdepim4

2010-05-22 Thread Max Brazhnikov
SVN commit 6215 by makc:

Remove work around, kdepimlibs4 was fixed.

 M  +0 -3  Makefile  


___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] Building kde4 with kde3 installed still supported?

2010-05-22 Thread Andriy Gapon
on 22/05/2010 18:27 Dima Panov said the following:
> On Sunday 23 May 2010 01:15:36 Bartosz Fabianowski wrote:
>>> Testers welcome! If it works more or less fine, it can be committed to ports
>>> anytime.
>> I have had the area51 port of k3b installed for a while now (this box 
>> has never had any KDE3 components on it whatsoever). K3b for KDE4 does 
>> build and run fine but it is unable to burn CDs or DVDs.
>>
>> That is a known error and I have seen the cause analyzed somewhere - but 
>> nobody has come forward with a patch to fix it yet. If I remember 
>> correctly, it boils down to k3b trying to address drives in a way that 
>> is not supported under FreeBSD. Hence, the command line tools it runs in 
>> the background get confused and error out.
> 
> Try to set additional parameter to cdrecord in k3b settings:
> 
> dev=1,0,0 (see to 'camcontrol devlist' to get appropriate lun)

Or select growisofs as burning tool, or use my patch for enabling device name
use in cdrecord.
BTW, there are some problems with k3b (both kde3 and kde4) and ahci for which I
also have posted patches.


-- 
Andriy Gapon
--- libscg/scsi-bsd.c.orig  2010-04-20 21:11:33.777268501 +0300
+++ libscg/scsi-bsd.c   2010-04-21 20:17:24.866808803 +0300
@@ -767,13 +767,6 @@
int fd;
 
seterrno(0);
-   if ((device != NULL && *device != '\0') || (busno == -2 && tgt == -2)) {
-   errno = EINVAL;
-   if (scgp->errstr)
-   js_snprintf(scgp->errstr, SCSI_ERRSTR_SIZE,
-   "Open by 'devname' not supported on this OS");
-   return (-1);
-   }
 
if (scgp->local == NULL) {
scgp->local = malloc(sizeof (struct scg_local));
@@ -786,6 +779,16 @@
}
 
 
+   if (busno == -2 && tgt == -2) {
+   if (device == NULL || *device == '\0')
+   return (0);
+   scglocal(scgp)->cam_devices[0] = cam_open_device(device, 
O_RDWR);
+   if (scglocal(scgp)->cam_devices[0] == NULL)
+   return (-1);
+   nopen++;
+   return (nopen);
+   }
+
/*
 * If we're not scanning the bus, just open one device.
 */
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] Fwd: Question about QT

2010-05-22 Thread Raphael Kubo da Costa
On Saturday 22 May 2010 12:17:47 Alexander Yerenkow wrote:
> #error "Qt has not been ported to this architecture"

IIRC, that usually happens when the compiler mixes your system-wide (and qt3) 
headers with the ones being built.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [SVN Commit] branches/qt-4.7/www/qt4-webkit

2010-05-22 Thread Alberto Villa
SVN commit 6216 by xzhayon:

- Fix build.



 M  +9 -7  Makefile  
 M  +10 -10files/patch-src-3rdparty-webkit-JavaScriptCore-runtime_JSValue.h 
 


___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information