[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-frameworks-devel
Subject: =?UTF-8?Q?Re=3A_KSyntaxHighlighting=3A_My_changes_to_data_files_?= =?UTF-8?Q?don=E2=80=99t_seem_to_a
From: Adrian Chaves <adrian () chaves ! io>
Date: 2019-11-12 17:36:25
Message-ID: 82cf542a288a627dc83329d66bb1fff2 () chaves ! io
[Download RAW message or body]
I'll go ahead and work on the system-level file to test changes, but
please do let me know if you can think an way that I can avoid that in
the future.
On 2019-11-01 11:34, Adrian Chaves wrote:
> > What does `ldd build/bin/syntax/testhighlighter_test` tell you?
>
> [adrian@pondal build]$ ldd bin/testhighlighter_test | grep \
> libKF5SyntaxHighlighting.so.5 libKF5SyntaxHighlighting.so.5 => \
> /home/adrian/proxectos/syntax-highlighting/build/bin/libKF5SyntaxHighlighting.so.5 \
> (0x00007f40a3710000)
> > What, if you first source build/prefix.sh?
>
> Tried rm -rf build && mkdir build && cd build && cmake .. && make -j8 && source \
> prefix.sh && make test
> The contents of build/autotests/html.output/highlight.rst.html still do not reflect \
> my changes to data/syntax/rest.xml :(
> On the other hand, I've copied data/syntax/rest.xml into \
> /usr/share/org.kde.syntax-highlighting/syntax/rest.xml and confirmed that the tests \
> are picking up the file at /usr/share/org.kde.syntax-highlighting/syntax/rest.xml \
> instead of data/syntax/rest.xml.
> On 2019-10-27 19:22, Dominik Haumann wrote:
>
> What does `ldd build/bin/syntax/testhighlighter_test` tell you?
> What, if you first source build/prefix.sh?
>
> Likely the wrong lib is used.
>
> Greetings
> Dominik
>
> Adrian Chaves <adrian@chaves.io> schrieb am So., 27. Okt. 2019, 17:49:
>
> I emptied data/syntax/rest.xml (made it a valid syntax file that would
> mark all text as normal).
>
> Then I run:
>
> rm -rf build && mkdir build && cd build
> cmake .. && make -j8 && make test
>
> But the contents of build/autotests/html.output/highlight.rst.html are
> still those that would be generated if data/syntax/rest.xml had not been
> changed.
[Attachment #3 (unknown)]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" \
/></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'> \
<p>I’ll go ahead and work on the system-level file to test changes, but please \
do let me know if you can think an way that I can avoid that in the future.</p> <p \
id="reply-intro">On 2019-11-01 11:34, Adrian Chaves wrote:</p> <blockquote \
type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"> <div \
class="pre" style="margin: 0; padding: 0; font-family: monospace"> <blockquote \
type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><span \
style="white-space: nowrap;">What does `ldd build/bin/syntax/testhighlighter_test` tell you?</span></blockquote>
<br />[adrian@pondal build]$ ldd bin/testhighlighter_test | grep \
libKF5SyntaxHighlighting.so.5<br />libKF5SyntaxHighlighting.so.5 => \
/home/adrian/proxectos/syntax-highlighting/build/bin/libKF5SyntaxHighlighting.so.5 \
(0x00007f40a3710000)<br /><br /> <blockquote type="cite" style="padding: 0 0.4em; \
border-left: #1010ff 2px solid; margin: 0"><span style="white-space: \
nowrap;">What, if you first source build/prefix.sh?</span></blockquote>
<br />Tried rm -rf build && mkdir build && cd build && cmake \
.. && make -j8 && source prefix.sh && make test<br /><br \
/>The contents of build/autotests/html.output/highlight.rst.html still do not reflect \
my changes to data/syntax/rest.xml :(<br /><br />On the other hand, I’ve copied \
data/syntax/rest.xml into /usr/share/org.kde.syntax-highlighting/syntax/rest.xml and \
confirmed that the tests are picking up the file at \
/usr/share/org.kde.syntax-highlighting/syntax/rest.xml instead of \
data/syntax/rest.xml.<br /><br /><span style="white-space: \
nowrap;">On 2019-10-27 19:22, Dominik Haumann wrote:</span><br \
/><br /> <blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px \
solid; margin: 0"><span style="white-space: \
nowrap;">What does `ldd build/bin/syntax/testhighlighter_test` tell you?</span><br \
/><span style="white-space: \
nowrap;">What, if you first source build/prefix.sh?</span><br \
/><br /><span style="white-space: \
nowrap;">Likely the wrong lib is used.</span><br /><br \
/>Greetings<br />Dominik<br /><br /><span style="white-space: \
nowrap;">Adrian Chaves <<a \
href="mailto:adrian@chaves.io">adrian@chaves.io</a>> schrieb am So., 27. Okt. 2019, 17:49:</span><br \
/><br /> <blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px \
solid; margin: 0"><span style="white-space: \
nowrap;">I emptied data/syntax/rest.xml (made it a valid syntax file that would</span><br \
/><span style="white-space: \
nowrap;">mark all text as normal).</span><br /><br /><span \
style="white-space: nowrap;">Then I run:</span><br /><br /><span \
style="white-space: nowrap;">rm -rf build && mkdir build && cd build</span><br \
/><span style="white-space: \
nowrap;">cmake .. && make -j8 && make test</span><br \
/><br /><span style="white-space: \
nowrap;">But the contents of build/autotests/html.output/highlight.rst.html are</span><br \
/>still those that would be generated if data/syntax/rest.xml had not been<br /><span \
style="white-space: nowrap;">changed.</span></blockquote> </blockquote>
</div>
</blockquote>
<p><br /></p>
</body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic