Re: Help not showing in daily builds (was: Questions for a New LC user. Layers, Print window, Help files.)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Help not showing in daily builds (was: Questions for a New LC user. Layers, Print window, Help files.)

maqifrnswa
On Thu, Apr 19, 2012 at 3:19 PM, Scott Howard <[hidden email]> wrote:
> It's in the daily builds... someone should fix that {looks in the mirror}...
>
> I'll take a look at it

Ok, so it looks like librecad builds everything it needs in

unix/resources
which has:
doc  fonts  library  patterns  plugins  qm

However, "doc" is empty

It turns out that in scripts/postprocess-unix.sh:
THISDIR="`pwd`"
LCDIR="${THISDIR}/librecad"
RESOURCEDIR="${THISDIR}/unix/resources"
TSDIR="${LCDIR}/ts"
SPTDIR="${LCDIR}/support"
DOCDIR="${SPTDIR}/doc"

then later on:
mkdir -p "${RESOURCEDIR}"/fonts
mkdir -p "${RESOURCEDIR}"/patterns
mkdir -p "${RESOURCEDIR}"/doc
cp "${SPTDIR}"/patterns/*.dxf "${RESOURCEDIR}"/patterns
cp "${SPTDIR}"/fonts/*.lff* "${RESOURCEDIR}"/fonts

we probably need
cp -a "${SPTDIR}"/docs/* "${RESOURCEDIR}"/doc

because we're never copying the docs to unix/resources

Is that right?
Reply | Threaded
Open this post in threaded view
|

Re: Help not showing in daily builds (was: Questions for a New LC user. Layers, Print window, Help files.)

R. van Twisk
Administrator
Scott,

I hope you didn't miss my previous mail si I will paste it again…

-------------
Scott,

make sure that this command can run fine: qcollectiongenerator LibreCADdoc.qhcp
See line 10 and 11 of : postprocess-unix.sh

It generates the helpfiles into a sqlite3 database file with the extension *.qhc and *.qch

The OSX script copies them to the right directory using the following two lines

cp librecad/support/doc/*.qhc $RESOURCEDIR/Resources/doc
cp librecad/support/doc/*.qch $RESOURCEDIR/Resources/doc

I think these two lines should be added to postprocess-unix.sh to create a complete package aswell...

The background of the script are so that the user can compile and run LibreCAD without doing a full installation.
-------------

Additionally,

Qt's help system doesn't use the 'raw' HTML source, so you only need to copy two file to get the help working.
The final package needs to depend on sqlite3

Ries



On Apr 19, 2012, at 2:29 PM, showard314 [via LibreCAD] wrote:

On Thu, Apr 19, 2012 at 3:19 PM, Scott Howard <<a href="x-msg://311/user/SendEmail.jtp?type=node&amp;node=5652589&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:
> It's in the daily builds... someone should fix that {looks in the mirror}...
>
> I'll take a look at it

Ok, so it looks like librecad builds everything it needs in

unix/resources
which has:
doc  fonts  library  patterns  plugins  qm

However, "doc" is empty

It turns out that in scripts/postprocess-unix.sh:
THISDIR="`pwd`"
LCDIR="${THISDIR}/librecad"
RESOURCEDIR="${THISDIR}/unix/resources"
TSDIR="${LCDIR}/ts"
SPTDIR="${LCDIR}/support"
DOCDIR="${SPTDIR}/doc"

then later on:
mkdir -p "${RESOURCEDIR}"/fonts
mkdir -p "${RESOURCEDIR}"/patterns
mkdir -p "${RESOURCEDIR}"/doc
cp "${SPTDIR}"/patterns/*.dxf "${RESOURCEDIR}"/patterns
cp "${SPTDIR}"/fonts/*.lff* "${RESOURCEDIR}"/fonts

we probably need
cp -a "${SPTDIR}"/docs/* "${RESOURCEDIR}"/doc

because we're never copying the docs to unix/resources

Is that right?



To start a new topic under LibreCAD, email [hidden email]
To unsubscribe from LibreCAD, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Help not showing in daily builds (was: Questions for a New LC user. Layers, Print window, Help files.)

maqifrnswa
On Thu, Apr 19, 2012 at 3:42 PM, R. van Twisk [via LibreCAD]
<[hidden email]> wrote:
> Scott,
>
> I hope you didn't miss my previous mail si I will paste it again…

I got it - i'm working on the merge now and testing
Reply | Threaded
Open this post in threaded view
|

Re: Help not showing in daily builds (was: Questions for a New LC user. Layers, Print window, Help files.)

maqifrnswa
In reply to this post by R. van Twisk
On Thu, Apr 19, 2012 at 3:44 PM, Scott Howard <[hidden email]> wrote:
> On Thu, Apr 19, 2012 at 3:42 PM, R. van Twisk [via LibreCAD]
> <[hidden email]> wrote:
>> Scott,
>>
>> I hope you didn't miss my previous mail si I will paste it again…
>
> I got it - i'm working on the merge now and testing

It's committed and working with the daily builds. Users should see it
working within a few hours.
Reply | Threaded
Open this post in threaded view
|

Re: Help not showing in daily builds (was: Questions for a New LC user. Layers, Print window, Help files.)

zs1otb
This post was updated on .
I have just updated to LibreCAD SCM Revision 2.0 Alpha3. When I select >Help -> Manual I get a blank display. I have not yet been able to see the manual. Is there something I can do do fix this problem on my side?
Asking a question is not stupid, it is rather a sure way to get enlightened...