Bug 991376 - RFE: convert wesnoth.spec file to use scons
Summary: RFE: convert wesnoth.spec file to use scons
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: wesnoth
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-02 09:28 UTC by Steve Tyler
Modified: 2013-08-12 18:34 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-12 18:32:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
scons build log for wesnoth-1.10.6 (167.63 KB, text/plain)
2013-08-02 12:45 UTC, Steve Tyler
no flags Details

Description Steve Tyler 2013-08-02 09:28:22 UTC
Description of problem:
The wesnoth build can be done with scons.

See Bug 905379, Comment 34 from Will Woods.
wesnoth.spec: Attachment 781670 [details]

Version-Release number of selected component (if applicable):
wesnoth-1.10.6 upstream
Attachment 781670 [details]

How reproducible:


Steps to Reproduce:
1. Build with scons per Attachment 781670 [details].

Actual results:


Expected results:


Additional info:

Comment 1 Steve Tyler 2013-08-02 09:51:00 UTC
The INSTALL file from wesnoth-1.10.6.tar has this section:
3. SCons Build

Comment 2 Steve Tyler 2013-08-02 12:45:02 UTC
Created attachment 781959 [details]
scons build log for wesnoth-1.10.6

wesnoth-1.10.6 builds fine with scons. With the appropriate mandir option, the man pages are installed correctly.

$ sudo scons install mandir=/usr/share/man

$ less -N scons-install-3.txt
      1 scons: Reading SConscript files ...
      2 Saved options: default_targets = 'wesnoth,wesnothd', bindir = '/bin', mandir = '/usr/share/man'
      3 Building Wesnoth version 1.10.6
...

$ cat scons-install-3.txt | grep 'Install file: "doc/man/' | wc -l
53

Tested with F19 in a VM:
$ qemu-kvm -m 4096 -hda f19-test-3.img -cdrom ~/xfr/fedora/F19/Fedora-19-x86_64-DVD.iso -vga std -boot menu=on

Comment 3 Steve Tyler 2013-08-02 22:04:42 UTC
I completed an rpmbuild using Will's spec file, and it appears to have worked great. The log is ~500k, so I won't attach it.

Comment 4 Steve Tyler 2013-08-03 17:56:51 UTC
The wesnoth.spec file may need to incorporate these changes:
Bug 850365 - Introduce new systemd-rpm macros in wesnoth spec file

Packaging:ScriptletSnippets
Systemd
https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd

Bug 850016 - (systemd/Presets) Tracker bug for conversion to new systemd-rpm macros

Comment 5 Gwyn Ciesla 2013-08-12 18:34:03 UTC
Thanks for your work on this.  I restored the font unbundling bits.


Note You need to log in before you can comment on or make changes to this bug.