Besides this package, which compiles the source code, I have built another AUR package, which provides a binary compiled by me.
Maybe it is interesting for some of you to use the already compiled version:
Search Criteria
Package Details: profex 5.4.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/profex.git (read-only, click to copy) |
---|---|
Package Base: | profex |
Description: | A program for Rietveld refinement of powder X-ray diffraction data. |
Upstream URL: | https://profex.doebelin.org |
Keywords: | BGMN profex Rietveld xrd |
Licenses: | GPL2 |
Groups: | science |
Conflicts: | profex |
Provides: | profex |
Submitter: | danmc |
Maintainer: | sam9032 |
Last Packager: | sam9032 |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2016-11-28 18:53 (UTC) |
Last Updated: | 2024-11-27 18:39 (UTC) |
Dependencies (4)
- qt6-5compat
- qt6-declarative (qt6-declarative-gitAUR)
- qt6-svg
- bgmn (bgmn-binAUR) (optional) – the needed backend for the program, not required to build or start the program
Required by (0)
Sources (2)
Latest Comments
sam9032 commented on 2024-05-30 20:16 (UTC) (edited on 2024-05-30 20:17 (UTC) by sam9032)
sam9032 commented on 2024-05-30 20:12 (UTC)
Changes in other programs have resulted in the program no longer compiling. It was therefore not possible to update to version 5.2.9.
The developer of Profex has already developed a fix for version 5.3.0 and sends me the needed includes:
#ifdef __GNUC__
#include "unistd.h"
#elif __clang__
#include "unistd.h"
#elif _MSC_VER
#include "io.h"
#endif
I added it to the 3 files:
- gzlib.c.new
- gzread.c.new
- gzwrite.c.new
and replace the existing files in zlib.
sam9032 commented on 2022-04-01 10:37 (UTC)
Thank you @henkm, I changed the PKGBUILD to your suggestion, works flawlessly for me.
And yes you are right, the binaries are listed as processes when those functions are selected in the main program.
henkm commented on 2022-04-01 08:47 (UTC)
From what I can tell, they are the functionality behind the electron density map (profexed), scan trace (profexst) and waterfall plot (profexwp). At least, without the extra executables those don't work. (You find them in the tools drop-down menu).
sam9032 commented on 2022-03-29 16:43 (UTC) (edited on 2022-03-29 16:48 (UTC) by sam9032)
What is the function of those other executables? Do they link to some functionality in the main program?
I'll look into it. But your addition looks good, in the build documentation they do something similar:
sudo cp bin/profex* /usr/local/bin
henkm commented on 2022-03-19 04:03 (UTC) (edited on 2022-03-19 05:52 (UTC) by henkm)
Not much of a problem, I had 5.0.1-1 installed so auracle keeps nagging that there's an update, then makepkg quitting as the package is up to date. More a nuisance than a problem and should be fixed by updating the PKGBUILD. Thanks.
Edit to add: Three more executables are built but not installed: profexed, profexst and profexwp. There are no doubt better ways but changing the last lines of PKGBUILD to
mkdir "${pkgdir}/usr/bin"
install -Dm755 bin/* "${pkgdir}/usr/bin"
did the trick for me
sam9032 commented on 2022-03-18 16:24 (UTC)
Yes, i pushed the commit to fast, so that the .srcinfo doesn't get the change. It should be pkgrel=1 in both files, since there was only one 5.0.1 release. Changing the pkgrel back to 1 in the .srcinfo could create issues, so I'll set it to 2 in PKGBUILD. But there shouldn't be a problem with updating right now or is there a problem on your side?
henkm commented on 2022-03-18 14:21 (UTC)
The pkgrel in the .scrinfo is 2 while in the PKGBUILD it's 1.
sam9032 commented on 2022-02-03 15:11 (UTC)
Please watch out, the update to the new major version 5.0 with the commit 848fcc1393e6 do not share the settings with profex version 4. The settings are located under ~/.local/share/doebelin.org/ It also uses qt6 as its base rather than qt5, so that will lead to some changes.
It would be cleaner to create a new aur package for version 5 and leave the version 4 one as it is without updates, but since the package is not used that much, I decided to update this one.
Please comment if there are any problems.
Chaturanga commented on 2021-11-17 09:29 (UTC)
Please update this package, the current download link is not working
Pinned Comments
sam9032 commented on 2024-05-30 20:16 (UTC) (edited on 2024-05-30 20:17 (UTC) by sam9032)
Besides this package, which compiles the source code, I have built another AUR package, which provides a binary compiled by me.
Maybe it is interesting for some of you to use the already compiled version:
https://aur.archlinux.org/packages/profex-bin
sam9032 commented on 2024-05-30 20:12 (UTC)
Changes in other programs have resulted in the program no longer compiling. It was therefore not possible to update to version 5.2.9.
The developer of Profex has already developed a fix for version 5.3.0 and sends me the needed includes:
I added it to the 3 files:
and replace the existing files in zlib.