Re: [kde-freebsd] "undefined reference to `KVersionControlPlugin2::staticMetaObject'" in kde4-baseapps port

2012-07-24 Thread Raphael Kubo da Costa
On Wednesday, July 25, 2012 07:04:12 AM Graham Menhennitt wrote:
> On 25/07/2012 00:08, Raphael Kubo da Costa wrote:
> > Graham Menhennitt  writes:
> >> The output of "CMAKE_VERBOSE=1 make" is at
> >> http://menhennitt.com.au/typescript.bz2
> >> 
> >> "make config" shows that I have Konsole enable and KWrite disabled.
> > 
> > Hmm, there's nothing weird apart from us having libkonq in a separate
> > port and it thus not having its full path passed to the linker.
> > 
> > Do you have any other libkonq.so around, perhaps in /usr/local/lib?
> > 
> > Can you post the output of `nm -AC /usr/local/kde4/lib/libkonq.so | grep
> > KVersionControlPlugin2'?
> 
> % find / -name libkonq.so
> /usr/local/kde4/lib/libkonq.so
> /usr/ports/x11/kde4-baseapps/work/kde-baseapps-4.8.4/build/lib/libkonq.so
> % nm -AC /usr/local/kde4/lib/libkonq.so | grep KVersionControlPlugin2
> nm: /usr/local/kde4/lib/libkonq.so: no symbols
> %

Hmm, this is weird. Someone else has reported the same problem [1], but in his 
case there was a dangling libkonq.so in /usr/local/lib.

Per [2], can you confirm you have followed the update procedures described in 
the 20120525 entry in UPDATING?

[1] http://article.gmane.org/gmane.comp.kde.freebsd/21894
[2] http://article.gmane.org/gmane.comp.kde.freebsd/21901
___
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] "undefined reference to `KVersionControlPlugin2::staticMetaObject'" in kde4-baseapps port

2012-07-24 Thread Graham Menhennitt

On 25/07/2012 00:08, Raphael Kubo da Costa wrote:

Graham Menhennitt  writes:

The output of "CMAKE_VERBOSE=1 make" is at
http://menhennitt.com.au/typescript.bz2

"make config" shows that I have Konsole enable and KWrite disabled.

Hmm, there's nothing weird apart from us having libkonq in a separate
port and it thus not having its full path passed to the linker.

Do you have any other libkonq.so around, perhaps in /usr/local/lib?

Can you post the output of `nm -AC /usr/local/kde4/lib/libkonq.so | grep
KVersionControlPlugin2'?


% find / -name libkonq.so
/usr/local/kde4/lib/libkonq.so
/usr/ports/x11/kde4-baseapps/work/kde-baseapps-4.8.4/build/lib/libkonq.so
% nm -AC /usr/local/kde4/lib/libkonq.so | grep KVersionControlPlugin2
nm: /usr/local/kde4/lib/libkonq.so: no symbols
%

Graham

___
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] Can't upgrade kde-baseapps-4.7.4_1 to 4.8.4

2012-07-24 Thread joaoBR
Em Mon, 23 Jul 2012 21:29:45 -0500
sindrome  escreveu:

> I can't upgrade kde-baseapps-4.7.4_1 to 4.8.4  can anyone help
> 

that's right, your are not supposed to

you need to de-install it first and then install it again

libkonq is separated now

read this section in UPDATING: 20120525:



-- 


João Martins (JoaoBR)

Infomatik Development Team
http://wipserver.matik.com.br
+55 11 4249.




signature.asc
Description: PGP signature
___
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] Can't upgrade kde-baseapps-4.7.4_1 to 4.8.4

2012-07-24 Thread Raphael Kubo da Costa
On Tuesday, July 24, 2012 12:06:22 PM Sindrome wrote:
> Hi Raphael,
> 
> Thanks for writing back.
> 
> Here's the output from your command:
> 
> oz:105:/usr/local/lib# nm -AC /usr/local/kde4/lib/libkonq.so | grep
> KVersionControlPlugin2
> nm: /usr/local/kde4/lib/libkonq.so: no symbols
> 
> 
> In /usr/local/lib I have the following:
> 
> oz:103:/usr/local/lib# ll libkonq*
> lrwxr-xr-x  1 root  wheel  12 Sep  5  2010 libkonq.so@ -> libkonq.so.7
> lrwxr-xr-x  1 root  wheel  16 Sep  5  2010 libkonq.so.7@ ->
> libkonq.so.7.0.1
> -rwxr-xr-x  1 root  wheel  259968 Sep  5  2010 libkonq.so.7.0.1*

Interesting, so you seem to have two copies of libkonq.so around in different 
directories. I guess the one in /usr/local/lib is being picked up.

Can you run `pkg_info -W /usr/local/lib/libkonq.so' to check what package owns 
that file?
___
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] Can't upgrade kde-baseapps-4.7.4_1 to 4.8.4

2012-07-24 Thread Sindrome
Hi Raphael,

Thanks for writing back.  

Here's the output from your command:

oz:105:/usr/local/lib# nm -AC /usr/local/kde4/lib/libkonq.so | grep
KVersionControlPlugin2
nm: /usr/local/kde4/lib/libkonq.so: no symbols


In /usr/local/lib I have the following:

oz:103:/usr/local/lib# ll libkonq*
lrwxr-xr-x  1 root  wheel  12 Sep  5  2010 libkonq.so@ -> libkonq.so.7
lrwxr-xr-x  1 root  wheel  16 Sep  5  2010 libkonq.so.7@ ->
libkonq.so.7.0.1
-rwxr-xr-x  1 root  wheel  259968 Sep  5  2010 libkonq.so.7.0.1*
lrwxr-xr-x  1 root  wheel  25 Sep  5  2010 libkonqsidebarplugin.so@ ->
libkonqsidebarplugin.so.5
lrwxr-xr-x  1 root  wheel  29 Sep  5  2010 libkonqsidebarplugin.so.5@ ->
libkonqsidebarplugin.so.5.0.1
-rwxr-xr-x  1 root  wheel   25656 Sep  5  2010
libkonqsidebarplugin.so.5.0.1*
lrwxr-xr-x  1 root  wheel  24 Sep  5  2010 libkonquerorprivate.so@ ->
libkonquerorprivate.so.5
lrwxr-xr-x  1 root  wheel  28 Sep  5  2010 libkonquerorprivate.so.5@ ->
libkonquerorprivate.so.5.0.1
-rwxr-xr-x  1 root  wheel  142008 Sep  5  2010 libkonquerorprivate.so.5.0.1*




-Original Message-
From: Raphael Kubo da Costa [mailto:kub...@gmail.com] On Behalf Of Raphael
Kubo da Costa
Sent: Tuesday, July 24, 2012 9:10 AM
To: sindrome
Cc: k...@freebsd.org
Subject: Re: [kde-freebsd] Can't upgrade kde-baseapps-4.7.4_1 to 4.8.4

sindrome  writes:

> Linking CXX executable dolphin
> ../../lib/libdolphinprivate.so.5.0.1: undefined reference to 
> `KVersionControlPlugin2::staticMetaObject'

Do you have any other libkonq.so around, perhaps in /usr/local/lib?

Can you post the output of `nm -AC /usr/local/kde4/lib/libkonq.so | grep
KVersionControlPlugin2'?

___
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] Can't upgrade kde-baseapps-4.7.4_1 to 4.8.4

2012-07-24 Thread Raphael Kubo da Costa
sindrome  writes:

> Linking CXX executable dolphin
> ../../lib/libdolphinprivate.so.5.0.1: undefined reference to
> `KVersionControlPlugin2::staticMetaObject'

Do you have any other libkonq.so around, perhaps in /usr/local/lib?

Can you post the output of `nm -AC /usr/local/kde4/lib/libkonq.so | grep
KVersionControlPlugin2'?
___
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] "undefined reference to `KVersionControlPlugin2::staticMetaObject'" in kde4-baseapps port

2012-07-24 Thread Raphael Kubo da Costa
(CC'ing the list again)

Graham Menhennitt  writes:
> The output of "CMAKE_VERBOSE=1 make" is at
> http://menhennitt.com.au/typescript.bz2
>
> "make config" shows that I have Konsole enable and KWrite disabled.

Hmm, there's nothing weird apart from us having libkonq in a separate
port and it thus not having its full path passed to the linker.

Do you have any other libkonq.so around, perhaps in /usr/local/lib?

Can you post the output of `nm -AC /usr/local/kde4/lib/libkonq.so | grep
KVersionControlPlugin2'?
___
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] review requests

2012-07-24 Thread Raphael Kubo da Costa
Alberto Villa  writes:

> Please, keep me CCed in new Solid review requests (especially those
> regarding HAL).

BTW, "CCed" in this case means having "Alberto Villa" in the "People"
section of the review request.
___
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] How to remove erroneous deps from pkgng

2012-07-24 Thread Baptiste Daroussin
On Mon, Jul 23, 2012 at 08:04:44PM -0400, Jason E. Hale wrote:
> On Monday, July 23, 2012 20:50:34 Baptiste Daroussin wrote:
> > Here is a plan for pkg-config, I hope it will statisfy everyone.
> > 
> > First we need to get rid of pkg-config, since 0.26 we can't boostrap it
> > anymore because it depends on glib which depends on pkg-config.
> > 
> > Hopefully we have a viable alternative.
> > 
> > What I will do is :
> > step 1/ introduce a new pkgconf port (https://github.com/nenolod/pkgconf)
> > which is 100% compatible with pkg-config and considers any incompatibility
> > as a bug.
> > 
> > along with this, I will introduce a new MACRO:
> > http://people.freebsd.org/~bapt/USE_PKGCONFIG.diff
> > 
> > USE_PKGCONFIG= yes or USE_PKGCONFIG= build
> > will bring pkgconf only has a build dependency
> > USE_PKGCONFIG= run
> > 
> > will bring pkgconf has a run dependency (some things like ruby wrapper or
> > perl wrapper)
> > 
> > USE_PKGCONFIG= both
> > will bring both run and build deps.
> > 
> > Why a MACRO, because some ports may need en environnement variable in
> > CONFIGURE_ENV
> > PKG_CONFIG=pkgconf do work correctly.
> > 
> > the USE_GNOME=  pkgconfig will be automatically add USE_PKGCONFIG= both
> > 
> > Yeah sorry for step one will keep pkgconf in both dependencies.
> > 
> > This is necessary because too much ports rely on one of their deps bringing
> > pkgconfig, and this concerns about 4k+ ports.
> > 
> > All the gnome one (mostly), all the xorg one (xproto bring pkgconfig) most
> > of the gtk ones, most of things depending on libxml2 and curl, from what I
> > have seen.
> > 
> > step 2/ advertise the maintainers to stop using USE_GNOME= pkgconfig but
> > rather switch to USE_PKGCONFIG, and do it actively.
> > 
> > setp 3/ drop USE_GNOME= pkgconfig from bsd.gnome.mk
> > 
> > when switching to USE_PKGCONFIG becare full about the ports that depend on
> > your ports to make sure, it doesn't expect pkgconfig being brought by your
> > port.
> > 
> > regards,
> > Bapt
> 
> I think it might be a good idea to factor out the pkg-config hacks provided 
> by 
> USE_GNOME=gnomehack as well, and expand it to work with CMake (or other build 
> systems if needed).  Most ports that install .pc files must be fixed to 
> install them in libdata instead of lib.
> 
> Jason E. Hale

That is a good idea, good be done after the switch to pkgconf.

It will need some volunteer :)

regards,
Bapt


pgp3pcgb2HfKS.pgp
Description: PGP signature
___
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] Can't upgrade kde-baseapps-4.7.4_1 to 4.8.4

2012-07-24 Thread sindrome
I can't upgrade kde-baseapps-4.7.4_1 to 4.8.4  can anyone help

Thanks


[ 96%] Building CXX object
dolphin/src/CMakeFiles/kdeinit_dolphin.dir/settings/services/servicessettingspage.o
[ 96%] Building CXX object
dolphin/src/CMakeFiles/kdeinit_dolphin.dir/settings/viewmodes/viewmodesettings.o
[ 96%] Building CXX object
dolphin/src/CMakeFiles/kdeinit_dolphin.dir/settings/viewmodes/viewsettingstab.o
[ 96%] Building CXX object
dolphin/src/CMakeFiles/kdeinit_dolphin.dir/dolphin_generalsettings.o
[ 96%] Building CXX object
dolphin/src/CMakeFiles/kdeinit_dolphin.dir/dolphin_searchsettings.o
[ 96%] Building CXX object
dolphin/src/CMakeFiles/kdeinit_dolphin.dir/dolphin_informationpanelsettings.o
[ 97%] Building CXX object
dolphin/src/CMakeFiles/kdeinit_dolphin.dir/dolphin_folderspanelsettings.o
[ 98%] Building CXX object
dolphin/src/CMakeFiles/kdeinit_dolphin.dir/dolphin_versioncontrolsettings.o
[ 98%] Building CXX object
dolphin/src/CMakeFiles/kdeinit_dolphin.dir/dolphin_compactmodesettings.o
[ 98%] Building CXX object
dolphin/src/CMakeFiles/kdeinit_dolphin.dir/dolphin_detailsmodesettings.o
[ 98%] Building CXX object
dolphin/src/CMakeFiles/kdeinit_dolphin.dir/dolphin_iconsmodesettings.o
Linking CXX shared library ../../lib/libkdeinit4_dolphin.so
[100%] Built target kdeinit_dolphin
Scanning dependencies of target dolphin
[100%] Building CXX object dolphin/src/CMakeFiles/dolphin.dir/dolphin_dummy.o
Linking CXX executable dolphin
../../lib/libdolphinprivate.so.5.0.1: undefined reference to
`KVersionControlPlugin2::staticMetaObject'
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/x11/kde4-baseapps.
*** Error code 1
___
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] How to remove erroneous deps from pkgng

2012-07-24 Thread Jason E. Hale
On Monday, July 23, 2012 20:50:34 Baptiste Daroussin wrote:
> Here is a plan for pkg-config, I hope it will statisfy everyone.
> 
> First we need to get rid of pkg-config, since 0.26 we can't boostrap it
> anymore because it depends on glib which depends on pkg-config.
> 
> Hopefully we have a viable alternative.
> 
> What I will do is :
> step 1/ introduce a new pkgconf port (https://github.com/nenolod/pkgconf)
> which is 100% compatible with pkg-config and considers any incompatibility
> as a bug.
> 
> along with this, I will introduce a new MACRO:
> http://people.freebsd.org/~bapt/USE_PKGCONFIG.diff
> 
> USE_PKGCONFIG= yes or USE_PKGCONFIG= build
> will bring pkgconf only has a build dependency
> USE_PKGCONFIG= run
> 
> will bring pkgconf has a run dependency (some things like ruby wrapper or
> perl wrapper)
> 
> USE_PKGCONFIG= both
> will bring both run and build deps.
> 
> Why a MACRO, because some ports may need en environnement variable in
> CONFIGURE_ENV
> PKG_CONFIG=pkgconf do work correctly.
> 
> the USE_GNOME=pkgconfig will be automatically add USE_PKGCONFIG= both
> 
> Yeah sorry for step one will keep pkgconf in both dependencies.
> 
> This is necessary because too much ports rely on one of their deps bringing
> pkgconfig, and this concerns about 4k+ ports.
> 
> All the gnome one (mostly), all the xorg one (xproto bring pkgconfig) most
> of the gtk ones, most of things depending on libxml2 and curl, from what I
> have seen.
> 
> step 2/ advertise the maintainers to stop using USE_GNOME= pkgconfig but
> rather switch to USE_PKGCONFIG, and do it actively.
> 
> setp 3/ drop USE_GNOME= pkgconfig from bsd.gnome.mk
> 
> when switching to USE_PKGCONFIG becare full about the ports that depend on
> your ports to make sure, it doesn't expect pkgconfig being brought by your
> port.
> 
> regards,
> Bapt

I think it might be a good idea to factor out the pkg-config hacks provided by 
USE_GNOME=gnomehack as well, and expand it to work with CMake (or other build 
systems if needed).  Most ports that install .pc files must be fixed to 
install them in libdata instead of lib.

Jason E. Hale
___
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] review requests

2012-07-24 Thread Alberto Villa
On Tue, Jul 24, 2012 at 8:44 AM, Andriy Gapon  wrote:
>> What's the status of the first one? I see Aaron approved it. What now?
>> Do you need someone for committing it?
>
> Most likely as I am not a KDE committer.

I'll see with Raphael what to do.

>> By the way, I see you've submitted another request to fix removable
>> devices handling. I was on the point as well, and I think I found a
>> wrong behaviour in HAL itself, so your patch might be not enough.
>
> Could very well be, but the patch improved things in my environment.

I'll have a look at it as well. Please, keep me CCed in new Solid
review requests (especially those regarding HAL).
-- 
Alberto Villa, FreeBSD committer 
http://people.FreeBSD.org/~avilla
___
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