Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move to debian? #5

Open
stsp opened this issue Jun 13, 2024 · 33 comments
Open

move to debian? #5

stsp opened this issue Jun 13, 2024 · 33 comments

Comments

@stsp
Copy link
Owner

stsp commented Jun 13, 2024

Hi @skitt

I spent the considerable efforts on
finishing and polishing dj64dev.
All missing functionality that I was
aware of, is now implemented.
The usage of the tool-chain is greatly
simplified and fully documented:
https://github.com/stsp/dj64dev/blob/master/README.md
Also the demos are provided:
https://github.com/stsp/dj64dev/tree/master/demos
clang and freebsd ports are done.
Freebsd port required static linking
support, as it seems freebsd's dlopen()
ignores the link order... so 2 weeks spent
on making dlmopen() (which is missing
on freebsd) optional, appears to be in
vain, as dlopen() is also bad there. But
static linking is now implemented and works.

So to me it really looks like a tool-chain
now, rather than a set of an undocumented,
unportable ad-hocs.
Please let me know what is missing to
get it into debian, so that I can work it out.

@skitt
Copy link

skitt commented Jun 14, 2024

OK, let’s do this; here’s what I need to do, I’ll open issues as appropriate if I run into problems:

@stsp
Copy link
Owner Author

stsp commented Jun 14, 2024

Is there a similar list for a programmer?

  • porting: done
  • documenting: done

and so on. There must be some, as I
don't think debian wants the unportable
or undocumented stuff.

@skitt
Copy link

skitt commented Jun 14, 2024

Yes, there is: https://wiki.debian.org/UpstreamGuide

@stsp
Copy link
Owner Author

stsp commented Jun 14, 2024

Forbidden

<p>You are not allowed to access this!</p>

OMG... use vpn?

@skitt
Copy link

skitt commented Jun 14, 2024

Wow, that’s surprising!

@stsp
Copy link
Owner Author

stsp commented Jun 14, 2024

So www.debian.org works but
wiki.debian.org blocks (I used
vpn so reading up).

@stsp
Copy link
Owner Author

stsp commented Jun 14, 2024

OK, so from the above manual:

@stsp
Copy link
Owner Author

stsp commented Jun 14, 2024

I think the short man page can be
written, but what should I do with
README.md? Can I just package it
to deb and say that I now have the
off-line docs?

@skitt
Copy link

skitt commented Jun 14, 2024

Packaging a README file is fine if the README provides useful documentation for end-users; that’s the case for dj64dev’s, not so much for thunk-gen. IMO from a package perspective man pages are better because more users think of using them, but from an overall perspective most users get their info from web searches now anyway, so improving READMEs is a better use of developer/maintainer time.

@stsp
Copy link
Owner Author

stsp commented Jun 14, 2024

not so much for thunk-gen.

Thunk_gen is too internal.
It is very unlikely to every be used
by anyone including myself (I am
not planning any new thunk_gen-based
DOS code ports).
Do you think it should still be documented?
Of course I can just briefly describe
what it does, but that won't help any
of its potential users (which are none).

@skitt
Copy link

skitt commented Jun 14, 2024

Yeah I agree there’s no point in documenting thunk-gen further, all I meant was that there is also no point in packaging its README.

@stsp
Copy link
Owner Author

stsp commented Jun 14, 2024

Ah, ok.
I am currently trying to make dj64-gcc
script more relevant, as this is the only
"binary" that may potentially require a
man page (no other binaries are provided).

Also I have forgot to mention that djstub
must be included first.
Now since dj64dev has demos (that
require djstub to be built), I suppose I
need to add it to build-deps.

@stsp
Copy link
Owner Author

stsp commented Jun 14, 2024

Or not, since demos are not built by
default... But in either case, djstub
must be packaged before thunk_gen
or dj64dev.

@skitt
Copy link

skitt commented Jun 14, 2024

@stsp
Copy link
Owner Author

stsp commented Jun 14, 2024

Good, thanks! :)
Although djstub should better go before
dj64dev, or it would be a complete breaker. :)

@skitt
Copy link

skitt commented Jun 14, 2024

Yes, I updated the todo list above 😉

@stsp
Copy link
Owner Author

stsp commented Jun 14, 2024

update smallerc

Hmm, how difficult would it be to
push updates, once things are in a
debian? smallerc was updated rather
long ago, but seems like every update
needs some amount of work from you
from now on? What's the procedure?

@skitt
Copy link

skitt commented Jun 14, 2024

Yes, only DDs or DMs can upload packages to Debian. Once the initial packaging is done most updates are straightforward: gbp import-orig --uscan to import the latest release (or git commit if the project is set up that way), review the changes, dch to update the changelog, check the build, and upload.

@stsp
Copy link
Owner Author

stsp commented Jun 14, 2024

Ok, I suppose for some time they
should live in parallel with PPA builds.
And then we'll see if the PPA can be
discontinued.

stsp added a commit that referenced this issue Jun 14, 2024
@stsp
Copy link
Owner Author

stsp commented Jun 14, 2024

Added a primitive man page.
As for packaging README.md -
it contains too many external links,
so its off-line use is very small.

@stsp
Copy link
Owner Author

stsp commented Jun 15, 2024

Could you please help with this
bug report:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/2069483
by checking if it is fixed in bullseye?
On which, I think, Focal is based.

@skitt
Copy link

skitt commented Jun 15, 2024

Could you please help with this bug report: https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/2069483 by checking if it is fixed in bullseye? On which, I think, Focal is based.

It’s fixed in bullseye, but focal is based on buster — at least, bullseye has coreutils 8.32, whereas focal has 8.30, same as buster. The same sort error occurs on buster as on focal.

@stsp
Copy link
Owner Author

stsp commented Jun 15, 2024

So is this table wrong?
https://askubuntu.com/questions/445487/what-debian-version-are-the-different-ubuntu-versions-based-on

Would be cool if you can help with
fixing it on buster, although I already
applied this hack:
eb37e92
to check for FreeBSD explicitly. :)
I hate doing the like things, but the
hack is already there, so no rush at
all (but maybe you can at least bug-report
that).

Also I wonder what's the destiny of
lfanew. I talked you into adding it, and
then dropped (shit happens, but overall
I simply didn't know smallerc's upstream
is that responsive - he patched the linker
for me).
What would happen now with the package?
It was documented as a dosemu2 requirement,
which is no longer true.

@skitt
Copy link

skitt commented Jun 15, 2024

That table is a simplification, see https://unix.stackexchange.com/a/404261/86440. Focal was branched off of bullseye during bullseye’s development, which means it has package versions that are guaranteed to be equal to or newer than those in buster (hence my comment above), and equal to or older than those in bullseye — so saying that it’s based on bullseye is misleading.

Buster is dropping out of LTS at the end of the month, and has been out of mainstream support since 2022, so it’s not possible to fix bugs there any more (other than security issues or critical bugs in packages supported in ELTS).

Regarding lfanew, I’ll stop it from being included in the next Debian release, unless another use-case turns up for it. Debian has loads of little-used (or even unused) leaf packages, so one more in unstable won’t be a problem 😉.

@stsp
Copy link
Owner Author

stsp commented Jun 15, 2024

Ok, thanks for info.
Pretty clear now. :)
One day I'll just drop Focal.
It already did some problems
in the past.

@stsp
Copy link
Owner Author

stsp commented Jun 15, 2024

Hmm in fact, speaking of an off-line
documentation, I can instead create
a -demos package.
Or is it an overkill?

stsp added a commit that referenced this issue Jun 15, 2024
@stsp
Copy link
Owner Author

stsp commented Jun 15, 2024

Demos added to share/doc/dj64.
So I suppose the doc question is
closed.

@stsp
Copy link
Owner Author

stsp commented Jun 28, 2024

Hi @skitt thanks for checking in
the progress boxes. :)
I think 1 more task should be added
to update thunk-gen, as there was 1
incompatible change, that probably
happened after you uploaded it to
debian.

stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
@stsp
Copy link
Owner Author

stsp commented Jun 29, 2024

OK, I have finished the license review.
You'll now need to re-do that step again. :)

stsp added a commit that referenced this issue Jun 29, 2024
GPLv2+ file.
Only makemake remained under GPLv2+.
stsp added a commit that referenced this issue Jun 29, 2024
The only GPLv2+ file remained.
To be rewritten.
stsp added a commit that referenced this issue Jun 29, 2024
Another GPLv2+ file.
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
Those in `src/djdev64/*` are GPLv3+.
Those in other locations (top dir, `src/libc/*`) are LGPLv3+.
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
stsp added a commit that referenced this issue Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants