> I don't see basket.exe file, have you forgotten to include it? ;) No, I didn't know that my magic spell hadn't worked ;-). [Here](http://1drv.ms/1nki2Xm) is the new version with the basket binary in it.
> That's excellent! Can you summarize the adjustments you had to make to > source code and build configuration, so that I can commit them? # Build Configuration I use for this Build Configuration MS Visual C++ 2010 because I cannot be sure which exact MinGW version compiled KDE. So let's go ahead with installing KDE. First you have to download the KDE4 Windows Installer [1]. Once it's downloaded I started it and decided on the third page for these following options: * Install Mode: Package Manager * Compiler Mode: MSVC 2010 32 Bit After that I installed following packages: kde-runtime-vc100 (Bin) kde-workspace-vc100 (Bin) kdelibs-vc100 (Bin, Devel) qt-vc100 (Bin, Devel) phonon-vc100 (Bin, Devel) soprano-vc100 (Bin, Devel) oxygen-icons-vc100 (Bin) Outside of the KDE Installer are the dependencys [CMake](http://cmake.org/) and [Automoc4](git://anongit.kde.org/automoc.git). I don't think they're heavy to get. Greetings, Mariusz Wojcik [1]: http://download.kde.org/stable/kdewin/installer/kdewin-installer-gui-latest.exe # The only needed adjustements to the source code # Patch # ===== diff --git a/src/basketscene.cpp b/src/basketscene.cpp index 5904d0b..b36f283 100644 --- a/src/basketscene.cpp +++ b/src/basketscene.cpp @@ -4691,10 +4691,12 @@ Note* BasketScene::lastNoteShownInStack() return last; } +/* +Looks unneeded and MSVC 2010 cannot compile with this function inline int abs(int n) { return (n < 0 ? -n : n); -} +}*/ Note* BasketScene::noteOn(NoteOn side) { diff --git a/src/bnpview.cpp b/src/bnpview.cpp index 97f9b4b..e57c0f7 100644 --- a/src/bnpview.cpp +++ b/src/bnpview.cpp @@ -180,8 +180,11 @@ void BNPView::lateInit() if (Global::mainWindow()) Global::mainWindow()->setShown(!Settings::startDocked()); } } +/* +Commented because compiling fails with MSVC 2010 due to the invalid preprocessor #warning #else #warning Proper fix for the systray problem +*/ #endif diff --git a/src/note.cpp b/src/note.cpp index 8aa7279..b1cbd31 100644 --- a/src/note.cpp +++ b/src/note.cpp @@ -397,7 +397,7 @@ void Note::selectIn(const QRectF &rect, bool invertSelection, bool unselectOther if (invertSelection) { if (m_wasInLastSelectionRect == intersects) toSelect = isSelected(); - else if (intersects xor m_wasInLastSelectionRect) + else if (intersects ^ m_wasInLastSelectionRect) toSelect = !isSelected();// xor intersects; } setSelected(toSelect); @@ -765,8 +765,10 @@ Note::Zone Note::zoneAt(const QPointF &pos, bool toAdd) return Link; qreal customZone = content()->zoneAt(pos - QPointF(contentX(), NOTE_MARGIN)); +/* Commented because compiling fails with MSVC 2010 due to a strange casting problem if (customZone) return (Note::Zone)customZone; + */ return Content; } 2014-06-16 20:37 GMT+02:00 Gleb Baryshev <gleb.barys...@gmail.com>: > 15.06.2014 06:38, mdickie...@gmail.com wrote: >> Hello, >> I succeeded in creating a Windows build of Basket. GPGME is disabled >> because of the error about the invalid crypto engine. See >> _http://comments.gmane.org/gmane.comp.kde.devel.basket/314_ >> <http://comments.gmane.org/gmane.comp.kde.devel.basket/314>. >> Download Basket: http://1drv.ms/1os5geK >> Installation Instruction: >> Extract basket-build.tar.xz whereever you want with your favorite ZIP >> Program (7-Zip, PeaZip). Now it is installed. Then you only have to run >> basket.exe in the bin Folder and you can create notes. >> >> Greetings, >> Mariusz Wojcik > > That's excellent! Can you summarize the adjustments you had to make to > source code and build configuration, so that I can commit them? > > I don't see basket.exe file, have you forgotten to include it? ;) > I believe it's better to exclude all exe and dll files that are not > needed for Basket in order to make the download not so huge. Compressing > to .7z might reduce the size a bit as well. > > GPGME in Basket requires gpg v1.x, perhaps we can try to build that > library too. > > As soon as version 2.10-beta is ready, we can build Basket again and > package it as installer. > > Thanks, > Gleb > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > Basket-devel mailing list > Basket-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/basket-devel ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Basket-devel mailing list Basket-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/basket-devel