1. 27 Mar, 2018 3 commits
    • Anthony Mallet's avatar
      [mk] Let tsort-set script still return a package name when none is available · d54a670a
      Anthony Mallet authored
      When a package is "not available" for a given platform, the print-pkgnames will
      (correctly) return an empty list. This makes tsort-set think that no package
      is matching here.
      This is bad because:
        * bulk builds results won't be triggered for this package (and appear as
          "unknown" instead of "cannot be built here" / "not available").
        * package sets without NULLGLOB option will incorrectly raise an error
      Fix by using the default PKGNAME in tsort-set when print-pkgnames returns the
      empty list.
    • Anthony Mallet's avatar
      [mk] Export PKG_PATH to pkgrepo2deb when building debian packages · 868918ed
      Anthony Mallet authored
      Should address issue #154 and repair the dependencies of the debian packages
      from wip/.
    • Anthony Mallet's avatar
      [pkgtools/pkgrepo2deb] Update to 1.3 · 53fb5dca
      Anthony Mallet authored
      Changes since 1.2:
       * Honour PKG_PATH when resolving robotpkg dependencies (#154)
       * Skip directories when running dpkg-query -S (to avoid getting a huge
         list of unrelated dependencies).
  2. 26 Mar, 2018 1 commit
    • Anthony Mallet's avatar
      [mk] Add PKGSET_NULLGLOB option, (dis)allowing empty directives in pkg sets · 4a6cac1f
      Anthony Mallet authored
      It was initially (and still is) a feature to allow, in a in package set
      definition, a package pattern expanding to the empty list. However, this can in
      practice hide a typo which may be hard to track down if the package set is
      otherwise not empty.
      This commit adds a new directive PKGSET_NULLGLOB, which can be specialized per
      package set with PKGSET_NULLGLOB.<set-name>, that controls whether a set should
      allow patterns exanding to an empty list.
      PKGSET_NULLGLOB defaults to no, thus now forbidding empty expansions by
      default. It can be turned back to 'yes' to restore the previous behaviour.
  3. 25 Mar, 2018 1 commit
  4. 23 Mar, 2018 3 commits
    • Anthony Mallet's avatar
      [mk] Force the bulk target to update uncomplete binary package repository · ce73a0f1
      Anthony Mallet authored
      If, for whatever reason, the packaging of a file and repository updates fails
      before completion (e.g. because the building machine is powered down), even
      with commit:25f649f the package repository may be left in an inconsistent
      To prevent further bulk builds to think that the build was successfull, a
      marker file is left along with the binary package file, and removed only at the
      very end of the packaging phase. If the file is present when the bulk target
      starts, this indicates a previous failure that could not be recovered and the
      packaging will be redone.
      This should address issue #151
    • Anthony Mallet's avatar
      [mk] Undo binary package publication in case of failure in the package target · d517aa81
      Anthony Mallet authored
      The 'package' target writes outside $WRKDIR. After building the binary package
      file itself, a few admistrative tasks must be performed to update the binary
      package repository and invoke additional targets like building a debian package
      from the binary package.
      In case of error in the middle of these administrative tasks, it is safer to
      rollback all modifications that were done to the packages repository, so that
      it stays in a consistent state.
      This is done like for the `install` target, by using a recursive make
      invocation, tracking any error and invoking the rollback target if necessary.
      As a side effect, a new "depackage" toplevel target is added, which is
      available to the users to manually remove a package from the repository.
    • Anthony Mallet's avatar
      [graphics/hpp-gepetto-viewer] Avoid build failure with doxygen-1.8.6 · 56c24970
      Anthony Mallet authored
      * patch-aa: Disable tagfiles, this triggers a segfault in doxygen-1.8.6 while
        processing the gepetto-viewer-corba.doxytag. This does not change the
        documentation anyway: the generated "related pages" is empty even with
        tagfiles on.
  5. 22 Mar, 2018 1 commit
  6. 21 Mar, 2018 1 commit
  7. 20 Mar, 2018 2 commits
    • Anthony Mallet's avatar
      [math/py-eigenpy] Fix build for python3 · 26d05d97
      Anthony Mallet authored
      Pass the boost-python library name to cmake. For some reason, one must define
      Boost_PYTHON_LIBRARY_RELEASE and _DEBUG, passing just Boost_PYTHON_LIBRARY does
      not work?
      Add patch-ad, fixing hardcoded python library name in the installed .pc
    • Anthony Mallet's avatar
      [devel/boost-libs] Fix boost-libs-python SYSTEM_SEARCH · 2c516e54
      Anthony Mallet authored
      Boost::Python is a special package in that it inherits all the python fun
      depending on the python version used. The fun is even more increased since
      different distributions will name the boost_python libraries differently.
      Fix SYSTEM_SEARCH to look for boost-python{py[0-9]*,3,}. This matches known
      names for those libraries on supported architectures.
      While here, fix the NetBSD system package hint: devel/boost-python was renamed
      to devel/py-boost.
  8. 19 Mar, 2018 1 commit
  9. 17 Mar, 2018 1 commit
    • Anthony Mallet's avatar
      [mk] Fix binary package up-to-date check (fallout of commit:9395d3a2) · d1d2641d
      Anthony Mallet authored
      "robotpkg_admin findbest" outputs a URL. Unfortunately, the up-to-date check
      for binary package compares dependency file timestamps with
      `test -nt`, which does not works with URLs.
      The easiest is to pipe the result of "robotpkg_admin findbest" to a sed script
      that removes leading "file://" and maps %7e back to ~ (fortunately, ~ is the
      only character to deal with, because of the restrictive character set allowed
      in package name and options). This will not work for http URLs, but in practice
      the bulk builds do not fetch dependencies remotely (and this was not possible
      before, so no regression).
      While here, also unscramble the package name in the logs: better read ~ instead
      of %7e when analyzing the logs ...
  10. 16 Mar, 2018 3 commits
    • Anthony Mallet's avatar
    • Anthony Mallet's avatar
      [mk] Honour PKG_PATH in bulk-depends-* targets · 9395d3a2
      Anthony Mallet authored
      Export PKG_PATH when looking for binary packages to be installed as
      dependencies in the bulk target. The implies passing down PKG_PATH to
      robotpkg_add as well as using robotpkg_admin findbest instead of lsbest to
      look for available binary packages.
      The goal of this change is to allow building binary packages for a subset of
      robotpkg (typically: wip/) in a different repository than the main one.
    • Anthony Mallet's avatar
      [mk] Honour PKG_PATH in pkg-tarup · 80f0edd7
      Anthony Mallet authored
      In pkg-tarup, do not build a binary package file for a dependency if one is
      already available in PKG_PATH. This is the same behaviour as before, except
      that this honours PKG_PATH to determine if a binary package for a dependency
      is already available or not.
      The goal of this change is to allow building binary packages for a subset of
      robotpkg (typically: wip/) in a different repository than the main one.
  11. 15 Mar, 2018 1 commit
  12. 14 Mar, 2018 5 commits
    • Anthony Mallet's avatar
      [pkgtools/pkg_install] Sync robotpkg_add with mk/platform/opsys.sh · aa3f4e7f
      Anthony Mallet authored
      robotpkg_add computes at runtime the platform on which it runs, in order to
      check that binary packages match the target platform. On redhat-likes, the
      version number is assumed by mk/platform/opsys.sh to have no dot
      (e.g. CentOS-7, Fedora-27, ...). Sync robotpkg_add with this.
      Bump minor version.
    • Anthony Mallet's avatar
      [sysutils/ros-rviz] Fix build agains robotpkg yaml-cpp · 6b8b0519
      Anthony Mallet authored
      patch-ab: Add yaml-cpp directories in order to not fetch the system yaml-cpp
      when the robotpkg yaml-cpp is used
    • Guilhem Saurel's avatar
      [graphics/gepetto-viewer-corba] Update to 2.2.0 · ba81148a
      Guilhem Saurel authored and Anthony Mallet's avatar Anthony Mallet committed
      Packaging changes:
      * Needs omniORBpy
      * Adds a patch to allow compilation on fedora26
      Changes since 2.1.0:
      * Add Qt5 support
      Changes since 2.0.0:
      * [CmakeLists] add dependency to binary omniNames (#67)
      * [doc] Update doc of setCurveMode
      * Fix shared_ptr #63
      * Add get/setIntProperty
      * shared_ptr compliant for c++98 and c++11
      * Expose LeafNodeLine::setPointsSubset
      * Add Matplotlib python widget
      * Clean PythonWidget
      * Fix installation of headers
      * Synchronize CMake module
      * Fix way of finding config files
      * Accept full filename for configuration files
      * Fix compilation warnings
      * Read Python CORBA server default URL from various sources.
      * Only skip one node in pick handler.
    • Guilhem Saurel's avatar
      [graphics/gepetto-viewer] Update to 2.1.2 · 6b4d6c79
      Guilhem Saurel authored and Anthony Mallet's avatar Anthony Mallet committed
      Changes since 2.1.1:
      * Fix compilation with urdfdom < 0.4.0
      Changes since 2.1.0:
      * Fix compilation with urdfdom < 1.0.0
      Changes since 2.0.0:
      * [Box] Handle recent versions of OSG
      * [IDE] Handle IDE formating
      * Add property visibility to node
      * shared_ptr compliant for c++98 and c++11
      * [CMake] Add missing Boost include directories
      * Replace usage of deprecated Matrixd::get
      * [Line] Add setColors method to line object
      * Add LeafNodeLine::setPointsSubset
      * Use shared_ptr cast to bool instead of operator!=
      * Clean code in LeafNodeArrow
      * Replace usage of deprecated Matrixd::get
      * Add gitlab CI configuration
      * URDF parser accepts XML string.
      * Update WindowManager::startCapture and stopCapture
      * disable small feature culling
      * [Line] Force drawing after changing point placements
      * Do not reset view when adding a node to a window.
    • Anthony Mallet's avatar
      [middleware/omniORBpy] Improve depend.mk for recent Fedora · 0e2f5054
      Anthony Mallet authored
      * Only search for the actual omniidl backend file
      * Add SYSTEM_PKG.RedHat, mentionning the required python version (recent Fedora
        package only omniidl for python3).
  13. 13 Mar, 2018 5 commits
  14. 07 Mar, 2018 3 commits
  15. 05 Mar, 2018 4 commits
  16. 22 Feb, 2018 3 commits
  17. 21 Feb, 2018 2 commits