02-01-2016, 01:41 AM | #16 |
Belgian Pommes Frites
Posts: 101
Karma: 532
Join Date: Jan 2012
Device: Pocketbook Touch HD
|
|
02-01-2016, 11:12 AM | #17 |
Well trained by Cats
Posts: 29,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
Advert | |
|
02-02-2016, 02:40 AM | #18 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
At least it still does this in my Sigil 0.9.3 Windows and Linux versions. |
|
02-02-2016, 02:56 AM | #19 |
Banned
Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
|
I can confirm this. I only checked CV.
|
02-02-2016, 05:34 AM | #20 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Jan 2015
Device: Nook STR
|
Nice release, thanks!
Getting an error on changing package version 1.0 to 2.0. Shouldn't it be relevant just for 3.0 version? Quote:
|
|
Advert | |
|
02-02-2016, 08:05 AM | #21 |
Sigil Developer
Posts: 7,654
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Good point. I did not know any package version 1 existed anymore. I will restrict that change from 2 to 3 and not 1 to 2 in the next release.
Until then, use an earlier version of Sigil to make just that one change or unzip and edit the content opf directly. Sorry about that. Perhaps an epub 1 to 2 output plugin similar to ePub3-itizer should be built to go from epub 1 to epub 2. KevinH |
02-02-2016, 08:30 AM | #22 | ||
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Quote:
Haven't had any luck finding one yet, but it doesn't look like it should take much to get one to open in Sigil. I was thinking about a general OEBPS structure/archive, and/or OPF-based importer anyway. I also think we're going to need something "down and dirty" to go from v3.0 to v2.0 as well. Obviously not for complex media-laden, or SMIL-type, MATHML sources (whose downgrading wouldn't make sense anyway), but for Epub3s that don't really utilize any special features. Last edited by DiapDealer; 02-02-2016 at 08:42 AM. |
||
02-03-2016, 04:29 PM | #23 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
For example: Code:
<package unique-identifier="book-id" xmlns="http://openebook.org/namespaces/oeb-package/1.0/"> |
|
02-03-2016, 05:44 PM | #24 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jan 2015
Device: Nook STR
|
|
02-04-2016, 02:39 AM | #25 |
Banned
Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
|
The cleanOPF plugin is writing a new vakid package. If wanted i can add the functionality of changing the mimetype.
But: its throwing out a lot of calibre stuff, too. |
02-04-2016, 03:25 AM | #26 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
|
02-07-2016, 12:22 PM | #27 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2010
Device: ipad
|
New Epub 3 features
Hi,
This a great news. Thanks a all staff Please, I would like to know better how works these features - Update manifest properties (Epub 3 tools) - epub may access all remote resources types (preferences) Is there some documentation about it? Best regards |
02-07-2016, 01:34 PM | #28 |
Sigil Developer
Posts: 7,654
Karma: 5433388
Join Date: Nov 2009
Device: many
|
For epub3, the spec says that anytime an epub:switch, mathml, svg, script, or nav tag is used or remote resource is used in an xhtml file, the content.opf must include specific manifest properties on the manifest entries in the content.opf.
The Generate Manifest Properties epub3 tool, will in fact parse every single xhtml file in your epub and properly create the necessary manifest properties and add them in the right place in the content.opf so that you do not have to worry about that. You can run this tool at any time as it only updates the content.opf. I strongly recommend running it before running epubcheck and before any final saving of the epub. In epub3, remote resources may be referenced which are not included in the epub itself. The new General settings: "epub may access all remote resources" enables you to access remote resources not local to you epub. You can disable this to prevent "bad / untrusted" javascript inside any epub from accessing things across the internet without your permission. The exception to this rule is multimedia resources. Since they are so large and use a different way to access their resources, we are always enabled. Hope this helps, KevinH Last edited by KevinH; 02-07-2016 at 05:57 PM. |
02-19-2016, 02:50 PM | #29 |
Guru
Posts: 657
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
Linux Mint 17.2 Cinnamon 64-bit
cmake 3.2.2 python 3.4.3 qt5.5.1 Make ends with "*** [all ] Error 2". Ideas? cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH=/opt/Qt5.5.1/5.5/gcc_64/lib/cmake -DPYTHON_LIBRARY=/usr/lib/python3.4 -DCMAKE_INSTALL_PREFIX=/home/patrik/bin -DPYTHON_EXECUTABLE=/usr/bin/python3.4 -DCMAKE_BUILD_TYPE=Release Sigil-0.9.3_src Code:
CMakeFiles/sigil.dir/Misc/EmbeddedPython.cpp.o: In function `EmbeddedPython::EmbeddedPython()': EmbeddedPython.cpp:(.text+0x7): undefined reference to `Py_Initialize' EmbeddedPython.cpp:(.text+0xc): undefined reference to `PyEval_InitThreads' EmbeddedPython.cpp:(.text+0x11): undefined reference to `PyEval_SaveThread' CMakeFiles/sigil.dir/Misc/EmbeddedPython.cpp.o: In function `EmbeddedPython::~EmbeddedPython()': EmbeddedPython.cpp:(.text+0x186): undefined reference to `PyEval_RestoreThread' CMakeFiles/sigil.dir/Misc/EmbeddedPython.cpp.o: In function `EmbeddedPython::addToPythonSysPath(QString const&)': EmbeddedPython.cpp:(.text+0x1bf): undefined reference to `PyGILState_Ensure' EmbeddedPython.cpp:(.text+0x1ce): undefined reference to `PySys_GetObject' EmbeddedPython.cpp:(.text+0x1f1): undefined reference to `PyUnicode_FromString' EmbeddedPython.cpp:(.text+0x223): undefined reference to `PyList_Append' EmbeddedPython.cpp:(.text+0x24f): undefined reference to `PyGILState_Release' CMakeFiles/sigil.dir/Misc/EmbeddedPython.cpp.o: In function `EmbeddedPython::QVariantToPyObject(QVariant const&)': EmbeddedPython.cpp:(.text+0xa07): undefined reference to `Py_BuildValue' EmbeddedPython.cpp:(.text+0xa39): undefined reference to `Py_BuildValue' EmbeddedPython.cpp:(.text+0xa5b): undefined reference to `Py_BuildValue' EmbeddedPython.cpp:(.text+0xa7e): undefined reference to `Py_BuildValue' EmbeddedPython.cpp:(.text+0xaa1): undefined reference to `Py_BuildValue' CMakeFiles/sigil.dir/Misc/EmbeddedPython.cpp.o:EmbeddedPython.cpp:(.text+0xac7): more undefined references to `Py_BuildValue' follow CMakeFiles/sigil.dir/Misc/EmbeddedPython.cpp.o: In function `EmbeddedPython::QVariantToPyObject(QVariant const&)': EmbeddedPython.cpp:(.text+0xaf2): undefined reference to `PyList_New' EmbeddedPython.cpp:(.text+0xb6f): undefined reference to `PyList_SetItem' EmbeddedPython.cpp:(.text+0xcad): undefined reference to `PyUnicode_FromKindAndData' EmbeddedPython.cpp:(.text+0xd14): undefined reference to `PyList_New' EmbeddedPython.cpp:(.text+0xdbe): undefined reference to `PyUnicode_FromKindAndData' EmbeddedPython.cpp:(.text+0xdcc): undefined reference to `PyList_SetItem' EmbeddedPython.cpp:(.text+0xebb): undefined reference to `Py_BuildValue' EmbeddedPython.cpp:(.text+0xf09): undefined reference to `Py_BuildValue' CMakeFiles/sigil.dir/Misc/EmbeddedPython.cpp.o: In function `EmbeddedPython::PyObjectToQVariant(_object*, bool)': EmbeddedPython.cpp:(.text+0x13ea): undefined reference to `PyFloat_Type' EmbeddedPython.cpp:(.text+0x13f8): undefined reference to `PyType_IsSubtype' EmbeddedPython.cpp:(.text+0x145a): undefined reference to `PyUnicode_AsUTF8' EmbeddedPython.cpp:(.text+0x1594): undefined reference to `PyFloat_AsDouble' EmbeddedPython.cpp:(.text+0x1634): undefined reference to `PyLong_AsLongLong' EmbeddedPython.cpp:(.text+0x182c): undefined reference to `PyBytes_AsString' EmbeddedPython.cpp:(.text+0x1a14): undefined reference to `_PyUnicode_Ready' EmbeddedPython.cpp:(.text+0x1a43): undefined reference to `PyTuple_Size' EmbeddedPython.cpp:(.text+0x1a6f): undefined reference to `PyTuple_GetItem' EmbeddedPython.cpp:(.text+0x1bcb): undefined reference to `PyList_Size' EmbeddedPython.cpp:(.text+0x1bf7): undefined reference to `PyList_GetItem' CMakeFiles/sigil.dir/Misc/EmbeddedPython.cpp.o: In function `EmbeddedPython::getPythonErrorTraceback(bool)': EmbeddedPython.cpp:(.text+0x2210): undefined reference to `PyErr_Fetch' EmbeddedPython.cpp:(.text+0x2223): undefined reference to `PyErr_NormalizeException' EmbeddedPython.cpp:(.text+0x2234): undefined reference to `PyImport_ImportModule' EmbeddedPython.cpp:(.text+0x226c): undefined reference to `PyObject_CallMethod' EmbeddedPython.cpp:(.text+0x23c3): undefined reference to `PyErr_Clear' CMakeFiles/sigil.dir/Misc/EmbeddedPython.cpp.o: In function `EmbeddedPython::runInPython(QString const&, QString const&, QList<QVariant> const&, int*, QString&, bool)': EmbeddedPython.cpp:(.text+0x2782): undefined reference to `PyGILState_Ensure' EmbeddedPython.cpp:(.text+0x27ec): undefined reference to `PyUnicode_FromString' EmbeddedPython.cpp:(.text+0x281e): undefined reference to `PyImport_Import' EmbeddedPython.cpp:(.text+0x284b): undefined reference to `PyObject_GetAttrString' EmbeddedPython.cpp:(.text+0x2884): undefined reference to `PyCallable_Check' EmbeddedPython.cpp:(.text+0x28a1): undefined reference to `PyErr_Occurred' EmbeddedPython.cpp:(.text+0x2967): undefined reference to `PyGILState_Release' EmbeddedPython.cpp:(.text+0x2acf): undefined reference to `PyTuple_New' EmbeddedPython.cpp:(.text+0x2b65): undefined reference to `PyTuple_SetItem' EmbeddedPython.cpp:(.text+0x2c35): undefined reference to `PyObject_CallObject' CMakeFiles/sigil.dir/Misc/EmbeddedPython.cpp.o: In function `EmbeddedPython::callPyObjMethod(PyObjectPtr&, QString const&, QList<QVariant> const&, int*, QString&, bool)': EmbeddedPython.cpp:(.text+0x2dbd): undefined reference to `PyGILState_Ensure' EmbeddedPython.cpp:(.text+0x2e24): undefined reference to `PyObject_GetAttrString' EmbeddedPython.cpp:(.text+0x2e56): undefined reference to `PyCallable_Check' EmbeddedPython.cpp:(.text+0x2e73): undefined reference to `PyErr_Occurred' EmbeddedPython.cpp:(.text+0x2efd): undefined reference to `PyGILState_Release' EmbeddedPython.cpp:(.text+0x2fe9): undefined reference to `PyTuple_New' EmbeddedPython.cpp:(.text+0x3067): undefined reference to `PyTuple_SetItem' EmbeddedPython.cpp:(.text+0x3126): undefined reference to `PyObject_CallObject' CMakeFiles/sigil.dir/Misc/EmbeddedPython.cpp.o: In function `EmbeddedPython::~EmbeddedPython()': EmbeddedPython.cpp:(.text+0x191): undefined reference to `Py_Finalize' CMakeFiles/sigil.dir/Misc/PyObjectPtr.cpp.o: In function `PyObjectPtr::~PyObjectPtr()': PyObjectPtr.cpp:(.text+0x1f): undefined reference to `PyGILState_Ensure' CMakeFiles/sigil.dir/Misc/PyObjectPtr.cpp.o: In function `PyObjectPtr::setNewRef(_object*)': PyObjectPtr.cpp:(.text+0x8a): undefined reference to `PyGILState_Ensure' PyObjectPtr.cpp:(.text+0xa3): undefined reference to `PyGILState_Release' CMakeFiles/sigil.dir/Misc/PyObjectPtr.cpp.o: In function `PyObjectPtr::setObject(_object*)': PyObjectPtr.cpp:(.text+0xea): undefined reference to `PyGILState_Ensure' PyObjectPtr.cpp:(.text+0x104): undefined reference to `PyGILState_Release' CMakeFiles/sigil.dir/Misc/PyObjectPtr.cpp.o: In function `PyObjectPtr::~PyObjectPtr()': PyObjectPtr.cpp:(.text+0x3d): undefined reference to `PyGILState_Release' PyObjectPtr.cpp:(.text+0x5f): undefined reference to `PyGILState_Release' collect2: error: ld returned 1 exit status make[2]: *** [bin/sigil] Error 1 make[1]: *** [src/CMakeFiles/sigil.dir/all] Error 2 make: *** [all] Error 2 |
02-19-2016, 03:07 PM | #30 | |
Sigil Developer
Posts: 7,654
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Hi,
Your system seems to be missing the Python.h header and others related to libpython 3.4. Try looking for the dev package or some package that contains Python.h (and the other libpython headers) and install it with your package manager, and then try a clean rebuild. Kevin ps - the build docs for linux are here https://github.com/Sigil-Ebook/Sigil...dingOnLinux.md My guess is you did not install the libpython3.4-dev package as is listed in the Building On Linux docs. Quote:
Last edited by KevinH; 02-19-2016 at 03:14 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 | KevinH | Sigil | 106 | 10-04-2015 10:41 AM |
Sigil 0.8.3 Released | user_none | Sigil | 10 | 02-02-2015 04:32 PM |
Sigil 0.8.1 Released | user_none | Sigil | 33 | 10-16-2014 05:04 PM |
Sigil 0.7.4 Released | user_none | Sigil | 47 | 01-05-2014 02:31 PM |