Results 1 to 7 of 7

Thread: Trying to build iio-sensor-proxy

  1. #1

    Default Trying to build iio-sensor-proxy

    I'm trying to build new version (3.3) of iio-sensor-proxy ... and this is my first attempt at using openbuild service.

    I've copied spec file for the official iio-sensor-proxy package, which currently sits at 3.1. Created a project, uploaded the files (including tarball) . I've modified 3 lines of the spec file:

    Code:
    Version:        3.3
    BuildRequires:  pkgconfig(gudev-1.0) >= 237
    BuildRequires:  cmake
    The gudev has been bumped to 237 from 234 as after first attempt I found meson complaining that it needs at least 237.
    And this is where the issue lies. In official repos there's only 234. I found 237 in experimental repos. How can I use it to build via OBS?

    Normally I'd skip it, but I'd love to try updating iio-sensor-proxy as currently screen rotation does not work on my machine and the package dev pointed me towards updating to the latest version.

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,245

    Default Re: Trying to build iio-sensor-proxy

    Quote Originally Posted by przemas View Post
    I'm trying to build new version (3.3) of iio-sensor-proxy ... and this is my first attempt at using openbuild service.
    Will be moved to Open Build Service (OBS)
    Henk van Velden

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,842
    Blog Entries
    15

    Default Re: Trying to build iio-sensor-proxy

    Quote Originally Posted by przemas View Post
    I'm trying to build new version (3.3) of iio-sensor-proxy ... and this is my first attempt at using openbuild service.

    I've copied spec file for the official iio-sensor-proxy package, which currently sits at 3.1. Created a project, uploaded the files (including tarball) . I've modified 3 lines of the spec file:

    Code:
    Version:        3.3
    BuildRequires:  pkgconfig(gudev-1.0) >= 237
    BuildRequires:  cmake
    The gudev has been bumped to 237 from 234 as after first attempt I found meson complaining that it needs at least 237.
    And this is where the issue lies. In official repos there's only 234. I found 237 in experimental repos. How can I use it to build via OBS?

    Normally I'd skip it, but I'd love to try updating iio-sensor-proxy as currently screen rotation does not work on my machine and the package dev pointed me towards updating to the latest version.
    Hi
    You need to branch the package (not create) to update properly so it will use the required development repository packages etc....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4

    Default Re: Trying to build iio-sensor-proxy

    @malcolmlewis : thx for replying. So if I get it right:

    1. I should go to :
    https://build.opensuse.org/package/s...o-sensor-proxy

    and click branch.

    2. Delete tarball and spec

    3. Upload mine

    Correct?
    What next?

    Tried that and still I get unresolvable error due to gudev 237 not being available in main repos, it is in experimental.

    Sorry, it is my first time with OBS and I don't know a **** about building other than following tuts / readmes.

    ***edit*** and how do I find the branch I made later on?

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,842
    Blog Entries
    15

    Default Re: Trying to build iio-sensor-proxy

    Hi
    Wrong place.... The development project....

    https://build.opensuse.org/package/s...o-sensor-proxy

    But you will need to wait until libgudev gets into Factory... https://build.opensuse.org/request/show/912403 it's waiting for review...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6

    Default Re: Trying to build iio-sensor-proxy

    I think I managed to do it. The thing that has taken me the most time was finding where to click to get the packages that were built .
    Hope that I did it correctly - if you have any suggestions let me know as I'd love to solve package issues this way in the future.

    I've installed those new rpms and that fixed the problems with my Thinkpad Yoga gen1. It works flawlessly now and I love it, I think I have near perfect laptop / tablet for learning , this missing rotation feature will come super handy during lectures.

    *** edit *** Malcolm , are there any noob friendly tuts on the matter, so I'd use correct repo to branch next time?

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,842
    Blog Entries
    15

    Default Re: Trying to build iio-sensor-proxy

    Quote Originally Posted by przemas View Post
    I think I managed to do it. The thing that has taken me the most time was finding where to click to get the packages that were built .
    Hope that I did it correctly - if you have any suggestions let me know as I'd love to solve package issues this way in the future.

    I've installed those new rpms and that fixed the problems with my Thinkpad Yoga gen1. It works flawlessly now and I love it, I think I have near perfect laptop / tablet for learning , this missing rotation feature will come super handy during lectures.

    *** edit *** Malcolm , are there any noob friendly tuts on the matter, so I'd use correct repo to branch next time?
    Hi
    Have a look here: https://en.opensuse.org/Category:Build_Service
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •