Skip to content

coldzhang/pdfslicer

 
 

Repository files navigation

About

PDF Slicer is a simple application for extracting and rotating pages of a PDF document, with full undo/redo support.

Installing

Linux

PDF Slicer is currently being submitted to Flathub. Stay tuned!

Windows

You can download the installer from the Releases page.

Building

Fedora

  1. Install dependencies
sudo dnf install gtkmm30-devel poppler-glib-devel cairomm-devel libaesgm-devel intltool gettext
  1. Check out a copy of the source code
git clone --recursive https://github.com/junrrein/pdfslicer.git
  1. Build the application
cd ..
mkdir build-pdfslicer
cd build-pdfslicer
cmake ../pdfslicer/ -DCMAKE_BUILD_TYPE=Release -DUSE_BUNDLED=FALSE
make
  1. Install
sudo make install
  1. Uninstall
sudo xargs rm < install_manifest.txt

Flatpak

flatpak remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
flatpak install gnome org.gnome.Platform//3.28
flatpak install gnome org.gnome.Sdk//3.28
wget https://raw.githubusercontent.com/junrrein/pdfslicer/master/com.github.junrrein.PDFSlicer.json
flatpak-builder --repo=pdfslicer-repo pdfslicer com.github.junrrein.PDFSlicer.json --force-clean
flatpak --user remote-add --no-gpg-verify --if-not-exists pdfslicer-repo pdfslicer-repo
flatpak --user install pdfslicer-repo com.github.junrrein.PDFSlicer

Uninstall

flatpak --user uninstall com.github.junrrein.PDFSlicer
flatpak --user remote-delete pdfslicer-repo
rm -rf pdfslicer/ pdfslicer-repo/

Windows cross-compilation (Fedora only)

sudo dnf install mingw64-gcc-c++ mingw64-gtkmm30 mingw64-poppler-glib mingw64-librsvg2
git clone --recursive https://github.com/junrrein/pdfslicer.git
mkdir build-pdfslicer
cd build-pdfslicer
mingw64-cmake ../pdfslicer -DCMAKE_BUILD_TYPE=Release -DUSE_BUNDLED=OFF
make package

This proccess will generate the installer inside the build-pdfslicer directory with name PDF Slicer.exe.

License

PDF Slicer can be used under the terms of the GNU GPL 3.0 license, or, at your option, any later version. A copy can be found at the LICENSE file.

The application icon was made by Freepik from flaticon.com. It's licensed under the Creative Commons BY 3.0 license.

A number of third-party libraries are distributed as part of this source code repository. They are enumerated at the LICENSE-THIRD-PARTY file, along with details about the license they were relased under.

About

A simple application for extracting and rotating pages of a PDF document

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
LICENSE-THIRD-PARTY

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 77.4%
  • CMake 22.0%
  • Python 0.6%