Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/junrrein/pdfslicer
A simple application to extract, merge, rotate and reorder pages of PDF documents
https://github.com/junrrein/pdfslicer
Last synced: about 1 month ago
JSON representation
A simple application to extract, merge, rotate and reorder pages of PDF documents
- Host: GitHub
- URL: https://github.com/junrrein/pdfslicer
- Owner: junrrein
- License: gpl-3.0
- Created: 2017-10-22T18:30:14.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-01T22:13:36.000Z (8 months ago)
- Last Synced: 2024-05-14T03:03:55.582Z (7 months ago)
- Language: C++
- Homepage: https://junrrein.github.io/pdfslicer/
- Size: 67.1 MB
- Stars: 138
- Watchers: 5
- Forks: 16
- Open Issues: 56
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- fucking-Awesome-Linux-Software - ![Open-Source Software - PDF Slicer is a simple application to extract, merge, rotate and reorder pages of PDF documents. (Applications / E-Book Utilities)
- Awesome-Linux-Software - ![Open-Source Software - PDF Slicer is a simple application to extract, merge, rotate and reorder pages of PDF documents. (Applications / E-Book Utilities)
README
# PDF Slicer
This is a simple application to extract, merge, rotate and reorder pages of PDF documents,
with undo/redo support.![](docs/readme-screenshot-1.png)
![](docs/readme-screenshot-2.png)
![](docs/readme-screenshot-3.png)
# Table of Contents
* [Installing](#installing)
* [Linux](#linux)
* [Windows](#windows)
* [Contributing](#contributing)
* [Translations](#translations)
* [Code](#code)
* [Building](#building)
* [Fedora](#fedora)
* [Flatpak](#flatpak)
* [Windows cross-compilation (Fedora only)](#windows-cross-compilation-fedora-only)
* [License](#license)# Installing
## Linux
You can install PDF Slicer using Flatpak. [Get it from Flathub](https://flathub.org/apps/details/com.github.junrrein.PDFSlicer).
## Windows
You can get the latest installer from the [Releases page](https://github.com/junrrein/pdfslicer/releases/latest).
# Contributing
## Translations
You can contribute your translations at [PDF Slicer's Weblate page](https://hosted.weblate.org/projects/pdf-slicer/).
## Code
Check out the [HACKING.md](HACKING.md) file.
# Building
## Fedora
1. Install dependencies
```bash
sudo dnf install gtkmm30-devel poppler-cpp-devel cairomm-devel qpdf-devel libuuid-devel intltool gettext
```2. Check out a copy of the source code
```bash
git clone --recursive https://github.com/junrrein/pdfslicer.git
```3. Build the application
```bash
cd ..
mkdir build-pdfslicer
cd build-pdfslicer
cmake ../pdfslicer/ -DCMAKE_BUILD_TYPE=Release
make
```4. Install
```bash
sudo make install
```5. Uninstall
```bash
sudo xargs rm < install_manifest.txt
```## Flatpak
```bash
flatpak remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
flatpak install gnome org.gnome.Platform//3.38
flatpak install gnome org.gnome.Sdk//3.38
git clone https://github.com/junrrein/pdfslicer.git
cd pdfslicer/build-aux/
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
```bash
flatpak --user uninstall com.github.junrrein.PDFSlicer
flatpak --user remote-delete pdfslicer-repo
rm -rf pdfslicer/
```## Windows cross-compilation (Fedora only)
```bash
sudo dnf install mingw64-gcc-c++ mingw64-gdb mingw64-gtkmm30 mingw64-hicolor-icon-theme mingw64-librsvg2 mingw64-poppler-cpp mingw64-openssl mingw32-nsis
git clone --recursive https://github.com/junrrein/pdfslicer.git
mkdir build-pdfslicer
cd build-pdfslicer
mingw64-cmake ../pdfslicer -DCMAKE_BUILD_TYPE=Release
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 icons were made by [Lapo Calamandrei](mailto:[email protected]) and [Tobias Bernard](mailto:[email protected]). They 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.
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.