On 4 Jul 2016, at 8:45 am, Hans-Peter Jansen <hpj at urpla.net> wrote:
>> On Sonntag, 3. Juli 2016 22:27:50 Phil Thompson wrote:
>> On 2 Jul 2016, at 3:58 pm, Hans-Peter Jansen <hpj at urpla.net> wrote:
>>> Hello Phil,
>>>>>> an attempt to update the openSUSE PyQt5 build to version 5.6 fails in some
>>> strange way:
>>>>>> $ python3 configure.py --verbose --confirm-license --qsci-api -u --qmake
>>> /usr/lib64/qt5/bin/qmake -c -j 10 --dbus /usr/include/dbus-1.0
>>> LIBDIR_QT=/usr/lib64 STRIP="" MOC=/usr/bin/moc LIBS_OPENGL="" LIBS_X11=""
>>> LIBS_THREAD="" QMAKE_CFLAGS+="${CFLAGS} ${CPPFLAGS}"
>>> QMAKE_CXXFLAGS+="${CXXFLAGS} ${CPPFLAGS}" QMAKE_LFLAGS+="${LDFLAGS}"
>>> [...]
>>> Qt v5.6.1 (Open Source) is being used.
>>> The qmake executable is /usr/lib64/qt5/bin/qmake.
>>> Qt is built as a shared library.
>>> SIP 4.18 is being used.
>>> The sip executable is /usr/bin/sip.
>>> These PyQt5 modules will be built: QtCore, QtGui, QtMultimedia,
>>> QtMultimediaWidgets, QtNetwork, QtOpenGL, QtPrintSupport, QtQml, QtQuick,
>>> QtSql, QtSvg, QtTest, QtWebKit, QtWebKitWidgets, QtWidgets, QtXml, QtDBus,
>>> _QOpenGLFunctions_2_0, _QOpenGLFunctions_2_1, _QOpenGLFunctions_4_1_Core,
>>> QtSensors, QtX11Extras, QtBluetooth, QtPositioning, QtQuickWidgets,
>>> QtWebSockets, QtWebChannel, QtWebEngineWidgets, QtLocation, QtNfc,
>>> QtWebEngineCore.
>>> The PyQt5 Python package will be installed in
>>> /usr/lib64/python3.4/site-packages.
>>> PyQt5 is being built with generated docstrings.
>>> PyQt5 is being built with 'protected' redefined as 'public'.
>>> The Designer plugin will be installed in /usr/lib64/qt5/plugins/designer.
>>> The qmlscene plugin will be installed in /usr/lib64/qt5/plugins/PyQt5.
>>> The QScintilla API file will be installed in
>>> /usr/share/qt5/qsci/api/python. The dbus support module will be installed
>>> in
>>> /usr/lib/python3.4/site-packages/dbus/mainloop.
>>> The PyQt5 .sip files will be installed in /usr/share/sip/PyQt5.
>>> pyuic5, pyrcc5 and pylupdate5 will be installed in /usr/bin.
>>> The interpreter used by pyuic5 is /usr/bin/python3.
>>> Generating the C++ source for the QtCore module...
>>> /usr/bin/sip -w -f -t WS_X11 -t Qt_5_6_1 -B Qt_6_0_0 -o -P -j 10 -a
>>> QtCore.api -c
>>> /home/hp/src/obs/home:frispete:PyQt5/python3-qt5/PyQt5_gpl-5.6/QtCore -I
>>> sip -I /home/hp/src/obs/home:frispete:PyQt5/python3-qt5/PyQt5_gpl-5.6/sip
>>> /home/hp/src/obs/home:frispete:PyQt5/python3-qt5/PyQt5_gpl-5.6/sip/QtCore
>>> /QtCoremod.sip sip: Deprecation warning: the -T flag is ignored and
>>> deprecated
>>> Error: Unable to create the C++ code.
>>>>>> Any idea, what's going wrong here?
>>>>>> An strace revealed, that sip tries to access QtCore/sipAPIQtCore.h, but
>>> QtCore is an empty directory.
>>>> The -f flag to sip means the warning about the -T flag is treated as an
>> error. However, from the above, I can't see how the -T flag is being set.
>> Ahh, the openSUSE sip module carried this patch in order to avoid churn in the
> build system:
> --- sipgen/main.c
> +++ sipgen/main.c
> @@ -78,7 +78,7 @@
> kwArgs = NoKwArgs;
> protHack = FALSE;
> docs = FALSE;
> - timestamp = TRUE;
> + timestamp = FALSE;
>> /* Parse the command line. */
> optnr = 1;
>> Now, that you officially deprecated the timestamp option, and test explicitly for
> truth, that patch in counteracting your endeavour. IOW, the package maintainer,
> that updated to sip 4.18 didn't hear the bells ringing...
>> Fixed, thanks.
>> While at it, there's another issue related to the PyQt5 dbus module:
>> $ pkg-config --cflags-only-I --libs dbus-1
> -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -ldbus-1
>> In order to build this module successfully, both includes must be provided, but
> the auto detection code reduces this list to the first include, resulting in a
> build failure.
>> Here's a minimum invasive patch, that I've applied. It should cover all intends
> without suffering from the mentioned issue:
>> --- PyQt5_gpl-5.6/configure.py.orig 2016-04-24 12:55:08.000000000 +0200
> +++ PyQt5_gpl-5.6/configure.py 2016-07-04 09:05:08.656670560 +0200
> @@ -2131,22 +2131,15 @@ def check_dbus(target_config, verbose):
>> target_config.pydbus_module_dir = dbus.mainloop.__path__[0]
>> - # Try and find dbus-python.h. We don't use pkg-config because it is broken
> + # Try and find dbus-python.h. We don't rely on pkg-config because it is broken
> # for dbus-python (at least for versions up to and including v0.81.0).
> # Instead we look where DBus itself is installed - which in most cases will
> # be where dbus-python is also installed.
> if target_config.pydbus_inc_dir != '':
> - dlist = [target_config.pydbus_inc_dir]
> - else:
> - dlist = target_config.dbus_inc_dirs
> -
> - target_config.dbus_inc_dirs = []
> + target_config.dbus_inc_dirs.append(target_config.pydbus_inc_dir)
>> - for d in dlist:
> + for d in target_config.dbus_inc_dirs:
> if os.access(os.path.join(d, 'dbus', 'dbus-python.h'), os.F_OK):
> - if d not in target_config.dbus_inc_dirs:
> - target_config.dbus_inc_dirs.append(d)
> -
> break
> else:
> inform(
This has already been changed in the current snapshot.
Phil
More information about the PyQt
mailing list
‘She has never mentioned her father to me. Was he—well, the sort of man whom the County Club would not have blackballed?’ "We walked by the side of our teams or behind the wagons, we slept on the ground at night, we did our own cooking, we washed our knives by sticking them into the ground rapidly a few times, and we washed our plates with sand and wisps of grass. When we stopped, we arranged our wagons in a circle, and thus formed a 'corral,' or yard, where we drove our oxen to yoke them up. And the corral was often very useful as a fort, or camp, for defending ourselves against the Indians. Do you see that little hollow down there?" he asked, pointing to a depression in the ground a short distance to the right of the train. "Well, in that hollow our wagon-train was kept three days and nights by the Indians. Three days and nights they stayed around, and made several attacks. Two of our men were killed and three were wounded by their arrows, and others had narrow escapes. One arrow hit me on the throat, but I was saved by the knot of my neckerchief, and the point only tore the skin a little. Since that time I have always had a fondness for large neckties. I don't know how many of the Indians we killed, as they carried off their dead and wounded, to save them from being scalped. Next to getting the scalps of their enemies, the most important thing with the Indians is to save their own. We had several fights during our journey, but that one was the worst. Once a little party of us were surrounded in a small 'wallow,' and had a tough time to defend ourselves successfully. Luckily for us, the Indians had no fire-arms then, and their bows and arrows were no match for our rifles. Nowadays they are well armed, but there are[Pg 41] not so many of them, and they are not inclined to trouble the railway trains. They used to do a great deal of mischief in the old times, and many a poor fellow has been killed by them." As dusk came on nearly the whole population of Maastricht, with all their temporary guests, formed an endless procession and went to invoke God's mercy by the Virgin Mary's intercession. They went to Our Lady's Church, in which stands the miraculous statue of Sancta Maria Stella Maris. The procession filled all the principal streets and squares of the town. I took my stand at the corner of the Vrijthof, where all marched past me, men, women, and children, all praying aloud, with loud voices beseeching: "Our Lady, Star of the Sea, pray for us ... pray for us ... pray for us ...!" It had not occurred to her for some hours after Mrs. Campbell had told her of Landor's death that she was free now to give herself to Cairness. She had gasped, indeed, when she did remember it, and had put the thought away, angrily and self-reproachfully. But it returned now, and she felt that she might cling to it. She had been grateful, and she had been faithful, too.[Pg 286] She remembered only that Landor had been kind to her, and forgot that for the last two years she had borne with much harsh coldness, and with a sort of contempt which she felt in her unanalyzing mind to have been entirely unmerited. Gradually she raised herself until she sat quite erect by the side of the mound, the old exultation of her half-wild girlhood shining in her face as she planned the future, which only a few minutes before had seemed so hopeless. After he had gloated over Sergeant Ramsey, Shorty got his men into the road ready to start. Si placed himself in front of the squad and deliberately loaded his musket in their sight. Shorty took his place in the rear, and gave out: The groups about each gun thinned out, as the shrieking fragments of shell mowed down man after man, but the rapidity of the fire did not slacken in the least. One of the Lieutenants turned and motioned with his saber to the riders seated on their horses in the line of limbers under the cover of the slope. One rider sprang from each team and ran up to take the place of men who had fallen. "As long as there's men and women in the world, the men 'ull be top and the women bottom." Then, in the house, the little girls were useful. Mrs. Backfield was not so energetic as she used to be. She had never been a robust woman, and though her husband's care had kept her well and strong, her frame was not equal to Reuben's demands; after fourteen years' hard labour, she suffered from rheumatism, which though seldom acute, was inclined to make her stiff and slow. It was here that Caro and Tilly came in, and Reuben began to appreciate his girls. After all, girls were needed in a house—and as for young men and marriage, their father could easily see that such follies did not spoil their usefulness or take them from him. Caro and Tilly helped their grandmother in all sorts of ways—they dusted, they watched pots, they shelled peas and peeled potatoes, they darned house-linen, they could even make a bed between them. HoME一级毛片视频免费公开
ENTER NUMBET 0018gzzhenhua.com.cn cz-rubber.com.cn www.qtjcf.com.cn apksign.org.cn www.ningque.com.cn bxyt854.com.cn soeef.com.cn www.77free.net.cn www.sionway.com.cn dxcy888.com.cn