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

Consider building "proper" packages #51

Closed
probonopd opened this issue Dec 27, 2020 · 12 comments
Closed

Consider building "proper" packages #51

probonopd opened this issue Dec 27, 2020 · 12 comments

Comments

@probonopd
Copy link
Member

probonopd commented Dec 27, 2020

At some point, we may want to have proper packages for some of the components that currently get installed as part of https://github.com/helloSystem/ISO/blob/experimental/settings/script.hello

This might also help work around #1

Blocked by freebsd/poudriere#797

Thanks meena on IRC @igalic.

@igalic
Copy link

igalic commented Dec 27, 2020

for building drm-kmod, which would address #1, we shouldn't need freebsd/poudriere#797 because it's a meta-port, so pulling in dependencies would literally make poudriere think it has nothing to do!

freebsd/poudriere#798 however, would be nice to have in either way!

@probonopd
Copy link
Member Author

Actually I am not sure we should address #1 locally in helloSystem. It should be fixed in FreeBSD proper imho.

@grahamperrin
Copy link
Contributor

freebsd/poudriere#797 was merged 2021-05-07.

Via https://vermaden.wordpress.com/2021/07/19/valuable-news-2021-07-19/:

helloDesktop - FreeBSD Wiki

… Work has started to port this desktop back to FreeBSD. It would be called helloDesktop. …

@grahamperrin
Copy link
Contributor

#267 (comment)

… Is this a conceptual problem with how FreeBSD packages work? …

No.

As far as I can tell, installation of helloSystem applications such as those listed at #267 (comment) is not the result of pkg-install(8).

pkg info --list hello | grep -i keyboard

– finds nothing, and so on.

pkg-check(8)

  • does check sanity
  • can not be aware of applications that do not fit with the basic concept of pkg(8).

@grahamperrin
Copy link
Contributor

An example of a fairly simple Makefile:

https://cgit.freebsd.org/ports/tree/sysutils/hw-probe/Makefile

Side note: its RUN_DEPENDS is incomplete – https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252282.


Also,

https://github.com/pageflt/freebsd-mkmnfst#readme

… generates the minimal viable MANIFEST …

NB optional expression of dependencies within a manifest,

deps: {
    ⋯: {origin: ⋯/⋯, version: ⋯},
    ⋯: {origin: ⋯/⋯, version: ⋯}
}

@probonopd
Copy link
Member Author

Downside of "proper" packages: You lose the ability to move stuff around in the filesystem, and to keep multiple versions of apps, etc. - so for application bundles it is not a good idea to package them in traditional packages, otherwise we'd lose their advantages.

@grahamperrin
Copy link
Contributor

Maybe more interesting, a Makefile for a recently ported Python-based application:

https://cgit.freebsd.org/ports/tree/print/pdfarranger/Makefile

  • no version numbers expressed at or below line 14.

There's a runtime dependency on textproc/py-pikepdf, the Makefile for which does express version numbers, however these are not the conern of the maintainer of PDF Arranger.

@grahamperrin
Copy link
Contributor

Cross-reference: helloSystem/hello#272 and #55

@probonopd
Copy link
Member Author

@jsm222 has started to work on this. There used to be https://wiki.freebsd.org/helloDesktop but apparently it has been deleted. Why?


This is Google's cache of https://wiki.freebsd.org/helloDesktop. It is a snapshot of the page as it appeared on 7 Sep 2022 03:34:11 GMT.


helloDestktop

helloSystem has a Desktop Environment.

Work has started to port this desktop back to FreeBSD. It would be called helloDesktop.

Work is going on at https://github.com/jsm222/helloDesktop

A diff against head is here hellodesktop.diff

I have prebuilt the packages for 13.0 and 12.2 amd64 as of now (There are still unsolved naming issues and the work is still preliminary , so it is not committed directly to mainline.

/usr/local/etc/pkg/repos/helloDesktop.conf
helloDesktop: {
        url: "pkg+http://build.schmitz.computer/packages/${ABI}",
        mirror_type: "srv",
        enabled: yes,
        signature_type: "pubkey",
        pubkey: "/usr/local/etc/ssl/certs/poudriere.cert",
        priority: 100

}
/usr/local/etc/ssl/certs/poudriere.cert  
-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5gEt92AHUkYkZH2Q2nP3
2/Wu7gxbMEno5iqi1ea327lHmhJB18E0mW9dKYgxz74PbbTAmyaMdY4G1vn3cStp
jKVnrOCsNboaZ1L6riYFTjZX0pVAQYdtblCNjTf92X1kk8Yp1jy3baH8s19IKVWD
jX+2j33BOjRH3jbiLxdPu51wPItDUM4UU+mdrMH2+RgHjVX3ZkgRe/bYxMgrYBQg
roEwp0Pv9DbDQ0Vx3qIBJahQ7zfDCWZI1urr85/kM58KXYLt1YHW+vRd3scOm1IE
mRON0zVO2f8+obzy3lLNnZj/XIWxh+LNI4kmmdoHMksysYtrRz1bpcnsY8qOe4g3
X7q+i8k0JaaMwwD9YvKf6HyQ09rFt3WqV2AAOwR0835oHxCENJJFcoUCMCaKjNSF
OZyuYKKPqSm8BKj/QaoXBIF1fQJBJzrINYSUj4/M6TWKVTSO8H4s+eiqfD7FYJ3h
jSZ2ubydtTOef1Tk79OVoo8Ns7FqzCK7ffOvELxuY2OMDIKrw0sCfpkI9uM5Dfrr
rYXn4dwvZLwB+tnBbKBXIfjAvwqjHeWfzqgUHSk/Slqh7UEYL+BnLfHxLMVN0Omk
gFM24eVEKju1PHkBDHVAD+NGfq4g/hcbAbcrtjxDrs1ztdwjtCJmFNcEYFjz0DRc
q9cTv5oaRy9FQy0NdGwGuqUCAwEAAQ==
-----END PUBLIC KEY-----
pkg install -r helloDesktop hellodesktop
~/.xinitrc
#!/bin/sh
export QT_QPA_PLATFORMTHEME=panda
exec /usr/local/bin/openbox &
exec /usr/local/bin/filer-qt --desktop &
exec /usr/local/bin/menubar &
exec /usr/local/bin/cyber-dock

@grahamperrin
Copy link
Contributor

Hint: use the Search field to seek helloDesktop

There used to be wiki.freebsd.org/helloDesktop but apparently it has been deleted.

No, not deleted.

https://wiki.freebsd.org/action/info/JesperMouridsen/helloDesktop?action=diff&rev2=7&rev1=6

@probonopd
Copy link
Member Author

probonopd commented Sep 17, 2022

...but moved to https://wiki.freebsd.org/action/info/JesperMouridsen/helloDesktop

Would be nice if the Wiki software automatically redirect there. Thanks @grahamperrin, I would never have found this out!

@probonopd
Copy link
Member Author

Closing here in favor of
https://github.com/helloSystem/helloDesktop/

@probonopd probonopd unpinned this issue Feb 26, 2023
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

3 participants