maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Howto install source packages in SailfishOS? (https://talk.maemo.org/showthread.php?t=99122)

pasko 2017-03-17 11:30

Howto install source packages in SailfishOS?
 
Hi.

I'm trying to install the sources of a binary package to my JollaC to no avail....
So far I have tried with:
Code:

pkcon install 'package'
pkcon install-local 'package-file.rpm'
zypper install 'package-file.rpm'

Anybody knows what I am missing?
Sorry if it has been answered before, I'm on a tight schedule.. :)

Regards.

coderus 2017-03-17 11:36

Re: Howto install source packages in SailfishOS?
 
explain please :D

pasko 2017-03-17 11:47

Re: Howto install source packages in SailfishOS?
 
Quote:

Originally Posted by coderus (Post 1525546)
explain please :D

Hi. :D

I'm trying to install "wpa_supplicant-2.5+git1-1.14.7.source". I already have "wpa_supplicant-2.5+git1-1.14.7.armv7hl" installed, but then:
Code:

[[nemo@Sailfish ~]$ devel-su pkcon install wpa_supplicant-2.5+git1-1.14.7.source
Password:
Command failed: This tool could not find any available package: could not find wpa_supplicant-2.5+git1-1.14.7.source

I have also tried:
Code:

nemo@Sailfish ~]$ devel-su pkcon install-local /home/nemo/Downloads/wpa_supplicant-2.5+git1-1.14.7.src.rpm
Password:
Installing files                                                                                                                                       
Waiting in queue                                                                                                                                       
Fatal error: MIME type 'application/x-source-rpm' not supported /home/nemo/Downloads/wpa_supplicant-2.5+git1-1.14.7.src.rpm

or:
Code:

[nemo@Sailfish ~]$ devel-su zypper install /home/nemo/Downloads/wpa_supplicant-2.5+git1-1.14.7.src.rpm
Password:
PackageKit is blocking zypper. This happens if you have an updater applet or other software management application using PackageKit running.
Tell PackageKit to quit? [yes/no] (no): yes
Loading repository data...
Reading installed packages...
'_tmpRPMcache_:wpa_supplicant=0:2.5+git1-1.14.7' not found in package names. Trying capabilities.
'wpa_supplicant = 0:2.5+git1-1.14.7' is already installed.
Resolving package dependencies...

Nothing to do.

And this is all I've tried.

Regards.

coderus 2017-03-17 12:29

Re: Howto install source packages in SailfishOS?
 
ahm you can't do that with pkcon. you need to use zypper
Code:

zypper si wpa_supplicant
it will download source to ~/rpmbuild/SOURCES

pasko 2017-03-17 13:08

Re: Howto install source packages in SailfishOS?
 
Hi.

Thank you. ;-)

Regards.


All times are GMT. The time now is 04:44.

vBulletin® Version 3.8.8