Bug 26971 - cc65: a complete cross development package for 65(C)02 systems; new RPM request
Summary: cc65: a complete cross development package for 65(C)02 systems; new RPM request
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL: https://github.com/cc65/cc65
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-19 03:51 CEST by Alan Richter
Modified: 2020-07-20 23:15 CEST (History)
0 users

See Also:
Source RPM: TBA
CVE:
Status comment:


Attachments

Description Alan Richter 2020-07-19 03:51:26 CEST
Description of problem:
Mageia support vice, xa but not cc65.  cc65 would be a very nice addition to Mageia.  

Version-Release number of selected component (if applicable):
https://github.com/cc65/cc65/releases 2.18 would be nice and was released May 2019.

How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Lewis Smith 2020-07-19 20:45:25 CEST
Can you please add a description of what this package does.
---
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes.

You Alan might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager

Assignee: bugsquad => pkg-bugs
Summary: RPM request for cc65: a complete cross development package for 65(C)02 systems => cc65: a complete cross development package for 65(C)02 systems; new RPM request

Comment 2 Alan Richter 2020-07-19 21:50:49 CEST
cc65 is a complete cross development package for 65(C)02 systems, including a powerful macro assembler, a C compiler, linker, librarian and several other tools.

cc65 has C and runtime library support for many of the old 6502 machines, including

    the following Commodore machines:
        VIC20
        C16/C116 and Plus/4
        C64
        C128
        CBM 510 (aka P500)
        the 600/700 family
        newer PET machines (not 2001).
    the Apple ][+ and successors.
    the Atari 8-bit machines.
    the Atari 2600 console.
    the Atari 5200 console.
    GEOS for the C64, C128 and Apple //e.
    the Bit Corporation Gamate console.
    the NEC PC-Engine (aka TurboGrafx-16) console.
    the Nintendo Entertainment System (NES) console.
    the Watara Supervision console.
    the VTech Creativision console.
    the Oric Atmos.
    the Oric Telestrat.
    the Lynx console.
    the Ohio Scientific Challenger 1P.

If you want to find out whether your code is really optimized or not, try it out on your Commodore 64.  

As for becoming a maintainer, I have most of the perquisites (familiarity with Mageia, C programming, RPMs, enthusiasm) but what I lack is free time.
Comment 3 Alan Richter 2020-07-20 22:06:12 CEST
I guess that SPEC files aren't that tricky for super simple stuff like cc65.  This worked for me.  

Name:           cc65
Version:        2.18
Release:        %mkrel 1
Summary:        Cross compiler for 6502 systems
Group:          Development C
Url:            https://github.com/cc65
Source:         https://github.com/cc65/cc65/releases/tag/%{name}-%{version}.tar.gz
License:        zlib

%description
cc65 is a complete cross development package for 65(C)02 systems, including 
a powerful macro assembler, a C compiler, linker, librarian and several 
other tools. 

%prep
%setup -q

%build

%make_build

%install
export PREFIX=/usr
%make_install

%files
%{_bindir}/*
%{_datadir}/%{name}/*

%changelog
Comment 4 Alan Richter 2020-07-20 23:15:33 CEST
Actually this package looks to be a great deal more difficult to package up.  Happily the fedora source package builds and works correctly, withdrawing the package request.

https://koji.fedoraproject.org/koji/buildinfo?buildID=1490142

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME


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