Re: [Basket-devel] libgit2
On May 9, 2015 12:38:42 PM Gleb Baryshev wrote: 06.05.2015 22:53, Gleb Baryshev wrote: 06.05.2015 18:53, Robert Charbonneau wrote: I noticed the configuration dialog isn't present yet for the application so maybe I'll work at getting that ported in and then reorganize for new options. Will fork today and start playing. Thanks Gleb! Make sure that kcm_basket.so has been installed. At least I can see the dialog :) (https://raw.githubusercontent.com/wiki/basket-notepads/basket/img/basket-settings.png). Or check for file open errors using strace. Aah, I've figured that out. Apparently I created a correct symlink to kcm_basket.so manually. But in order to get the libraries location correct from the beginning, you must pass valid QT_PLUGIN_INSTALL_DIR: cmake -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` -DQT_PLUGIN_INSTALL_DIR=`qtpaths --plugin-dir` .. make make install I had done a manual copy of the file each time. Been reading what's there, more features than I knew about. ;) -- ...The name of the song is called 'Haddocks' Eyes'! Oh, that's the name of the song, is it? Alice said, trying to feel interested. No, you don't understand, the Knight said, looking a little vexed. That's what the name is called. The name really is, 'The Aged Aged Man.' Then I ought to have said That's what the song is called'? Alice corrected herself. No, you oughtn't: that's quite another thing! The song is called 'Ways and Means': but that's only what it is called you know! Well, what is the song then? said Alice, who was by this time completely bewildered. I was coming to that, the Knight said. The song really is A-sitting on a Gate: and the tune's my own invention. -- Lewis Carroll, Through the Looking Glass -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Basket-devel mailing list Basket-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/basket-devel
Re: [Basket-devel] libgit2
Yup, I do have a Github account. I noticed the configuration dialog isn't present yet for the application so maybe I'll work at getting that ported in and then reorganize for new options. Will fork today and start playing. Thanks Gleb! On May 6, 2015 09:52:50 AM Gleb Baryshev wrote: libgit2 has been included for synchronization between computers (by means of some git hosting) - see the most recent message here: http://sourceforge.net/p/basket/mailman/basket-devel/?viewmonth=201403 and also closed pull requests on github. BTW we should add configuration options to Basket to switch git on/off in runtime (now you can only do it in build time). In order to push the changes, you need to fork the repository, create new branch, commit there and then you can create a pull request. Do you have a Github account? Please ask if you have any questions about other Basket components. On 05/05/2015 07:40 AM, Robert Charbonneau wrote: On May 5, 2015 08:33:55 AM Gleb Baryshev wrote: 04.05.2015 23:53, Robert Charbonneau wrote: I did a bit of reading and found the following: http://stackoverflow.com/questions/27998122/libgit2-and-qt-error I tried adding git_libgit2_init(); prior to your call to git_threads_init() in Application::Application() but I still get this error. Is there a reason for trying to wrap Git on its own instead of using libqgit2 ( https://github.com/lgiordani/libqgit2 )? Any assistance you can provide would be helpful! Cheers, RPC libgit2 was chosen by Narfinger (a contributor on github). I'll try and commit the fix you've found. Before I was just compiling Basket-kde5 with libgit disabled :) Regards, Gleb Yup, at the time the code was added Git may not have changed their API by that point. This does indeed ensure that it compiles before and after the change. I think it's a good idea to integrate, but I'm not certain yet what it was included for, haven't read all of the source yet. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Basket-devel mailing list Basket-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/basket-devel
Re: [Basket-devel] libgit2
On May 5, 2015 08:33:55 AM Gleb Baryshev wrote: 04.05.2015 23:53, Robert Charbonneau wrote: I did a bit of reading and found the following: http://stackoverflow.com/questions/27998122/libgit2-and-qt-error I tried adding git_libgit2_init(); prior to your call to git_threads_init() in Application::Application() but I still get this error. Is there a reason for trying to wrap Git on its own instead of using libqgit2 ( https://github.com/lgiordani/libqgit2 )? Any assistance you can provide would be helpful! Cheers, RPC libgit2 was chosen by Narfinger (a contributor on github). I'll try and commit the fix you've found. Before I was just compiling Basket-kde5 with libgit disabled :) Regards, Gleb Yup, at the time the code was added Git may not have changed their API by that point. This does indeed ensure that it compiles before and after the change. I think it's a good idea to integrate, but I'm not certain yet what it was included for, haven't read all of the source yet. -- There is a fly on your nose. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Basket-devel mailing list Basket-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/basket-devel
Re: [Basket-devel] libgit2
On May 4, 2015 07:58:10 PM Robert Charbonneau wrote: Hey folks, The latest libgit2 provided by Ubuntu 15.04 is 2.1.4 which does not have git_threads_init() and git_threads_shutdown(); instead I've changed the source to use: git_libgit2_init(); git_libgit2_shutdown(); I haven't made any commits, but changing this in Application resolved the issues I was having with Git. I'm going to try to find a way to provide this for both versions of the Git API. Rather the version of libgit2 is 0.22; the version of the git cli is 2.1.4 -- Don't kiss an elephant on the lips today. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Basket-devel mailing list Basket-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/basket-devel
Re: [Basket-devel] Assistance
On May 4, 2015 09:59:30 PM Gleb Baryshev wrote: 03.05.2015 19:55, Robert Charbonneau wrote: Hi Gleb, I'm certainly interested in assisting to finish the port. Syncing up with the current library versions seems like the obvious first step. A few things about me: - Software developer for 21 years, mostly web (Java/C#/PHP/RoR) but did some work in the early 2000s in C++/C making standalone build tools and binaries for an enterprise solution. - Knowledge of Qt probably isn't optimal to be relied heavily upon, but I have a strong desire to learn. I'm very interested in giving back to the KDE community that has provided me with a desktop environment for more than 15 years. - I use Basket on a daily basis to organize my research plans for projects, to organize myself (not an easy thing to do) and to keep track of development dependencies in my own projects. I have cloned the branch on Github but I was having a hard time getting it to build using QtCreator; quazip headers were not in the include path. Any idea on how to resolve this? Once I can get it built, it's likely that I'll be fixing bugs in the current port prior to lending assistance with the remainder of the move to Qt5 as I believe that will provide the best experience to start. Let me know if you believe I can be useful to you given my experience and I'll be able to put roughly 15 - 20 hours of work per week on this project until it's stable. I look forward to working with you! Good to know you! Regarding the build: quazip dependency is used in pure-Qt5 port made by Keelan. I'm still relying on KDE libs in my port, you can check it out by e.g. 'git clone --branch=kde5port https://github.com/basket-notepads/basket.git'. You'll need KF5 devel packages, including Extra Cmake Modules (ECM). Let me know if you have troubles with cmake - it may be not very smooth compilation yet. The approach I'm using is to install Basket in the system first, but then debug locally compiled ./basket binary. (one should remember though that libbasketcommon.so and kcm_basket.so stay in /usr/lib - and update them when changing corresponding code) Once you have it in compilable state, just try to hack some part and see how it works out for you. Regards, Gleb Hi Gleb, I managed to get through the CMakeLists.txt deps without too much trouble; however, the Git integration is causing some issues, see the following output from make: [ 70%] Building CXX object src/CMakeFiles/basket.dir/application.cpp.o /home/etriaph/Projects/CPP/basket/src/application.cpp: In constructor ‘Application::Application(int, char**)’: /home/etriaph/Projects/CPP/basket/src/application.cpp:55:26: error: ‘git_threads_init’ was not declared in this scope git_threads_init(); ^ /home/etriaph/Projects/CPP/basket/src/application.cpp: In destructor ‘virtual Application::~Application()’: /home/etriaph/Projects/CPP/basket/src/application.cpp:62:30: error: ‘git_threads_shutdown’ was not declared in this scope git_threads_shutdown(); ^ src/CMakeFiles/basket.dir/build.make:100: recipe for target 'src/CMakeFiles/basket.dir/application.cpp.o' failed make[2]: *** [src/CMakeFiles/basket.dir/application.cpp.o] Error 1 CMakeFiles/Makefile2:179: recipe for target 'src/CMakeFiles/basket.dir/all' failed make[1]: *** [src/CMakeFiles/basket.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 I did a bit of reading and found the following: http://stackoverflow.com/questions/27998122/libgit2-and-qt-error[1] I tried adding git_libgit2_init(); prior to your call to git_threads_init() in Application::Application() but I still get this error. Is there a reason for trying to wrap Git on its own instead of using libqgit2 ( https://github.com/lgiordani/libqgit2[2] )? Any assistance you can provide would be helpful! Cheers, RPC [1] http://stackoverflow.com/questions/27998122/libgit2-and-qt-error [2] https://github.com/lgiordani/libqgit2 -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Basket-devel mailing list Basket-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/basket-devel
[Basket-devel] libgit2
Hey folks, The latest libgit2 provided by Ubuntu 15.04 is 2.1.4 which does not have git_threads_init() and git_threads_shutdown(); instead I've changed the source to use: git_libgit2_init(); git_libgit2_shutdown(); I haven't made any commits, but changing this in Application resolved the issues I was having with Git. I'm going to try to find a way to provide this for both versions of the Git API. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Basket-devel mailing list Basket-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/basket-devel
Re: [Basket-devel] libgit2
On May 4, 2015 08:01:58 PM Robert Charbonneau wrote: On May 4, 2015 07:58:10 PM Robert Charbonneau wrote: Hey folks, The latest libgit2 provided by Ubuntu 15.04 is 2.1.4 which does not have git_threads_init() and git_threads_shutdown(); instead I've changed the source to use: git_libgit2_init(); git_libgit2_shutdown(); I haven't made any commits, but changing this in Application resolved the issues I was having with Git. I'm going to try to find a way to provide this for both versions of the Git API. Rather the version of libgit2 is 0.22; the version of the git cli is 2.1.4 The following changes have been made in my local copy, couldn't push due to permissions: application.cpp: Application::Application(int argc, char **argv) : QApplication(argc, argv) { //AboutData is initialized before this KAboutData::setApplicationData(Global::basketAbout); //BasketPart::createAboutData(); KDBusService service(KDBusService::Unique); //make global newInstance(); #ifdef WITH_LIBGIT2 #if LIBGIT2_SOVERSION = 22 git_libgit2_init(); #else git_threads_init(); #endif #endif } Application::~Application() { #ifdef WITH_LIBGIT2 #if LIBGIT2_SOVERSION = 22 git_libgit2_shutdown(); #else git_threads_shutdown(); #endif #endif } -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Basket-devel mailing list Basket-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/basket-devel
Re: [Basket-devel] Assistance
On May 3, 2015 01:33:04 PM Gleb Baryshev wrote: 02.05.2015 02:01, Robert Charbonneau wrote: Hi folks, Long time software developer with some understanding of Qt, interested in helping out. I've been using Basket for quite some time and Valorie Zimmerman pointed me this way. Is there anything I can do to help? (And please be patient with me as I learn my way through some of this too! :) ) Hi Robert and welcome! Sure, you can help with this for example: 1. Porting to KDE Frameworks 5. A (probably incomplete) list of remaining things is found at [1]. I guess many of those are rather related to KDE and not Qt(5). 2. Fixing bugs. Either fix those which are most annoying for you or have a look at the old bugtracker [2]. I want GPG encryption / basket locking issues to be fixed in the 2.11 release, you can take over this task if you feel like doing it. 3. If you have some new features on your mind, you can implement them too! When you choose, let us know please! I will give more clarification if needed. Gleb [1] https://github.com/basket-notepads/basket/wiki/KDE-5-Port [2] https://bugs.kde.org/buglist.cgi?bug_status=UNCONFIRMEDbug_status=CONFIRMEDbug_status=ASSIGNEDbug_status=REOPENEDorder=changeddate%20DESC%2Cbug_status%2Cpriority%2Cassigned_to%2Cbug_idproduct=basketquery_based_on=query_format=advanced Basket Qt4/KDE4 branch: https://github.com/basket-notepads/basket/tree/master Qt5/KDE5 branch: https://github.com/basket-notepads/basket/tree/kde5port Hi Gleb, I'm certainly interested in assisting to finish the port. Syncing up with the current library versions seems like the obvious first step. A few things about me: - Software developer for 21 years, mostly web (Java/C#/PHP/RoR) but did some work in the early 2000s in C++/C making standalone build tools and binaries for an enterprise solution. - Knowledge of Qt probably isn't optimal to be relied heavily upon, but I have a strong desire to learn. I'm very interested in giving back to the KDE community that has provided me with a desktop environment for more than 15 years. - I use Basket on a daily basis to organize my research plans for projects, to organize myself (not an easy thing to do) and to keep track of development dependencies in my own projects. I have cloned the branch on Github but I was having a hard time getting it to build using QtCreator; quazip headers were not in the include path. Any idea on how to resolve this? Once I can get it built, it's likely that I'll be fixing bugs in the current port prior to lending assistance with the remainder of the move to Qt5 as I believe that will provide the best experience to start. Let me know if you believe I can be useful to you given my experience and I'll be able to put roughly 15 - 20 hours of work per week on this project until it's stable. I look forward to working with you! -- The mind is its own place, and in itself Can make a Heav'n of Hell, a Hell of Heav'n. -- John Milton -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Basket-devel mailing list Basket-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/basket-devel
[Basket-devel] Assistance
Hi folks, Long time software developer with some understanding of Qt, interested in helping out. I've been using Basket for quite some time and Valorie Zimmerman pointed me this way. Is there anything I can do to help? (And please be patient with me as I learn my way through some of this too! :) ) -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Basket-devel mailing list Basket-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/basket-devel