GithubHelp home page GithubHelp logo

arrufat / pdftag Goto Github PK

View Code? Open in Web Editor NEW
66.0 4.0 5.0 137 KB

A simple metadata editor for PDFs for Linux and Windows

License: GNU General Public License v3.0

Vala 95.24% Meson 4.76%
pdf metadata poppler linux windows vala gtk metadata-editor

pdftag's Introduction

Pdftag

A simple metadata editor for PDFs

pdftag

Introduction

The main goal of Pdftag is to provide a simple and usable solution to edit metadata found in PDFs.

Other more complex solutions exist to manipulate PDFs, but they may have dependencies on Java and may be not completely free.

This project makes use of the poppler library for all the PDF information reading and writing.

It is written in Vala and GTK+, meaning it is fast and has a small memory footprint.

Features

Pdftag supports editing the following PDF tags:

  • Title
  • Author
  • Subject
  • Keywords
  • Producer
  • Creator
  • Creation date
  • Modification date

It also displays useful non-editable information:

  • PDF format
  • Number of pages

Compiling and installing

To build Pdftag you need the following dependencies (including development files):

  • meson (build only)
  • ninja (build only)
  • vala (build only)
  • gtk3
  • poppler-glib

Then run

meson build --prefix=/usr/local (or your preferred installation prefix)
ninja -C build
ninja -C build install

pdftag's People

Contributors

arrufat 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  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

pdftag's Issues

License installed in hardcoded path

Hi Adrià,

"merci beaucoup" for pdftag - very useful. One issue: in meson.build, the path you use for storing the license is hardcoded. In not all distro's this is a suitable place, and it would make most sense to install this in the path the user set with --prefix.

Reason I'm asking is that I've packaged pdftag for Nixos:

NixOS/nixpkgs#45666

In NixOS (and probably other distro's too) there is not such a path, making the build fail. So I manually have to patch the meson.build ...

Icons not loading, program crashes on Windows x64 v1.04

My problem

Hi, I'm having a problem with the v1.04 release on my Windows 7 64-bit machine. No icons are displaying, and when I click where I believe the "open file" button is based on the screenshot from the README, the program crashes.

What I did

  1. I downloaded the v1.04 release (as that was the release with Windows binaries)
  2. I extracted the files to C:\Users\Sam Cantrell\bin\pdftag
  3. I ran pdftag.exe
  4. The program opens, with no program icons shown except what appears to be a generic icon.
    2019-01-08 16_55_50-pdftag
  5. I click what I think is the "open file" button, as I don't see any tooltips.
    2019-01-08 16_57_34-pdftag
  6. The program crashes.

Flatpak manifest

Hi,

I made a Flatpak manifest for pdftag.

{
  "id" : "com.github.arrufat.pdftag",
  "runtime" : "org.gnome.Platform",
  "runtime-version" : "3.28",
  "sdk" : "org.gnome.Sdk",
  "command" : "pdftag",
  "rename-desktop-file": "pdftag.desktop",
  "modules" : [
    {
      "name" : "poppler",
      "buildsystem" : "cmake",
      "config-opts" : [
        "-DENABLE_LIBOPENJPEG:STRING=none"
      ],
      "sources" : [
        {
          "url" : "https://anongit.freedesktop.org/git/poppler/poppler.git",
          "type" : "git"
        }
      ]
    },
    {
      "name" : "pdftag",
      "buildsystem" : "meson",
      "sources" : [
        {
          "url" : "https://github.com/arrufat/pdftag",
          "type" : "git"
        }
      ]
    }
  ],
  "cleanup" : [
    "/include",
    "/lib/pkgconfig"
  ],
  "finish-args" : [
    "--socket=wayland",
    "--socket=x11",
    "--share=ipc",
    "--filesystem=home"
  ]
}

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.