View Issue Details

IDProjectCategoryView StatusLast Update
0000927SkyChart1-Softwarepublic12-03-04 19:26
ReporterMattia Verga Assigned ToPatrick Chevalley  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionopen 
Platformx86_64OSLinuxOS Version3
Product Version3.5 SVN 
Summary0000927: Wiki doc as separate subpackage
DescriptionTo not increase too much the size of the main package, the wiki documentation can be created as a subpackage and installed only if wanted.
See the .spec and source rpm at https://bugzilla.redhat.com/show_bug.cgi?id=769454 as an example.
TagsNo tags attached.

Relationships

related to 0000926 closedPatrick Chevalley Rpmlint complains about executable-stack set on binaries 

Activities

Patrick Chevalley

11-12-31 14:08

administrator   ~0001870

I think that for the files I propose to download on my web page it is best to keep a single package as the rpm files are to be downloaded and installed manually. There is already enough of this files for all the platforms.

The makefile is ready for separation of the executable and data files, including the documentation:
- run "make install" to package the binary files.
- run "make install_data" for the architecture independent files.

I know the documentation is not distributed in a conventional way and I am not surprised the "wget ..." was removed from the Fedora build script.
The solution for that is to include a copy of the documentation files in the source package of the next version.
I can also separate this source package in two part, to facilitate the packaging for the distribution.
A skychart_3.6-source.tgz with the program and library.
And a skychart-data_3.6-source.tgz with the catalog, documentation and other data.
And maybe a third one skychart-nonfree_3.6-source.tgz with the DOS binary used to compute the satellites.


Mattia Verga

11-12-31 15:52

reporter   ~0001874

Yes, splitting the source in two or three packages, at least for stable versions, would be very useful to simplify things with Fedora infrastructure. But if you think this can take a lot of time, it's not a priority: with patches and scripts that I already put in the source rpm things are working quite well already.

My suggestion was for rpms you provide on your website, splitting packages can save 11 MByte (and growing) of documentation download to who are not interested in having a local copy of the wiki. On the other hand, I agree that there are enough files for a lot of platforms and can cause confusion...

Patrick Chevalley

12-01-08 15:30

administrator   ~0001890

What I do for now:
- keep a single source package
- include every need data in this package, including all the doc and jpl ephemeris
- separate make target for more selective install.

There is now:
make install : only the binary files.
make install_data : the translation, catalog and required data files.
make install_doc : the wiki documentation
make install_nonfree : the satellites computation program that not include the source code

This way it is easy to make a separate doc package by just running make install_doc.

You can try this new source file:
http://www.ap-i.net/pub/tmp/skychart-3.5-src.tgz

If OK I will do the same for the 3.6 release.

Mattia Verga

12-01-08 17:10

reporter   ~0001891

The new source file looks good: I successfully rebuilt the rpm with the new source. However I'm getting an error on startup regarding an unknown property 'width' that prevents the program to run, but I'm quite sure the problem is the old freepascal version (still 2.4.2) which I used to compile (what's the minimum requirements for the svn/3.6 version?).
I will try to recompile myself freepascal and if needed I will open another bug for that problem.
Thank you.

Patrick Chevalley

12-01-08 19:25

administrator  

laz0930.patch (339 bytes)   
Index: skychart/pu_getdss.lfm
===================================================================
--- skychart/pu_getdss.lfm	(revision 2043)
+++ skychart/pu_getdss.lfm	(working copy)
@@ -45,7 +45,6 @@
     IntegralHeight = True
     ItemHeight = 0
     ParentFont = False
-    ScrollWidth = 397
     TabOrder = 0
     TopIndex = -1
   end
laz0930.patch (339 bytes)   

Patrick Chevalley

12-01-08 19:31

administrator   ~0001892

I use FPC 2.6.0 and Lazarus 0.9.30.2.

This problem is because of the Lazarus version change.
The component TListBox as a new property ScrollWidth and unfortunately the default value is saved to the resource file when I save the file with the new version.

Please try with the patch I just upload here on Mantis.
I test with the default FPC and Lazarus on my Fedora 16 virtual machine and now it work.
I try to also apply this patch to the subversion trunk, it must survive to the release because this is in a file I not change often.

Mattia Verga

12-01-09 18:20

reporter   ~0001894

I can confirm that with the patch the program works even if compiled with lazarus 0.9.30.

Patrick Chevalley

12-01-11 08:58

administrator   ~0001897

The patch is now include to the 2051 source.

Also the full source tar including the documentation will be available every week with the corresponding beta version:
http://www.ap-i.net/skychart/en/development_version

Issue History

Date Modified Username Field Change
11-12-31 12:06 Mattia Verga New Issue
11-12-31 12:36 Patrick Chevalley Relationship added related to 0000926
11-12-31 12:37 Patrick Chevalley Assigned To => Patrick Chevalley
11-12-31 12:37 Patrick Chevalley Status new => acknowledged
11-12-31 14:08 Patrick Chevalley Note Added: 0001870
11-12-31 14:08 Patrick Chevalley Status acknowledged => feedback
11-12-31 15:52 Mattia Verga Note Added: 0001874
11-12-31 15:52 Mattia Verga Status feedback => assigned
12-01-08 15:30 Patrick Chevalley Note Added: 0001890
12-01-08 15:30 Patrick Chevalley Status assigned => feedback
12-01-08 17:10 Mattia Verga Note Added: 0001891
12-01-08 17:10 Mattia Verga Status feedback => assigned
12-01-08 19:25 Patrick Chevalley File Added: laz0930.patch
12-01-08 19:31 Patrick Chevalley Note Added: 0001892
12-01-08 19:31 Patrick Chevalley Status assigned => feedback
12-01-09 18:20 Mattia Verga Note Added: 0001894
12-01-09 18:20 Mattia Verga Status feedback => assigned
12-01-11 08:58 Patrick Chevalley Note Added: 0001897
12-01-11 08:58 Patrick Chevalley Status assigned => resolved
12-03-04 19:26 Patrick Chevalley Status resolved => closed