You are not logged in.

#1 2014-07-29 12:54:45

senden9
Member
Registered: 2014-07-29
Posts: 8

My first Package - gnuradio-opt-git - 'provides'

Hi,
i released my first package gnuradio-opt-git. It is a fork of gnuradio-git with install Gnuradio to '/opt'. So you can install GnuRadio and GnuRadio-git parallel. Should i leave provides=('gnuradio') in the PKGBUILD? Or should i adapt it to provides=('gnuradio=3.7.4') like the wiki describe it?

Offline

#2 2014-07-29 14:36:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: My first Package - gnuradio-opt-git - 'provides'

I'm in favor of always using a versioned 'provides'. Simply "gnuradio=$pkgver" is usually the way to go, assuming you get rid of the "v" in front of the version number.

The question, though, is does this actually provide gnuradio? If some other software uses gnuradio, does having only this installed work?

Last edited by Scimmia (2014-07-29 14:38:08)

Offline

#3 2014-07-29 16:07:28

senden9
Member
Registered: 2014-07-29
Posts: 8

Re: My first Package - gnuradio-opt-git - 'provides'

gqrx need gnuradio but it doesn't work with gnuradio(-opt)-git. If i compile gqrx myself it works fine. I think it's better to remove the "provides". But this is also a bug in gnuradio-git?
The error message from gqrx with just gnuradio(-opt)-git installed;

gqrx: error while loading shared libraries: libgnuradio-analog-3.7.4.so.0.0.0: cannot open shared object file: No such file or directory

Last edited by senden9 (2014-07-29 16:08:59)

Offline

#4 2014-07-29 16:41:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: My first Package - gnuradio-opt-git - 'provides'

So they actually change the library name on each micro version change? Wow, that's insane. Not sure what the way to handle this would be.

Offline

#5 2014-07-29 16:50:20

senden9
Member
Registered: 2014-07-29
Posts: 8

Re: My first Package - gnuradio-opt-git - 'provides'

Here the libs from the actually git build:

ls /opt/gnuradio/lib                                                                                                                                                                                              :(
cmake/                                   libgnuradio-channels.so@                libgnuradio-fft.so@                    libgnuradio-qtgui.so@                     libgnuradio-vocoder.so@
libgnuradio-analog-3.7.5git.so@          libgnuradio-digital-3.7.5git.so@        libgnuradio-filter-3.7.5git.so@        libgnuradio-runtime-3.7.5git.so@          libgnuradio-wavelet-3.7.5git.so@
libgnuradio-analog-3.7.5git.so.0@        libgnuradio-digital-3.7.5git.so.0@      libgnuradio-filter-3.7.5git.so.0@      libgnuradio-runtime-3.7.5git.so.0@        libgnuradio-wavelet-3.7.5git.so.0@
libgnuradio-analog-3.7.5git.so.0.0.0*    libgnuradio-digital-3.7.5git.so.0.0.0*  libgnuradio-filter-3.7.5git.so.0.0.0*  libgnuradio-runtime-3.7.5git.so.0.0.0*    libgnuradio-wavelet-3.7.5git.so.0.0.0*
libgnuradio-analog.so@                   libgnuradio-digital.so@                 libgnuradio-filter.so@                 libgnuradio-runtime.so@                   libgnuradio-wavelet.so@
libgnuradio-atsc-3.7.5git.so@            libgnuradio-dtv-3.7.5git.so@            libgnuradio-noaa-3.7.5git.so@          libgnuradio-trellis-3.7.5git.so@          libgnuradio-wxgui-3.7.5git.so@
libgnuradio-atsc-3.7.5git.so.0@          libgnuradio-dtv-3.7.5git.so.0@          libgnuradio-noaa-3.7.5git.so.0@        libgnuradio-trellis-3.7.5git.so.0@        libgnuradio-wxgui-3.7.5git.so.0@
libgnuradio-atsc-3.7.5git.so.0.0.0*      libgnuradio-dtv-3.7.5git.so.0.0.0*      libgnuradio-noaa-3.7.5git.so.0.0.0*    libgnuradio-trellis-3.7.5git.so.0.0.0*    libgnuradio-wxgui-3.7.5git.so.0.0.0*
libgnuradio-atsc.so@                     libgnuradio-dtv.so@                     libgnuradio-noaa.so@                   libgnuradio-trellis.so@                   libgnuradio-wxgui.so@
libgnuradio-audio-3.7.5git.so@           libgnuradio-fcd-3.7.5git.so@            libgnuradio-pager-3.7.5git.so@         libgnuradio-uhd-3.7.5git.so@              libgnuradio-zeromq-3.7.5git.so@
libgnuradio-audio-3.7.5git.so.0@         libgnuradio-fcd-3.7.5git.so.0@          libgnuradio-pager-3.7.5git.so.0@       libgnuradio-uhd-3.7.5git.so.0@            libgnuradio-zeromq-3.7.5git.so.0@
libgnuradio-audio-3.7.5git.so.0.0.0*     libgnuradio-fcd-3.7.5git.so.0.0.0*      libgnuradio-pager-3.7.5git.so.0.0.0*   libgnuradio-uhd-3.7.5git.so.0.0.0*        libgnuradio-zeromq-3.7.5git.so.0.0.0*
libgnuradio-audio.so@                    libgnuradio-fcd.so@                     libgnuradio-pager.so@                  libgnuradio-uhd.so@                       libgnuradio-zeromq.so@
libgnuradio-blocks-3.7.5git.so@          libgnuradio-fec-3.7.5git.so@            libgnuradio-pmt-3.7.5git.so@           libgnuradio-video-sdl-3.7.5git.so@        libvolk.so@
libgnuradio-blocks-3.7.5git.so.0@        libgnuradio-fec-3.7.5git.so.0@          libgnuradio-pmt-3.7.5git.so.0@         libgnuradio-video-sdl-3.7.5git.so.0@      libvolk.so.0.0.0*
libgnuradio-blocks-3.7.5git.so.0.0.0*    libgnuradio-fec-3.7.5git.so.0.0.0*      libgnuradio-pmt-3.7.5git.so.0.0.0*     libgnuradio-video-sdl-3.7.5git.so.0.0.0*  pkgconfig/
libgnuradio-blocks.so@                   libgnuradio-fec.so@                     libgnuradio-pmt.so@                    libgnuradio-video-sdl.so@                 python2.7/
libgnuradio-channels-3.7.5git.so@        libgnuradio-fft-3.7.5git.so@            libgnuradio-qtgui-3.7.5git.so@         libgnuradio-vocoder-3.7.5git.so@
libgnuradio-channels-3.7.5git.so.0@      libgnuradio-fft-3.7.5git.so.0@          libgnuradio-qtgui-3.7.5git.so.0@       libgnuradio-vocoder-3.7.5git.so.0@
libgnuradio-channels-3.7.5git.so.0.0.0*  libgnuradio-fft-3.7.5git.so.0.0.0*      libgnuradio-qtgui-3.7.5git.so.0.0.0*   libgnuradio-vocoder-3.7.5git.so.0.0.0*

3.7.5git vs 3.7.4. I think the simplest solution is to remove provides or have you a better idea?

Offline

#6 2014-07-29 16:56:49

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: My first Package - gnuradio-opt-git - 'provides'

The thing is that the "provides" would work for building from source, but not work for binary packages. Pacman doesn't have anything to cover this situation. If it was a soname difference, that's one thing as it only gets bumped occasionally when there's an ABI break, but this is totally different lib names. I have no suggestion.

Offline

#7 2014-07-29 16:58:21

esdaniel
Member
From: Paris
Registered: 2010-02-01
Posts: 59
Website

Re: My first Package - gnuradio-opt-git - 'provides'

What's the difference between the AUR package (is it just the latest source?) and the community packages, please?

community/gnuradio 3.7.4-1
    General purpose DSP and SDR toolkit. With drivers for usrp and fcd.
community/gnuradio-fcdproplus 3.7.4-4
    GNU Radio source block for Funcube Dongle Pro +
community/gnuradio-iqbal 0.37.1-4
    Gnuradio I/Q balancing
community/gnuradio-osmosdr 0.1.1-10
    Source block for Funcube Dongle, RTL-SDR, USRP, OsmoSDR, BladeRF and HackRF devices

Last edited by esdaniel (2014-07-29 16:59:02)

Offline

#8 2014-07-29 21:24:13

senden9
Member
Registered: 2014-07-29
Posts: 8

Re: My first Package - gnuradio-opt-git - 'provides'

The AUR package use the latest source and have more features, depending on the packages on the system, QT widgets and instruments for example.  The community package are compiled without this optional features.

Offline

Board footer

Powered by FluxBB