Hi,
I answer below.
Next time, please right to amarok-devel, so that the answers can help
other people too. And if I don't have time to answer, Aroonav might do so.
Le 01/09/2015 14:27, RISHABH GUPTA a écrit :
On Sun, Aug 30, 2015 at 2:18 PM, Olivier Churlaud
<oliv...@churlaud.com <mailto:oliv...@churlaud.com>> wrote:
It's normal.
What is normal?to get the header file errors i mentioned in the
previous ,is that what you were referring to as normal ?
Yes, it's what I was referring to.
We did'nt work on this part... Normally thd last commits don't
try to compilf this.
See with Aditya, he has the same environment like you and went
further..
Cheers
Olivier
I would like to understand how you work ?You started working on this
very recently and still have made so many commits .I too would like to
start making commits.So ,if you could tell me your way of working on
this ,that would be great.
I just compile some code until an error, correct the error, and go
further..
I have shifted to fedora 22 and i am done setting it up .I have
generated the makefiles. After i run the command make i get error at 98%
console output :
[ 98%] Building CXX object
src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/amarok_storage-mysqlserverstorage_automoc.cpp.o
Linking CXX shared module amarok_storage-mysqlserverstorage.so
CMakeFiles/amarok_storage-mysqlserverstorage.dir/MySqlServerStorageFactory.cpp.o:
In function `factory::factory()':
/home/rishabh/kde/src/amarok/src/core-impl/storage/sql/mysqlserverstorage/MySqlServerStorageFactory.cpp:23:
undefined reference to `vtable for factory'
CMakeFiles/amarok_storage-mysqlserverstorage.dir/MySqlServerStorageFactory.cpp.o:
In function `factory::~factory()':
/home/rishabh/kde/src/amarok/src/core-impl/storage/sql/mysqlserverstorage/MySqlServerStorageFactory.cpp:23:
undefined reference to `vtable for factory'
how do i solve this ?
It's the next step. We are also at the same error: the StorageFactory
has to be ported. I don't have time to do this for now, but Aroonav may
be on it, or I'll do this when I'll have time.
If you have some ideas, you can also work on this. Before commiting, put
your code in review (https://git.reviewboard.kde.org) so that Aroonav or
I can check it.
thank you,
rishabh
You're welcome
Olivier
--
Olivier CHURLAUD
Engineer Student at Ecole Centrale de Lyon
in Dual Degree at TU Berlin, M.Sc. Elektrotechnik
@: oliv...@churlaud.com <mailto:oliv...@churlaud.com>
tel: +49 (0)1575-2931348
in: http://linkedin.com/in/olivierchurlaud;
web: http://olivier.churlaud.com
Sur 30 août 2015, à 08:23, RISHABH GUPTA <rishabh9...@gmail.com
<mailto:rishabh9...@gmail.com>> a écrit:
hello olivier,
As suggested by you I installed the latest kubuntu and started
with the porting process .I followed the instructions here
https://community.kde.org/Amarok/Development/KF5port and with
help from aroonav I was able to generate the make files.But
right now the code builds till 16% and then produces an error
which forces the compilation to terminate .Here's the link to
the console output
http://pastebin.com/jNPU8023 .
Changes I have made till now :
AmazonSettingsModule.h included kcmoudle.h ,now I have changed
it to #include<kF5/KConfigWidgets/kcmodule.h>.
After making this change the error you will find in the
console output is being produced .This can be sorted if I
make changes in the kf5/kconfigwidgets/kcmodule.h ,but
according to aroonav no changes should be made in this header
file.So I am stuck with this error and need your help in
sorting this out .
Also,do I need to install the dependencies mentioned here
blogs.fsfe.org/myriam/2009/09/26/compiling-amarok-from-git-locally-full-summary/
<http://blogs.fsfe.org/myriam/2009/09/26/compiling-amarok-from-git-locally-full-summary/>
. I used this blog just to set the env variables .
cheers,
rishabh
On Fri, Aug 21, 2015 at 4:42 PM, Olivier Churlaud
<oliv...@churlaud.com <mailto:oliv...@churlaud.com>> wrote:
Le 20/08/2015 20:17, RISHABH GUPTA a écrit :
hello olivier,
Hi!
Through amarok-devel mailing list i came to know that
you are helping out aroonav in the porting process.I
would like to do the same but for that i need some
help which would help me getting started .I read the
mails between you and aroonav on the mailing list but
didn't understand much from that.Changing header files
and code and then checking whether it compiles with
kde5 libs or not ?Is that all?
No it's not all. It's the easy part to change the headers
and translate some commands of KDE4 to KF5 or Qt5. Then
all the graphical classes must be rewritten (almost) from
scratch to be in QML. I've never done this, so I'm waiting
a little to get some help. You can go further with the 1st
part if you want.
Basically, you start the compilation, and where it fails,
you try to correct the error.
I am on kubuntu 14.10 which comes with qt4 ,do i need
to change my dev environment or is there any
workaround for that?
You would need a VM with the last kubuntu or whatever
that ships KF5 + Qt5. It's the easiest part. Else, you can
put the KF5/plasma5 libs under a prefix in order to
compile (I guess) but I never done this, and I can't help
you to do this. I'd rather install a virtual machine
any help would be great .
thanks,
rishabh
Cheers!
Olivier
_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel