Git Product home page Git Product logo

heroku-buildpack-gettext's Introduction

Heroku buildpack: GNU gettext

This buildpack compile GNU gettext with gettext-tools from official gettext
source code. As second time to build, it checks cache.

Following executable binaries are installed.

autopoint
envsubst
gettext
gettextize
gettext.sh
msgattrib
msgcat
msgcmp
msgcomm
msgconv
msgen
msgexec
msgfilter
msgfmt
msggrep
msginit
msgmerge
msgunfmt
msguniq
ngettext
recode-sr-latin
xgettext

GNU gettext

Current version is 0.21.

% heroku run gettext --version
Runnig gettext --version on   XXXX...up, run.NNNN (XXXX)
gettext (GNU gettext-runtime) 0.21
Copyright (C) 1995-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper.

Note

LD_LIBRARY_PATH should be set to search run-time library.
It is done by .profile.d script. This will be created by this buildpack.

See profile/heroku-buildpack-gettext.sh

# without LD_LIBRARY_PATH
% heroku run ldd /app/.heroku/gettext/usr/local/bin/msgfmt
Running ldd /app/.heroku/gettext/usr/local/bin/msgfmt on ⬢ XXXXX... up, run.NNNN (XXXX)
        linux-vdso.so.1 =>  (0x00007ffc6a6b8000)
        libgettextsrc-0.21.so => not found
        libgettextlib-0.21.so => not found
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe31c615000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe31c3f7000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fe31c9da000)

Usage

Plesae put <TAG> as you need.

% cat .buildpacks
https://gitlab.com/grauwoelfchen/heroku-buildpack-gettext#<TAG>
...

% git push heroku release:master
...
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Multipack app detected
remote: =====> Downloading Buildpack: https://gitlab.com/grauwoelfchen/
heroku-buildpack-gettext
remote: =====> Detected Framework: GNU gettext
...

Test

Test run on docker image.
This uses heroku-buildpack-testrunner.

% sh ./test/suite.sh

BUILDPACK: /app/buildpack
  TEST SUITE: compile_test.sh

  Ran 0 tests.

  OK
  0 SECONDS

  TEST SUITE: detect_test.sh
  testExitStatus
  testDetectedName

  Ran 2 tests.

  OK
  0 SECONDS

0 SECONDS

------
ALL OK
0 SECONDS

See also

Links

License

See LICENSE.

Copyright (c) 2017-2021 Yasuhiro Яша Asaka

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

heroku-buildpack-gettext's People

Contributors

grauwoelfchen avatar jhnbkr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

heroku-buildpack-gettext's Issues

heroku-20 stack build error

I have been using this buildpack for quite sometime now. I recently started a new project and it used the new stack heroku-20 by default.

During deployment I get the following errors:

Execution of msgfmt failed: msgfmt: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory        
CommandError: compilemessages generated one or more errors.

edit: FYI I am using Django and exciting python manage.py compilemessages during release

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.