Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Packaging Fetch for other Distros #52

Closed
dylanaraps opened this issue Feb 8, 2016 · 34 comments
Closed

Packaging Fetch for other Distros #52

dylanaraps opened this issue Feb 8, 2016 · 34 comments
Labels

Comments

@dylanaraps
Copy link
Owner

I'd love to see fetch packaged for other distros and operating systems.

Fetch is currently packaged for these distros:

Distro Type Maintainer URL
Arch Linux aur @dylanaraps neofetch, neofetch-git
Gentoo/Funtoo ebuild @z1lt0id
Crux port @ix
Debian/Ubuntu repo @dawidd6
Fedora repo @konimex
RHEL/CentOS repo @konimex
Void Linux repo @konimex
Mac OS X homebrew @iandrewt

I don't have any experience in creating packages for other distros so any help
is appreciated.

@15bitgames
Copy link

I'll install some docker instances and see what I can come up with :)

On 8 February 2016 12:06:03 pm AEDT, Dylan Araps [email protected] wrote:

I'd love to see fetch packaged for other distros and operating systems

Fetch is currently packaged for:

  • Arch Linux (aur)
  • Gentoo/Funtoo (ebuild)

Reply to this email directly or view it on GitHub:
#52

Sent from my Android device with K-9 Mail. Please excuse my brevity.

@dylanaraps
Copy link
Owner Author

Sounds good! 👍

@dylanaraps
Copy link
Owner Author

I'm working on creating a Fedora rpm, I'm just waiting for Fedora to finish downloading
so I can run it in a vm.

@15bitgames
Copy link

I'd recommend the docker route over vm. Much faster and less hassle

On 8 February 2016 1:14:18 pm AEDT, Dylan Araps [email protected] wrote:

I'm working on creating a Fedora rpm, I'm just waiting for Fedora to
finish downloading so I can run it in a vm.


Reply to this email directly or view it on GitHub:
#52 (comment)

Sent from my Android device with K-9 Mail. Please excuse my brevity.

@dylanaraps
Copy link
Owner Author

I haven't played around with docker before, I'll take a look.

@tudurom
Copy link
Contributor

tudurom commented Feb 8, 2016

Why not use The OpenSUSE Build Service?

@dylanaraps
Copy link
Owner Author

That looks neat!

@tudurom
Copy link
Contributor

tudurom commented Feb 8, 2016

I played around with it and it seems the most easy way to package fetch for a couple of distros is feeding a rpm to the OBS. Make a RPM and we will see.

@dylanaraps
Copy link
Owner Author

I'm also messing around with it but I can't seem to get it working. I'll try adding an rpm file as the source to see if that works.

@tudurom
Copy link
Contributor

tudurom commented Feb 9, 2016

Does it work?

@dylanaraps
Copy link
Owner Author

I spent hours yesterday trying to get Fedora to build an rpm and eventually gave up.

If anyone else wants to have a go, be my guest.

@dylanaraps
Copy link
Owner Author

You can now install fetch through homebrew with this command:

# Install 1.1
brew install dylanaraps/tools/fetch

# Install latest git master
brew install dylanaraps/tools/fetch --HEAD

I haven't tested the formula, it should work in theory but I don't have any
OS X devices to test it on. Once someone has tested this and confimed
that it works I'll add this to the readme.

@ralsei
Copy link
Contributor

ralsei commented Feb 17, 2016

i packaged it for crux, but it currently fetches from git rather than from releases (as 1.3 doesn't have a release tag yet).

@tudurom
Copy link
Contributor

tudurom commented Feb 17, 2016

I think both the ebuild and the PKGBUILD are fetching from git so that's
not a problem.
On 17 Feb 2016 15:56, "ix" [email protected] wrote:

i packaged it for crux, but it currently fetches from git rather than from
releases (as 1.3 doesn't have a release tag yet).


Reply to this email directly or view it on GitHub
#52 (comment).

@ralsei
Copy link
Contributor

ralsei commented Feb 17, 2016

okay then!

@dylanaraps
Copy link
Owner Author

Thanks @ix!

@tudurom
Copy link
Contributor

tudurom commented Feb 18, 2016

There are threads for updates on the ebuild and the CRUX port. Shouldn't the news be posted here?

@ralsei
Copy link
Contributor

ralsei commented Feb 18, 2016

this is the issue for packages for new distros

other packages for existing distros should be kept in their own threads

@tudurom
Copy link
Contributor

tudurom commented Feb 18, 2016

Then let's make a thread for already made packages.
On 18 Feb 2016 17:46, "ix" [email protected] wrote:

this is the issue for packages for new distros

other packages for existing distros should be kept in their own threads


Reply to this email directly or view it on GitHub
#52 (comment).

@dawidd6
Copy link
Contributor

dawidd6 commented Feb 26, 2016

I can make a .deb package

@danielwaltz
Copy link

I attempted to install fetch using the brew formula and it failed. Here is the error:

Error: /usr/local/Library/Taps/dylanaraps/homebrew-tools/fetch.rb:1: class/module name must be CONSTANT
class fetch < Formula

It's so easy to build that I don't see this as important, I just wanted to let you know.

@dylanaraps
Copy link
Owner Author

@dawidd6 👍

@danielwaltz, Thanks for testing the formula, I think I'll wait for someone else to create one.

@dawidd6
Copy link
Contributor

dawidd6 commented Feb 27, 2016

So here it is, a .deb package (must be in zip, because github doesn't like .deb):
fetch.zip

Tested on Debian 8 Jessie and Ubuntu 15.10

If you find this package in the state you don't like it, please let me know

@dylanaraps
Copy link
Owner Author

Nice!

How do we go about getting this into Debian and Ubuntu's repos?

@tudurom
Copy link
Contributor

tudurom commented Feb 27, 2016

Let's begin with a ppa.
On 27 Feb 2016 12:48, "Dylan Araps" [email protected] wrote:

Nice!

How do we go about getting this into Debian and Ubuntu's repos?


Reply to this email directly or view it on GitHub
#52 (comment).

@dylanaraps
Copy link
Owner Author

Oh yeah, forgot all about ppas. I'll look into creating one!

@dylanaraps
Copy link
Owner Author

I've decided that I'm only going to maintain the aur package, if you want
neofetch packaged for your distro then you or someone else will need to
create a package, ppa or whatever and maintain it.

I'll gladly accept PRs with install instructions for X distro as I've done for
Gentoo/Funtoo and Crux.

I'd also prefer it if every package used the same issue for updates instead
of having multiple seperate issues for them.

See #115.

@konimex
Copy link
Contributor

konimex commented Mar 11, 2016

I'm going to try to make an rpm (and installing it, of course) for Fedora, I'll report back here if I am succeeded.

@konimex
Copy link
Contributor

konimex commented Mar 11, 2016

The packaging has been successful and a repo has been made. Tested on Fedora 23 but it should work in Fedora 22, 24 and Rawhide.

@tudurom
Copy link
Contributor

tudurom commented Mar 11, 2016

If we have a RPM, we can use the OpenSUSE build service to package fetch
for many more distros!
On 11 Mar 2016 10:13, "Herdiansyah" [email protected] wrote:

The packaging has been successful. Tested on Fedora 23 but it should work
in Fedora 22, 24 and Rawhide.


Reply to this email directly or view it on GitHub
#52 (comment).

@dylanaraps
Copy link
Owner Author

I don't want to maintain anymore packages but for anyone out there who wants to take a crack at setting up the build service, be my guest. :)

@konimex
Copy link
Contributor

konimex commented Mar 11, 2016

On 03/11/2016 03:17 PM, Tudor Roman wrote:

If we have a RPM, we can use the OpenSUSE build service to package fetch
for many more distros!

Hmm, I think the advantage of using OBS will be limited
to openSUSE, since we've already covered Debian, Ubuntu,
Arch, and Fedora. What does OBS cover, besides the four
I mentioned earlier?

@konimex
Copy link
Contributor

konimex commented Mar 27, 2016

We're now live on Void Linux's official repository. I'll maintain the package build template. Installation instructions coming in later.

@dylanaraps
Copy link
Owner Author

Post new package news in #115

gapan pushed a commit to gapan/neofetch that referenced this issue Aug 13, 2023
Proper implementation of memory_unit and mem_precision
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

7 participants