I send a PR on github, but that one change the CmakeList.txt not settings.pri. But it does fix the issue for me.
I send you a PR
Around openbabel library path in the preference. Im trying to look in the source right now. Is it something about obabelIfacePath? But I have no clue how it work. Edit: In the config>SourceForge>Molsketch.conf file. The obabel path is set with quote by default. obabel-iface-path=\"/app/lib64/molsketch/libobabeliface.so\"
Around openbabel library path in the preference. Im trying to look in the source right now. Is it something about obabelIfacePath? But I have no clue how it work.
Around openbabel library path in the preference. Im trying to look in the source right now. Is it something about obabelIfacePath? But I have no clue how it work.
Around openbabel library path in the preference. Im trying to look in the source right now.
So I think I found the cause. The quotation marks on the path broke it. Simply remove the quotation marks around the path fix the issue.
Right now I did install openbabel and molsketch in the flatpak manifest. But openbabel is not found. The preference is set to "/app/lib/molsketch/libobabeliface.so" Then I remove the "" which left with. /app/lib/molsketch/libobabeliface.so The openbabel library is found.
Right now I did install openbabel and molsketch in the flatpak manifest. But openbabel is not found. Most likely because flatpak use different directory system and sandboxing. I try changing the libobabeliface.so path to where it is in Flatpak but it is still not found. /home/andy/.local/share/flatpak/app/net.sourceforge.Molsketch/current/active/files/lib64/molsketch/libobabeliface.so The debug information just say "0". Not sure why. Debug: (/run/build/Molsketch/molsketch/obabelifaceloader.cpp:83,...
If you would like to build Flatpak from my current git repo. git clone https://github.com/kevinsmia1939/flathub/tree/net.sourceforge.Molsketch cd to the directory that the .yaml file was downloaded. flatpak-builder --install --force-clean --user build net.sourceforge.molsketch.yaml To run it. flatpak run net.sourceforge.molsketch
Hi, The first Flatpak test build is here. Since you are on openSUSE TW just do. sudo zypper in flatpak flatpak-builder flatpak install --user https://dl.flathub.org/build-repo/84532/net.sourceforge.Molsketch.flatpakref flatpak run net.sourceforge.Molsketch
Thanks, setting to /usr/lib64/molsketch/libobabeliface.so solve the issue. In the log above of not working babel, it is Debug: ((null):0, (null)) OpenBabel available: "0" Library location: "\"/usr/lib64/molsketch/libobabeliface.so\"" Manually re-entering the location yield. Debug: ((null):0, (null)) OpenBabel available: "1" Library location: "/usr/lib64/molsketch/libobabeliface.so"
Hi, I install openbabel and change the library path in the preference. But it is still grey out, do I need inchi and gen2d as well?
Hi, That was the build manifest required to make Flatpak. I am that kevin. Flathub is a repository that publish these apps. https://flathub.org/home I am submitting it to Flathub, but it is in testing, not accepted yet. https://github.com/flathub/flathub/pull/3021#issuecomment-1100722720=
Hi, That was the build manifest required to make Flatpak. Flathub is a repository that publish these apps. https://flathub.org/home I am submitting it to Flathub, but it is in testing, not accepted yet. https://github.com/flathub/flathub/pull/3021#issuecomment-1100722720=
Package Molsketch as Flatpak for Linux
Screenshot
Wikidata entry grey out, cannot type anything.Hi
SciDAVis failed to build, Flatpak Linux. "sip-build: Q_PID is undefined"
SciDAVis is now on Flathub. https://flathub.org/apps/details/net.sourceforge.scidavis
Yes, I am Kevin Tee. I will ask MehdiChinoune if they want to co-own the Flathub repo as well. I'm happy to maintain scidavis in flathub repo. Thanks.
@hpcoder Hi, I successfully create Flatpak for SciDAVis and will submit to Flathub. Would you like to own or co-own the Github repo of SciDAVis? https://github.com/flathub/flathub/pull/2253 Let me know what you think. Thanks.
I figured out. I use -DPyQt_INCLUDE_DIR=/app/share/sip/PyQt5 It didn't hit me at first that I need to use PyQt_INCLUDE_DIR But looking at FindPyQt.cmake, PyQt_INCLUDE_DIR look for "QtCore/QtCoremod.sip" I will be waiting for next version with cmake support and submit to Flathub. Thanks.
I figured out. I use -DPyQt_INCLUDE_DIR=/app/share/sip/PyQt5 It didn't hit me at first that I need to use PyQt_INCLUDE_DIR But looking at FindPyQt.cmake, PyQt_INCLUDE_DIR look for "QtCore/QtCoremod.sip" I will be waiting for next version with cmake support. Thanks.
Update: QtCoremod.sip does exist in share/sip/QtCore/QtCoremod.sip, are there some way I can point to this directory? I can also change SIP installation path. Where does SciDAVis look for SIP by default, I can change SIP install dir to match it.
Update: QtCoremod.sip does exist in share/sip/QtCore/QtCoremod.sip, are there some way I can point to this directory?
Hi, do you know what error like this means? It found PyQt5 -- The CXX compiler identification is GNU 10.2.0 -- The C compiler identification is GNU 10.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting...
Hi, do you know what error like this means? It found the version (5.11.3) but not PyQt itself? CMake Error at /usr/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message): Could NOT find PyQt (missing: PyQt_INCLUDE_DIR) (found version "5.11.3")
Do you know if there is a cmake flag that can change where to look for pyqt?
Hi, I manage to make scidavis attempt to build with python support, it turns out that I was applying the build flag wrong, now that I fix it, it attempt to build with python support now. However, it still fail to build. I tried copying from existing PyQt and SIP build method from other Flatpak manifest in Flathub repository. The error is the same what method I tried, so I suspect that maybe scidavis was expecting something different. sip5: Unable to find file "QtCore/QtCoremod.sip" make[2]: *** [libscidavis/CMakeFiles/generate_PyQt_source.dir/build.make:132:...
Hi, I could not compile liborigin from https://github.com/SciDAVis/liborigin Using the command cmake .. make make install I got this error. Install the project... -- Install configuration: "" -- Installing: /app/lib/liborigin.so.3.0.0 -- Installing: /app/lib/liborigin.so.3 -- Installing: /app/lib/liborigin.so -- Installing: /app/lib/liborigin.a -- Installing: /app/include/liborigin/OriginObj.h -- Installing: /app/include/liborigin/OriginFile.h -- Installing: /app/include/liborigin/OriginParser.h...
Hi, I could not compile liborigin from https://github.com/SciDAVis/liborigin Using the command cmake .. make make install I got this error. Install the project... -- Install configuration: "" -- Installing: /app/lib/liborigin.so.3.0.0 -- Installing: /app/lib/liborigin.so.3 -- Installing: /app/lib/liborigin.so -- Installing: /app/lib/liborigin.a -- Installing: /app/include/liborigin/OriginObj.h -- Installing: /app/include/liborigin/OriginFile.h -- Installing: /app/include/liborigin/OriginParser.h...
I can't figured it out. No clue.
I basically want the to be able to download scidavis with all the 3rdparty dependencies bundled into archive file (tar.gz or zip) with out extra commands. Because I don't think Flatpak support downloading extra submodules. Cmake build method is only available in master branch. I think that Flathub only allow me to ship stable release version, I would need to wait for the new version with cmake to submit to flathub. Edit: Flathub can have many version,we can have nightly.
I basically want the to be able to download scidavis with all the 3rdparty dependencies bundled into archive file (tar.gz or zip) with out extra commands. Because I don't think Flatpak support downloading extra submodules. Cmake build method is only available in master branch. I think that Flathub only allow me to ship stable release version, I would need to wait for the new version with cmake to submit to flathub.
I basically want the to be able to download scidavis with all the 3rdparty dependencies bundled into archive file (tar.gz or zip) with out extra commands. Because I don't think Flatpak support downloading extra submodules.
Hi, I manage to build SciDAVis from Flatpak. You can see it all in here. Look at the .yaml file. https://github.com/kevinsmia1939/io.github.highperformancecoder.SciDAVis To start building flatpak, first clone the shared-modules, because we need gsl. git clone git://github.com/flathub/shared-modules.git git clone --recurse-submodules -j8 git://github.com/highperformancecoder/scidavis.git Download the .yaml file. Build with flatpak-builder --install --user build io.github.highperformancecoder.SciDAVis.yaml...
Thanks for comments, I understand the problem, but I could not get flatpak manifest file (.yaml) to perform "git submodule update --init --recursive" it just fetch the source without external module. Do you perhaps have a source that bundled these external modules?
Hi, I am interest in building Flatpak package for SciDAVis and upload to flathub. However, I could not get it to compile successfully. In file included from src/ImageMarker.cpp:30: src/ImageMarker.h:32:10: fatal error: qwt_plot.h: No such file or directory 32 | #include <qwt_plot.h> | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:4234: …/tmp/libscidavis/ImageMarker.o] Error 1 make[1]: *** Waiting for unfinished jobs… In file included from src/ArrowMarker.h:32, from src/ArrowMarker.cpp:29:...
Thanks so much, I manage to run the test.
However, I still got the test error. [ 2s] I have the following modifications for python-pysvn.spec: [ 2s] ----------------------------------------------------------------- [ 2s] ----- building python-pysvn.spec (user abuild) [ 2s] ----------------------------------------------------------------- [ 2s] ----------------------------------------------------------------- [ 2s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/python-pysvn.spec...
Hello, I cannot find the build log for this change you made, is it build? I have add the LC_ALL=en_US.UTF-8 to spec file like this. build log: https://build.opensuse.org/package/live_build_log/home:andythe_great:branches:devel:languages:python/python-pysvn/openSUSE_Tumbleweed/x86_64 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pysvn Version: 1.9.12 Release: 0 Summary: Highlevel Subversion Python Bindings License: Apache-1.1 Group: Development/Libraries/Python...
Hello, I cannot find the build log for this change you made, is it build? I have add the LC_ALL=en_US.UTF-8 to spec file like this. %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pysvn Version: 1.9.12 Release: 0 Summary: Highlevel Subversion Python Bindings License: Apache-1.1 Group: Development/Libraries/Python URL: https://pysvn.sourceforge.io/ Source0: https://sourceforge.net/projects/pysvn/files/pysvn/V%{version}/pysvn-%{version}.tar.gz BuildRequires: %{python_module...
The test was ran after %build The current spec file in opensuse look like this. %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pysvn Version: 1.9.12 Release: 0 Summary: Highlevel Subversion Python Bindings License: Apache-1.1 Group: Development/Libraries/Python URL: https://pysvn.sourceforge.io/ Source0: https://sourceforge.net/projects/pysvn/files/pysvn/V1.9.12/pysvn-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module pycxx-devel}...
Test failed AttributeError: module 'pysvn' has no attribute 'Client'
Several warnings when building BRL-CAD from source from openSUSE Tumbleweed