Skip to content

port brother-mfcj480dw to brother-mfcj470dw#8878

Open
acjohnson wants to merge 2 commits into
getsolus:mainfrom
acjohnson:mfcj470dw
Open

port brother-mfcj480dw to brother-mfcj470dw#8878
acjohnson wants to merge 2 commits into
getsolus:mainfrom
acjohnson:mfcj470dw

Conversation

@acjohnson
Copy link
Copy Markdown

Summary

I have a Brother MFC-J470DW printer and the package was so similar that I was able to adapt the newer MFC-J480DW Solus package to it, and here is the result. I am only moderately familiar with Solus packaging, so bare with me, although I did once-upon-a-time build packages for PISI/Pardus, but I have forgotten all of that by now...

Checklist

  • Package was built and tested against unstable
  • This change could gainfully be listed in the weekly sync notes once merged
  • I agree to license this contribution and all my previous contributions under the licensing terms in LICENSE.md and have the power and authority to grant those licenses.

@github-project-automation github-project-automation Bot moved this to Triage in Solus May 14, 2026
@acjohnson acjohnson force-pushed the mfcj470dw branch 2 times, most recently from d83354a to 86613d6 Compare May 14, 2026 16:25
@EbonJaeger
Copy link
Copy Markdown
Member

I would love to see if this can work without installing anything to /opt. Would you be willing to try installing the files to ${installdir}/%libdir%, updating the symlinks, and see if it works?

@acjohnson
Copy link
Copy Markdown
Author

I would love to see if this can work without installing anything to /opt. Would you be willing to try installing the files to ${installdir}/%libdir%, updating the symlinks, and see if it works?

It definitely is doable (as I've pushed a commit which avoids /opt completely that works), but if you want it to completely stay away from /opt you'll have to patch a binary called ImagingArea, as I've done in the latest commit...

The other option would be a symlink in /opt, or just leave it alone.

@acjohnson
Copy link
Copy Markdown
Author

Not sure how to handle the failed check

Error: Package release is not incremented by 1 (ref: 5020f73acdecb79537da8d5621f7add4e9ca4d31)

It is the first release for this new package, so it shouldn't need to be incremented...

@acjohnson
Copy link
Copy Markdown
Author

@EbonJaeger Want me to revert this back to the basic port of brother-mfcj480dw since avoiding /opt is pretty heavy-handed?

@EbonJaeger
Copy link
Copy Markdown
Member

Yeah, I guess. I don't know what we're going to do with all of these Brother packages long-term.

@acjohnson
Copy link
Copy Markdown
Author

ok it is reverted

rpm2cpio ${i} | cpio -idmv
done
build : |
make -C brcupsconfpt1
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it work if our %make macro is used?

%make -C brcupsconfpt1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

2 participants