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

OK to remove unnecessary deps? #98

Closed
1 of 2 tasks
cbm755 opened this issue Dec 9, 2015 · 4 comments
Closed
1 of 2 tasks

OK to remove unnecessary deps? #98

cbm755 opened this issue Dec 9, 2015 · 4 comments

Comments

@cbm755
Copy link

cbm755 commented Dec 9, 2015

Can you comment on the following deps? Is it right to drop these from Build.PL?

  • See PR Drop unneeded builddeps #97.
  • [ ]
    Encode::EUCJPASCII, Encode::HanExtra, Encode::JIS2K seem to be unused as well, but they are mentioned in various build scripts:
grep * -r -i -e hanextra
Build.PL:        'Encode::HanExtra' => 0,
dist/darwin_x86_64/build.sh:  --module=Encode::HanExtra \
dist/cygwin32/build.sh:   --module=Encode::HanExtra \
dist/linux_x86_64/build.sh:  --module=Encode::HanExtra \
dist/linux_x86_32/build.sh:  --module=Encode::HanExtra \
dist/darwin_x86_i386/build.sh:  --module=Encode::HanExtra \
dist/MSWin32/build.bat:  --module=Encode::HanExtra ^
  • List::MoreUtils?
grep * -r -i -e moreutil
Build.PL:        'List::MoreUtils' => 0,
Build.PL:        'List::MoreUtils::XS' => 0,
dist/darwin_x86_64/build.sh:  --module=List::MoreUtils::XS \
dist/darwin_x86_64/build.sh:  --module=List::MoreUtils::PP \
dist/cygwin32/build.sh:   --module=List::MoreUtils::XS \
dist/cygwin32/build.sh:   --module=List::MoreUtils::PP \
dist/linux_x86_64/build.sh:  --module=List::MoreUtils::XS \
dist/linux_x86_64/build.sh:  --module=List::MoreUtils::PP \
dist/linux_x86_32/build.sh:  --module=List::MoreUtils::XS \
dist/linux_x86_32/build.sh:  --module=List::MoreUtils::PP \
dist/darwin_x86_i386/build.sh:  --module=List::MoreUtils::XS \
dist/darwin_x86_i386/build.sh:  --module=List::MoreUtils::PP \
dist/MSWin32/build.bat:  --module=List::MoreUtils::XS ^
dist/MSWin32/build.bat:  --module=List::MoreUtils::PP ^
@plk
Copy link
Owner

plk commented Dec 10, 2015

The Encode stuff can't be removed as it can be loaded dynamically based on encoding choices from the user. The Encode modules are often like this - they are not mentioned in the code but various command-line flags might well cause them to be needed. The PP more utiles modules. Hmm. There was some reason I included the pure perl ones as well but I can't quite remember offhand.

@cbm755
Copy link
Author

cbm755 commented Dec 10, 2015

Encode: ok. We haven't been depending on those in Fedora but I can add them.

List::MoreUtils: I meant why is this module a dep? PP or XS, I don't see either used.

@plk
Copy link
Owner

plk commented Dec 10, 2015

This is because List::AllUtils is used a lot and this is just some sort of wrapper for List::MoreUtils and, as I remember, without this dep packed, it fails. This often happens with Module::Scandeps - sometimes the auto-detection fails for wrapped modules and you have to explicitly add them as dependencies.

@plk plk closed this as completed Dec 12, 2015
@cbm755
Copy link
Author

cbm755 commented Dec 14, 2015

thanks for your help, I'll update the deps in Fedora. How about #97? Is it wrong too?

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

2 participants