MINGW-packages icon indicating copy to clipboard operation
MINGW-packages copied to clipboard

Add nokogiri

Open Freed-Wu opened this issue 3 years ago • 7 comments

Package name

mingw-w64-ruby-nokogiri

Brief description of package

In https://nokogiri.org/tutorials/installing_nokogiri.html#installing-using-standard-system-libraries:

Windows¶

We recommend installing Nokogiri against the MSYS2 system libraries:

ridk exec pacman -S mingw-w64-x86_64-libxslt gem install nokogiri --platform=ruby -- --use-system-libraries

Is it possible to let user pacboy -S ruby-nokogiri:x more easily?

URL for package's homepage

https://nokogiri.org

Provide a basic test case to validate the package's functionality.

No response

MINGW environments where you need the package

  • [X] MINGW64
  • [X] MINGW32
  • [X] UCRT64
  • [X] CLANG64
  • [X] CLANG32
  • [X] CLANGARM64

Are you willing to submit a PR?

No

Freed-Wu avatar Dec 22 '22 12:12 Freed-Wu

It seems that nokogiri requires many ruby packages. For example, see all the dependency hierarchy here https://archlinux.org/packages/community/x86_64/ruby-nokogiri/. I am not sure if it is worth of adding bunch of ruby packages just for this one. Interested in other opinions too.

Biswa96 avatar Dec 26 '22 16:12 Biswa96

@flavorjones

Freed-Wu avatar Dec 30 '22 02:12 Freed-Wu

Hi, Nokogiri maintainer here. I'm not very familiar with the mingw package ecosystem, can someone help me understand the problem that this issue is proposing solving? Nokogiri ships precompiled windows packages already.

flavorjones avatar Dec 30 '22 02:12 flavorjones

Sorry for late. Is the compiled windows nokogiri compiled by MSVC? msys2 use MinGW to compile package and allow user to install them by a unified package manager, which is the big difference I dare to think.

I just notice nokogiri is a dependence of jekyll and so If it is provided, it will easier for user to install jekyll so I think it should be useful that let msys2 support it.

Freed-Wu avatar Feb 15 '23 16:02 Freed-Wu

@larskanis can probably help answer your questions better than I can.

flavorjones avatar Feb 16 '23 13:02 flavorjones

It seems that nokogiri requires many ruby packages. For example, see all the dependency hierarchy here https://archlinux.org/packages/community/x86_64/ruby-nokogiri/. I am not sure if it is worth of adding bunch of ruby packages just for this one. Interested in other opinions too.

As @Freed-Wu mentioned (a year ago), it would be a great way to have Jekyll.

I was about to open an issue requesting Jekyll to be packaged and I found this.

It would be great for me (I don’t have another way to generate static sites to be hosted at GitLab Pages).

It will be also the only static site generator included with MSYS2.

I think adding Jekyll will help a lot, if you allow me the comment, @Biswa96.

Many thanks for your help.

ousia avatar Mar 26 '24 18:03 ousia

Hi, Nokogiri maintainer here. I'm not very familiar with the mingw package ecosystem, can someone help me understand the problem that this issue is proposing solving? Nokogiri ships precompiled windows packages already.

@flavorjones, I have just landed in this issue and I’m only an average user.

This project explicitly avoids shipping precompiled binaries, but packages are submitted as source and they have to be automatically compiled by the project.

Sorry for not providing you with a direct reference, but I read that more than a year ago.

Many thanks for your help.

ousia avatar Mar 26 '24 18:03 ousia