Giter Site home page Giter Site logo

devalle / nomacs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nomacs/nomacs

0.0 0.0 0.0 79.09 MB

nomacs is a free image viewer for windows, linux, and mac systems.

Home Page: https://nomacs.org

License: GNU General Public License v3.0

CMake 2.93% Roff 0.06% Python 0.57% Shell 0.02% C++ 95.24% Visual Basic 0.14% C 0.05% CSS 0.93% Batchfile 0.06%

nomacs's Introduction

nomacs - Image Lounge ๐Ÿธ

nomacs is a free, open source image viewer, which supports multiple platforms. You can use it for viewing all common image formats including RAW and psd images. nomacs is licensed under the GNU General Public License v3 and available for Windows, Linux, FreeBSD, Mac, and OS/2.

Build Status

Build nomacs (Windows)

Compile dependencies

  • Qt SDK or the compiled sources (>= 5.2.1)
  • expat (needed for exiv2)
  • Exiv2 (>= 0.26)
  • OpenCV (>= 3.4) optional
  • LibRaw (>= 0.17) optional
  • Python (>= 3.6) for build scripts

Compile LibRaw

  • only needed if ENABLE_RAW is checked
  • checkout libraw
  • switch to 0.XX-stable branch
  • follow the build instructions
  • in the nomacs CMakeUserPaths.cmake, add the build path to ${CMAKE_PREFIX_PATH}

Compile nomacs

  • copy CMakeUserPathsGit.cmake and rename it to CMakeUserPaths.cmake
  • add your library paths to the ${CMAKE_PREFIX_PATH} in CMakeUserPaths.cmake
  • Open CMake GUI
  • set your ImageLounge folder to where is the source code
  • choose a build folder (i.e. build2017-x64)
  • Hit Configurethen Generate
  • Open the Project
  • Right-click the nomacs project and choose Set as StartUp Project
  • Compile the Solution

If anything did not work

  • check if you have setup opencv (otherwise uncheck ENABLE_OPENCV)
  • check if your Qt is set correctly (otherwise set the path to qt_install_dir/qtbase/bin/qmake.exe)
  • check if your builds proceeded correctly

Build nomacs (Ubuntu)

Get the required packages:

sudo apt-get install debhelper cdbs qt5-qmake qttools5-dev-tools qt5-default qttools5-dev libqt5svg5-dev qt5-image-formats-plugins libexiv2-dev libraw-dev libopencv-dev cmake libtiff-dev libquazip-dev libwebp-dev git build-essential lcov libzip-dev

Get the nomacs sources from github:

git clone https://github.com/nomacs/nomacs.git

This will by default place the source into ~/nomacs

Go to the nomacs/ImageLounge directory and run cmake to get the Makefiles:

cmake .

Compile nomacs:

make

You will now have a binary (~/nomacs/nomacs), which you can test (or use directly). To install it to /usr/local/bin, use:

sudo make install

note that you have to execute

sudo ldconfig

on your own after a successfully install

For Package Maintainers

  • Set ENABLE_TRANSLATIONS to true (default: false)
  • Build all officially supported plugins

Build nomacs (MacOS)

Install Homebrew for easier installation of dependencies. Install required dependencies:

$ brew install qt5 exiv2 opencv libraw quazip cmake pkg-config

Go to the nomacs directory and run cmake to get the Makefiles

$ mkdir build
$ cd build
$ Qt5_DIR=/usr/local/opt/qt5/ cmake -DQT_QMAKE_EXECUTABLE=/usr/local/opt/qt5/bin ../ImageLounge/.

Run make:

$ make

You will now have a binary (nomacs.app), which you can test (or use directly). To install it to /usr/local/bin, use

$ sudo make install

Links

nomacs-icon

nomacs's People

Contributors

diemmarkus avatar sfiel avatar timjerman avatar flow79 avatar cornytrace avatar christian-kapeller avatar hollaus avatar nholmgaard avatar alyosama avatar smarquespt avatar agaida avatar kovidgoyal avatar sizeofvoid avatar a17r avatar dglava avatar pvanek avatar kensington avatar gwty avatar tcmb avatar anirudh9119 avatar exl avatar axiom avatar pmattern avatar plaes avatar rakuco avatar cybre avatar szymonrw avatar ahmedtd avatar riverol avatar saivig avatar

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.