Re: [e-users] EFL 1.27.0 creation of RPM using spec/efl.spec.in

2024-03-05 Thread aguador via enlightenment-users


El dom, 03-03-2024 a las 07:34 +0100, Phil Otken escribió:
> Agreed. Am doing that now (RTFM). I'll make use of the existing
> efl.spec.in
> as an example. Plan is to look for a spec file already used to build
> an efl
> RPM; this is perhaps available in the EPEL packages. If successful,
> I'll
> post the method here.
> 
> You are correct, Carsten, I need to learn to make RPMs so that the
> system
> is more easily manageable, and so I can later update Enlightenment at
> will.
> It's a long drink of water, but the motivation is there. I'm writing
> an
> article about it on LI now.
> 
You can also check other rpm distros. For example you can easily get to
the SRMS in Mageia (via mirrors.mageia.org) and modify for Alpine and
efl-1.27.0. OpenMandriva already has an efl-1.27.0 package available.

Note: You are better off with a Fedora SRPM as there is variation in
the packaging rules followed across distros. The rpm world is not as
"unified" as the deb world.

Best,
Roy


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] EFL 1.27.0 creation of RPM using spec/efl.spec.in

2024-03-02 Thread Phil Otken
Agreed. Am doing that now (RTFM). I'll make use of the existing efl.spec.in
as an example. Plan is to look for a spec file already used to build an efl
RPM; this is perhaps available in the EPEL packages. If successful, I'll
post the method here.

You are correct, Carsten, I need to learn to make RPMs so that the system
is more easily manageable, and so I can later update Enlightenment at will.
It's a long drink of water, but the motivation is there. I'm writing an
article about it on LI now.

On Sat, Mar 2, 2024 at 8:57 PM Carsten Haitzler 
wrote:

> On Sat, 2 Mar 2024 06:03:26 +0100 Phil Otken  said:
>
> no idea what this efl.spec.in is... the http ref is a placeholder website
> (domain squatter).
>
> but it seems you need to learn how to build packages - specifically rpm
> pkgs
> and they use .spec files to describe the packages metadata, how to build
> it and
> where/what files are installed and how they may be split into sub-packages.
>
> i suspect you probably need to start with tutorials on how to build
> rpm's...
> it's pretty easy. last time i did rpms was a few decades back but it's not
> hard and i picked it up with no manuals or tutorials - i simply read
> existing
> spec files and went "h that's the field i need" etc. - so it's not
> hard. :)
>
> > *Background*: I am in the process of re-building an Oracle Linux 9.3
> server
> > <
> https://www.linkedin.com/pulse/rebuilding-linux-server-index-articles-overlogix-9tmvf
> >
> > (this is a downstream RHEL derivative, stable and conservative), got it
> to
> > compile yesterday and stopped there to *RTFM*.
> >
> > Currently installed are the latest Fedora packages as a temporary measure
> > while the build issues are sorted out. They work OK, but depend on
> Wayland,
> > and freeze the whole computer if the KVM switch is used. Undesirable,
> > unstable, hence the build.
> >
> > *Issue I need help with*: I see the file *spec/efl.spec.in
> > *, tried to find instructions to use it, didn't find
> > any. I gather this file is a template used to process somehow into a
> usable
> > *efl.spec*, which can in turn be used to process to a binary RPM package,
> > and possibly also a source RPM package, very desirable. I also suspect
> that
> > meson is used somehow to process this file, couldn't find appropriate
> > material after a lot of searching. Bard and ChatGPT confidently
> > hallucinated on the topic.
> >
> > Does anyone on this list have this type of packaging experience? How can
> > this file be used, and what are the steps? Please dumb it down for me to
> > fifth grader level; my expertise is elsewhere.
> >
> > --
> > Thanks,
> > - Phil
> >
> > Phil Otken
> > Overlogix, Inc. 
> > also d.b.a.
> > Practical Software and Database Engineering, Inc.
> > c: +41 79 376 08 96
> > e-mail: phil.ot...@gmail.com
> > Online Professional Profile: http://www.linkedin.com/in/potken/
> >
> > ___
> > enlightenment-users mailing list
> > enlightenment-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> >
>
>
> --
> - Codito, ergo sum - "I code, therefore I am" --
> Carsten Haitzler - ras...@rasterman.com
>
>

-- 
Thanks,
- Phil

Phil Otken
Overlogix, Inc. 
also d.b.a.
Practical Software and Database Engineering, Inc.
c: +41 79 376 08 96
e-mail: phil.ot...@gmail.com
Online Professional Profile: http://www.linkedin.com/in/potken/

___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] EFL 1.27.0 creation of RPM using spec/efl.spec.in

2024-03-02 Thread Carsten Haitzler
On Sat, 2 Mar 2024 06:03:26 +0100 Phil Otken  said:

no idea what this efl.spec.in is... the http ref is a placeholder website
(domain squatter).

but it seems you need to learn how to build packages - specifically rpm pkgs
and they use .spec files to describe the packages metadata, how to build it and
where/what files are installed and how they may be split into sub-packages.

i suspect you probably need to start with tutorials on how to build rpm's...
it's pretty easy. last time i did rpms was a few decades back but it's not
hard and i picked it up with no manuals or tutorials - i simply read existing
spec files and went "h that's the field i need" etc. - so it's not hard. :)

> *Background*: I am in the process of re-building an Oracle Linux 9.3 server
> 
> (this is a downstream RHEL derivative, stable and conservative), got it to
> compile yesterday and stopped there to *RTFM*.
> 
> Currently installed are the latest Fedora packages as a temporary measure
> while the build issues are sorted out. They work OK, but depend on Wayland,
> and freeze the whole computer if the KVM switch is used. Undesirable,
> unstable, hence the build.
> 
> *Issue I need help with*: I see the file *spec/efl.spec.in
> *, tried to find instructions to use it, didn't find
> any. I gather this file is a template used to process somehow into a usable
> *efl.spec*, which can in turn be used to process to a binary RPM package,
> and possibly also a source RPM package, very desirable. I also suspect that
> meson is used somehow to process this file, couldn't find appropriate
> material after a lot of searching. Bard and ChatGPT confidently
> hallucinated on the topic.
> 
> Does anyone on this list have this type of packaging experience? How can
> this file be used, and what are the steps? Please dumb it down for me to
> fifth grader level; my expertise is elsewhere.
> 
> -- 
> Thanks,
> - Phil
> 
> Phil Otken
> Overlogix, Inc. 
> also d.b.a.
> Practical Software and Database Engineering, Inc.
> c: +41 79 376 08 96
> e-mail: phil.ot...@gmail.com
> Online Professional Profile: http://www.linkedin.com/in/potken/
> 
> ___
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
Carsten Haitzler - ras...@rasterman.com



___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] EFL 1.27.0 creation of RPM using spec/efl.spec.in

2024-03-01 Thread Vincent Torri
On Sat, Mar 2, 2024 at 6:04 AM Phil Otken  wrote:
>
> *Background*: I am in the process of re-building an Oracle Linux 9.3 server
> 
> (this is a downstream RHEL derivative, stable and conservative), got it to
> compile yesterday and stopped there to *RTFM*.
>
> Currently installed are the latest Fedora packages as a temporary measure
> while the build issues are sorted out. They work OK, but depend on Wayland,
> and freeze the whole computer if the KVM switch is used. Undesirable,
> unstable, hence the build.
>
> *Issue I need help with*: I see the file *spec/efl.spec.in
> *, tried to find instructions to use it, didn't find
> any. I gather this file is a template used to process somehow into a usable
> *efl.spec*, which can in turn be used to process to a binary RPM package,
> and possibly also a source RPM package, very desirable. I also suspect that
> meson is used somehow to process this file, couldn't find appropriate
> material after a lot of searching. Bard and ChatGPT confidently
> hallucinated on the topic.
>
> Does anyone on this list have this type of packaging experience? How can
> this file be used, and what are the steps? Please dumb it down for me to
> fifth grader level; my expertise is elsewhere.

hello

i've no experience in building an rpm package but here are some hints anyway:
 * efl.spec.in are files where some content between 2 arobase (@) are
replaced with a value. Here it is @VERSION@
* to have a correct efl.spec, just copy efl.spec.in to efl.spec and
replace @VERSION@ to
1.26.0 or whatever version of the EFL you have downloaded
* then build the rpm from this spec file

note that the file is old and changes in the EFL have been done. You
should find an efl.spec from a distro instead of using it

regards

Vincent Torri


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users