-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xmlcopyeditor: init at 1.2.1.3 #38545
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I run it I get the error
SSE2 is enabled in Xerces-C++ library. Xerces-C++ didn't use them in a thread-safe way. It may cause program crashes (segmentation faults).
If it happens, please try compiling Xerces-C++ with SSE2 disabled.
Can you try do that? This would involve adding support for disabling this SSE2 thing in xerces and usint xercesc.override { enableSSE2 = false; }
in your build inputs instead.
Other than this error the editor is working just fine, nice first PR!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See @infinisil's review
Any progress on this? |
$(srcdir)/xmlschemaparser.cpp | ||
|
||
-AM_CPPFLAGS = -I/usr/include/libxml2 $(ENCHANT_CFLAGS) $(GTK_CFLAGS) | ||
+AM_CPPFLAGS = -I$(CPLUS_INCLUDE_PATH) $(ENCHANT_CFLAGS) $(GTK_CFLAGS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened an issue about this: https://sourceforge.net/p/xml-copy-editor/bugs/222/
@GrahamcOfBorg build xmlcopyeditor |
Success on x86_64-linux (full log) Attempted: xmlcopyeditor Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: xmlcopyeditor Partial log (click to expand)
|
|
||
stdenv.mkDerivation rec { | ||
name = "xmlcopyeditor-${version}"; | ||
version = "1.2.1.3"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.2.1.5 is available
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a WIP macOS (only?) port as I understand it.
http://xml-copy-editor.sourceforge.net/ and https://sourceforge.net/projects/xml-copy-editor/files/xmlcopyeditor-linux/ still points to v1.2.1.3 for Linux (or Windows).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Websites are often outdated, I would follow the changelog: https://sourceforge.net/p/xml-copy-editor/code/ci/master/tree/ChangeLog
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The second link is not the front website but the list of source archives for Linux.
https://repology.org/metapackage/xmlcopyeditor/versions
No one ships v1.2.1.5.
So I'm going to stick to the version intended by the original author of this PR who's going to be its maintainer. @candeira should open a new PR later once upstream got its release process straighten out.
Also no more warning about Xerces-C being built with SSE2 at first launch after #50536 (tested locally) |
Motivation for this change
I use xmlcopyeditor, and it's not present in nixpkgs
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)