Dne sobota 12. ledna 2019 18:43:05 CET jste napsal(a):
Dne pátek 4. ledna 2019 13:55:56 CET jste napsal(a):
Vojtěch Zeisek writes:
Well, my packaging experience is zero. My Linux experience is considerable, but I'm not programmer. As a biologist, I'd like to see some packages included. From the original list namely ugene. And some more, of course. I wonder if I'd be able (by means of skills and time/effort required) to package software I need for my work (some is not very well written). Well, now I just compile what I need. So... If we consider software with simple (or no) dependences, I use to follow steps in README - (./congifue), make, (make install); is packaging in OBS significantly more difficult...?
The short answer would be: if all you need to do is just 'configure; make; make install' it is problably not too difficult. The more in-depth answer would be: it depends - there are quite a few guidelines about the installation to be followed and make to sure that 'rpmlint' is reasonably happy, thus files may have to be moved around after a 'make install' - at least if you plan to bring the package into oS:Factory later. Generally, when you pick up an existing package most of the things have been done already - often it just to update the source tarball or fix a build. On most of the guidelines there is pretty good documentation around - like:
The simplest way to get started is to start with an existing package or use a similar type of package as a guide and only worry about the documentation if there are issues. Of course, you can always ask here (there are other MLs for packaging questions, but they have a lot more traffic).
Hi, thank You for the introduction. I forked UGENE to https://build.opensuse.org/package/show/home:vojtaeus/UGENE but it seems to be too complicated building for newbie. So I tried with https://github.com/stamatak/standard-RAxML in https:// github.com/stamatak/standard-RAxML which has really trivial compilation. But the problem is this software (and many others I use) doesn't define 'make install' (very often it is enough to run just 'make' and then copy manually binary to ~/bin/). So my question is what what to write to %install section of the specfile. I "just" need to copy raxmlHPC* to /usr/bin/ or so. As documentation of this popular tool is, ehm, very brief, I have honestly no idea what is the license of it, if I need gcc or gcc-c++ and what I need to compile pthreads and mpi versions... Vojtěch
Well, I made some advances with UGENE, but building keeps falling. :-) As my experience with compiling Qt applications is exactly zero, I'm afraid my knowledge here is exhausted. TW https://build.opensuse.org/package/live_build_log/home:vojtaeus/UGENE/ openSUSE_Tumbleweed/x86_64 seems to me like some syntax in Trimmomatic (in UGENE as 3rd party plugin, otherwise written in Java, I normally use it standalone, but pre-combiled JAR) which is not supported in current Qt (instructions to compile UGENE speaks about Qt < 5.6, which seems to be unrealistic in TW); while Leap 15.0 https://build.opensuse.org/package/ live_build_log/home:vojtaeus/UGENE/openSUSE_Leap_15.0/x86_64 and 42.3 https:// build.opensuse.org/package/live_build_log/home:vojtaeus/UGENE/ openSUSE_Leap_42.3/x86_64 I don't understand very well, but it seems to me like some problem with the install section. I'm sorry to bother here, I'd like to contribute by some packages, I hope I'll learn it at some point of time. ;-) Sincerely, Vojtěch