1. 14 Sep, 2016 2 commits
    • Wolfgang Bauer's avatar
      Merge branch 'KDE/4.14' · 4fbd39c5
      Wolfgang Bauer authored
      4fbd39c5
    • Wolfgang Bauer's avatar
      Add some missing(?) link libraries · b0137f69
      Wolfgang Bauer authored
      This fixes the following build errors in openSUSE Factory:
      
      CMakeFiles/python_module_PyKDE4_dnssd.dir/sip/dnssd/sipdnssdpart2.cpp.o:
      In function `meth_DNSSD_ServiceBrowser_resolveHostName':
      /home/abuild/rpmbuild/BUILD/pykde4-4.14.3/build/sip/dnssd/sipdnssdpart2.cpp:408:
      undefined reference to `QHostAddress::QHostAddress(QHostAddress
      const&)'
      /home/abuild/rpmbuild/BUILD/pykde4-4.14.3/build/sip/dnssd/sipdnssdpart2.cpp:408:
      undefined reference to `QHostAddress::~QHostAddress()'
      collect2: error: ld returned 1 exit status
      ...
      CMakeFiles/python_module_PyKDE4_kio.dir/sip/kio/sipkiopart3.cpp.o: In
      function `meth_KFilePlacesModel_deviceForIndex':
      /home/abuild/rpmbuild/BUILD/pykde4-4.14.3/build/sip/kio/sipkiopart3.cpp:18560:
      undefined reference to `Solid::Device::Device(Solid::Device const&)'
      /home/abuild/rpmbuild/BUILD/pykde4-4.14.3/build/sip/kio/sipkiopart3.cpp:18560:
      undefined reference to `Solid::Device::~Device()'
      CMakeFiles/python_module_PyKDE4_kio.dir/sip/kio/sipkiopart4.cpp.o: In
      function `meth_KDeviceListModel_deviceForIndex':
      /home/abuild/rpmbuild/BUILD/pykde4-4.14.3/build/sip/kio/sipkiopart4.cpp:27090:
      undefined reference to `Solid::Device::Device(Solid::Device const&)'
      /home/abuild/rpmbuild/BUILD/pykde4-4.14.3/build/sip/kio/sipkiopart4.cpp:27090:
      undefined reference to `Solid::Device::~Device()'
      collect2: error: ld returned 1 exit status
      
      REVIEW: 127705
      b0137f69
  2. 17 May, 2015 2 commits
    • Rex Dieter's avatar
      Merge branch 'KDE/4.14' · fb6cbf21
      Rex Dieter authored
      fb6cbf21
    • Rex Dieter's avatar
      use LIB_PYTHON realpath · 34bed3ce
      Rex Dieter authored
      Use GET_FILENAME_COMPONENT( ... REALPATH). PYTHON_LIBRARY as returned
      by cmake, whose target is often a symlink.  Some distro packaging
      reserves such library symlinks for -devel and not runtime.
      
      REVIEW: 116719
      34bed3ce
  3. 14 Aug, 2014 2 commits
  4. 03 Aug, 2014 2 commits
    • Raphael Kubo da Costa's avatar
      Merge branch 'KDE/4.14' · 97836ade
      Raphael Kubo da Costa authored
      * KDE/4.14:
        Update the PyQt4NoQMetaObject annotation for SIP >= 4.16.
      97836ade
    • Raphael Kubo da Costa's avatar
      Update the PyQt4NoQMetaObject annotation for SIP >= 4.16. · daeb7145
      Raphael Kubo da Costa authored
      SIP 4.16 has introduced a backwards-incompatible change by renaming the
      PyQt4NoQMetaObject annotation to PyQtNoQMetaObject.
      
      We now have to duplicate the definition of the affected classes in our
      SIP files so that the right version with the right annotations are
      chosen based on the SIP version being used.
      
      REVIEW:   119582
      BUG:      332223
      FIXED-IN: 4.14.0
      daeb7145
  5. 29 Jul, 2014 2 commits
    • Raphael Kubo da Costa's avatar
      Merge branch 'KDE/4.14' · e5180d83
      Raphael Kubo da Costa authored
      * KDE/4.14:
        Support PyQt installations without pyqtconfig.py.
      e5180d83
    • Raphael Kubo da Costa's avatar
      Support PyQt installations without pyqtconfig.py. · 0459dba0
      Raphael Kubo da Costa authored
      PyQt's pyqtconfig was deprecated in version 4.10, and is not installed
      if PyQt's new build system is used.
      
      PyKDE itself provides a pykdeconfig module that inherits from pyqtconfig
      and allows users of the SIP build system to obtain information about how
      PyKDE was configured and generate Makefiles from it. It is also used by
      kdelibs's FindPyKDE4.cmake for the same purposes.
      
      Even though the information provided by PyKDE exists regardless of
      pyqtconfig, insisting on pykdeconfig goes against the design of PyQt's
      new build system.
      
      Instead, we now do something similar to PyQt itself: while it provides a
      PYQT_CONFIGURATION dict with (at the moment) a single key with the SIP
      flags used to build PyQt, we provide PyKDE4.kdecore.PYKDE_CONFIGURATION,
      a dict containing the SIP flags used to build PyKDE and, in addition to
      that, the directory where PyKDE's SIP files have been installed. This
      new dict exists regardless of how PyQt was built.
      
      Finally, this commit does not remove pykdeconfig.py, but rather makes
      its installation depend on whether pyqtconfig.py has been found at
      configuration time.
      
      CCBUG:  327633
      REVIEW: 119453
      0459dba0
  6. 24 Jul, 2014 1 commit
  7. 20 Jun, 2014 1 commit
    • Luca Beltrame's avatar
      Fix building with PyQt >= 4.11 · 1e9817f9
      Luca Beltrame authored
      PyQt 4.11 adds new typedefs for GLuint, and these clash with the ones
      defined in PyKDE4. Using a conditional in the sip file, the old
      definitions are only kept if PyQt's version is lower than 4.11.
      
      Checks have been added also for the Python 3 definitions.
      
      CCMAIL: kde-packager@kde.org
      1e9817f9
  8. 10 Mar, 2014 1 commit
  9. 01 Mar, 2014 3 commits
  10. 18 Jan, 2014 1 commit
  11. 11 Sep, 2013 1 commit
  12. 10 Sep, 2013 1 commit
    • Luca Beltrame's avatar
      More fixes for the build system: this is the "harmless" part of the · 7c0648b3
      Luca Beltrame authored
      patch used by Debian (and made by Simon Edwards himself) which adds the
      "protected is public" hack to allow for proper building with SIP 4.15+.
      
      PyKDE4 needs some code adjustments, however: those exist in patch form
      (see bug) but aren't yet committed. Simon, should I push them already,
      or should I wait till the issues on ARM are resolved?
      
      CCMAIL: simon@simonzone.com
      CCBUG: 323950
      7c0648b3
  13. 01 Sep, 2013 1 commit
  14. 11 Jun, 2013 1 commit
  15. 30 May, 2013 1 commit
  16. 29 May, 2013 1 commit
  17. 28 May, 2013 1 commit
  18. 17 May, 2013 1 commit
  19. 02 Mar, 2013 2 commits
  20. 07 Jan, 2013 3 commits
    • Luca Beltrame's avatar
      Merge branch 'KDE/4.10' · d2539364
      Luca Beltrame authored
      d2539364
    • Luca Beltrame's avatar
      Fix unresolved symbols appearing in PyKDE4. · bdab774f
      Luca Beltrame authored
      Apparently the CMake policy responsible for this is getting set back
      somewhere in the build system.
      
      Reporter, please close the bug if the issue is no longer applicable. I
      can't reproduce it.
      
      CCBUG: 312618
      bdab774f
    • Luca Beltrame's avatar
      Revert "Fix build after 9b2593ac" · 9f70d3e3
      Luca Beltrame authored
      Apparently the CMake policy is set back somewhere in CMakeLists, and some
      people (not me, unfortunately) are experiencing missing symbols in
      PyKDE4.
      
      The commit (in agreement with krop) has been reverted until the real
      cause is to be found.
      
      Close the bug if you're no longer affected by this.
      
      CCBUG: 312618
      
      This reverts commit f8ab7037.
      9f70d3e3
  21. 04 Jan, 2013 2 commits
  22. 03 Jan, 2013 2 commits
  23. 30 Dec, 2012 1 commit
  24. 29 Dec, 2012 2 commits
    • Luca Beltrame's avatar
      Enable parallel installation of pykdeuic4. · 42259ba1
      Luca Beltrame authored
      Currently pykdeuic4 is installed to BINDIR indepdendently from the
      Python version used for building, potentially overwriting an existing
      install with a different version (think Python 2 and Python 3) and
      preventing multiple installs.
      
      This patch introduces the following changes:
      
      - Generate a symlink from pykdeuic4.py (hosted in the site-packages dir)
        to BINDIR/pykdeuic4-VERSION_MAJOR.VERSION_MINOR, where VERSION_MAJOR
        and VERSION_MINOR are the Python major and minor version,
        respectively
      - If the PYKDEUIC4_ALTINSTALL parameter is FALSE (the default) this
        symlink is further symlinked to BINDIR/pykdeuic4
      - If PYKDEUIC4_ALTINSTALL is TRUE, the second symlink is not generated
      
      Fundamentally, this is analogous to Python's own "make altinstall"
      
      This change also allows distributions to enable parallel installs and
      potentially handle the final symlink on their own (e.g. with Debian's
      update-alternatives).
      
      As PYKDEUIC4_ALTINSTALL is by default FALSE, the current behavior (prior
      to this change) is preserved.
      42259ba1
    • Luca Beltrame's avatar
      9b2593ac
  25. 23 Nov, 2012 2 commits
  26. 19 Nov, 2012 1 commit