Giter Club home page Giter Club logo

docx_converter's People

Contributors

abhionlyone avatar michaelfranzl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docx_converter's Issues

UTF-8 Support?

hey! great work!!!

I have a bunch of word documents written in spanish. can you add support for characters like ´, ñ and others please?

install on alpine

Hello,

I'd like to try your docx_converter, but I'm having troubles installing in on our ruby alpine docker image,

This is my dockerfile so far, (not working).

FROM ruby:2.6-alpine

RUN apk add --update \
  libmagickwand-dev \
  pkgconfig imagemagick imagemagick-dev imagemagick-libs

RUN gem install docx_converter

WORKDIR $APP_HOME

it complains that libmagickwand-dev doesn't exist in the apk repo.

if I remove the library from installing, the gem install docx_converter fails with a missing library (as expected)

the troublesome library failing seems to be ruby-filemagic-0.7.2,

with this log file (cat /usr/local/bundle/extensions/x86_64-linux/2.6.0/ruby-filemagic-0.7.2/mkmf.log)

"gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux-musl -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -I/opt/local/include -I/usr/local/include -I/usr/include    -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/lib -Wl,-rpath,/usr/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby  -lm   -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

I tried installing ruby-filemagic separately, with this dockerfile:

FROM ruby:2.6-alpine

RUN apk add --update \
  pkgconfig imagemagick imagemagick-dev imagemagick-libs \
  musl libmagic file file-dev

RUN gem install ruby-filemagic

RUN gem install docx_converter

and get a make error

current directory: /usr/local/bundle/gems/ruby-filemagic-0.7.2/ext/filemagic
/usr/local/bin/ruby -I /usr/local/lib/ruby/2.6.0 -r ./siteconf20200810-1-s6d76t.rb extconf.rb
checking for -lgnurx... *** extconf.rb failed ***

would you be able to help me out with this?

Thanks,
G

This looks like what I need, but....

This looks like a great project, parsing word files is a great addition to the community. But I can't download the gem, at ruby gems, or even get it to compile from the repository.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.