Reply
Thread Tools
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#81
Hi, I need to install rpmrebuild to continue messing about with building/editing apps. I would like to install it to '/home/nemo' not 'root'. How do i install to '/home/nemo'?, thanks
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
 

The Following User Says Thank You to Markkyboy For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,700 times | Joined on Nov 2011 @ Ängelholm, Sweden
#82
Originally Posted by Markkyboy View Post
Hi, I need to install rpmrebuild to continue messing about with building/editing apps. I would like to install it to '/home/nemo' not 'root'. How do i install to '/home/nemo'?, thanks
cant understadnd what you mean. please explain what you trying to do
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#83
Originally Posted by coderus View Post
cant understadnd what you mean. please explain what you trying to do
For many years, my rpmbuild folder resided in /home/nemo, these were set up manually. I reset my device recently and forgot to make a copy of the rpmbuild directory, so all is lost.

Rather than set up those folders manually in /home/nemo, I want to install rpmbuild to home/nemo, so that when I build apps, I find my RPMs in /home/nemo/rpmbuild/* instead of the root rpmbuild directory.
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
 

The Following User Says Thank You to Markkyboy For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,700 times | Joined on Nov 2011 @ Ängelholm, Sweden
#84
 

The Following User Says Thank You to coderus For This Useful Post:
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#85
Originally Posted by coderus View Post
you can use macroses

https://docs.fedoraproject.org/en-US..._build_process
Thanks for the reminder!!, I had a macro file in /home/nemo but forgot to back it up, damn!, I knew something was missing!

Could you remind me of what I need to put in the file?

Thanks for the link regarding RPMMacros ~ I'm just unsure of the contents of the macro file...?

I found some notes I'd made referring to macro files, but did not list the macro file contents
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..

Last edited by Markkyboy; 2020-04-21 at 09:56.
 

The Following User Says Thank You to Markkyboy For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,700 times | Joined on Nov 2011 @ Ängelholm, Sweden
#86
_rpmdir iirc
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 2 Users Say Thank You to coderus For This Useful Post:
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#87
Okay, thanks, I will google/play around and work it out.

Meanwhile, I'm going round to punch my neighbours lights out and his fkin dogs, for repeated fkin barking!, day and fkin night!, for fkin months!, bsstsds! ...I've asked nicely several times, enough is enough!, I may not be back and may end up languishing in a Spanish prison for assault!

Regards
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
 

The Following User Says Thank You to Markkyboy For This Useful Post:
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#88
Originally Posted by coderus View Post
_rpmdir iirc
Thanks coderus, sorted.
  1. make a file in `/home/nemo`
  2. name it `.rpmmacros`
  3. add `%_topdir /home/nemo/rpmbuild`

That's it, get building!, I just ran a build and the resulting file was found in 'rpmbuild/RPMS/noarch' as expected.

Directions on 'how to' taken from here; http://ftp.rpm.org/max-rpm/s1-rpm-an...uild-area.html
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
 

The Following 3 Users Say Thank You to Markkyboy For This Useful Post:
Posts: 5 | Thanked: 5 times | Joined on Apr 2020 @ Biskupová, Slovakia
#89
I've been thinking about trying to port SDL app to Sailfish OS. Is that achievable? Because i have a SDL app source, i firstly modified it to use libSDL2 but i'm having problems on importing SDL.h libs in it as i might also need source for SDL. Does anyone know what could help me?
 

The Following User Says Thank You to Morc For This Useful Post:
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#90
Originally Posted by Morc View Post
Because i have a SDL app source, i firstly modified it to use libSDL2 but i'm having problems on importing SDL.h libs in it as i might also need source for SDL. Does anyone know what could help me?
You need to install the development packages:

SDL2-devel
SDL2_gfx-devel
SDL2_image-devel
SDL2_mixer-devel
SDL2_net-devel
SDL2_sound-devel
SDL2_ttf-devel

But don't now if it is still valid, names could have changed.
 

The Following 2 Users Say Thank You to Halftux For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 17:51.