summaryrefslogtreecommitdiff
path: root/app-text/xournalpp
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/xournalpp')
-rw-r--r--app-text/xournalpp/Manifest2
-rw-r--r--app-text/xournalpp/files/xournalpp-1.1.1-nostrip.patch31
-rw-r--r--app-text/xournalpp/files/xournalpp-1.2.3-nocompress.patch36
-rw-r--r--app-text/xournalpp/files/xournalpp-1.2.8-lua.patch12
-rw-r--r--app-text/xournalpp/metadata.xml10
-rw-r--r--app-text/xournalpp/xournalpp-1.2.8.ebuild66
-rw-r--r--app-text/xournalpp/xournalpp-1.3.4.ebuild76
-rw-r--r--app-text/xournalpp/xournalpp-9999.ebuild76
8 files changed, 0 insertions, 309 deletions
diff --git a/app-text/xournalpp/Manifest b/app-text/xournalpp/Manifest
deleted file mode 100644
index a35f91e5206e..000000000000
--- a/app-text/xournalpp/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST xournalpp-1.2.8.tgz 16874174 BLAKE2B 3ee0b3a244bb472e694424aa26f7d72e8fbc11c2864c63b0580cb9f10a2d89c61e50121f52b23d53aacd273c304964d496a17f382a2f1d842f9d2866584ebba3 SHA512 1f9e7e80b62728043d09db00d9c0ec1e827c2ee4ebc196269c18155240fa47d72f367fc0f40fe41e22044518e23fe4c5360c6e24bdc9d100506ed871998b6998
-DIST xournalpp-1.3.4.tgz 17163334 BLAKE2B dff7edbc420b4d3348f7bce8e5f372d892e0ff779afcf590d68793b67209aa30f3f156d762be820d1e4a92272f3259ef9d9e13f3a20e0bd30d154fd85ceb0aa6 SHA512 bc2c925d084722d3418b3de0c0131518fa2dab1563acd6636ab3a2c5a358962e71feea339a248341f57cadf83733a1f0532f0993287da9d56eb9b0e5ab203578
diff --git a/app-text/xournalpp/files/xournalpp-1.1.1-nostrip.patch b/app-text/xournalpp/files/xournalpp-1.1.1-nostrip.patch
deleted file mode 100644
index 0698bc443fda..000000000000
--- a/app-text/xournalpp/files/xournalpp-1.1.1-nostrip.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 9686113b760cf5838a63ba6bee438ec3b7ab99e8 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org>
-Date: Sat, 26 Feb 2022 19:01:17 +0100
-Subject: [PATCH 1/2] Do not explicitly strip the thumbnailer (why?)
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
----
- src/xoj-preview-extractor/CMakeLists.txt | 4 ----
- 1 file changed, 4 deletions(-)
-
-diff --git a/src/xoj-preview-extractor/CMakeLists.txt b/src/xoj-preview-extractor/CMakeLists.txt
-index 50d1b410..b653d983 100644
---- a/src/xoj-preview-extractor/CMakeLists.txt
-+++ b/src/xoj-preview-extractor/CMakeLists.txt
-@@ -41,10 +41,6 @@ target_include_directories (xournalpp-thumbnailer PRIVATE ${librsvg_INCLUDE_DIRS
-
- set (THUMBNAILER_BIN "xournalpp-thumbnailer")
-
--add_custom_command (TARGET xournalpp-thumbnailer POST_BUILD
-- COMMAND ${CMAKE_STRIP} ${THUMBNAILER_BIN}
--)
--
- ## Install ##
-
- install (TARGETS xournalpp-thumbnailer
---
-2.34.1
-
diff --git a/app-text/xournalpp/files/xournalpp-1.2.3-nocompress.patch b/app-text/xournalpp/files/xournalpp-1.2.3-nocompress.patch
deleted file mode 100644
index df77cc00f745..000000000000
--- a/app-text/xournalpp/files/xournalpp-1.2.3-nocompress.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
-index 1cb6bb5b..af069dca 100644
---- a/man/CMakeLists.txt
-+++ b/man/CMakeLists.txt
-@@ -12,27 +12,23 @@ mark_as_advanced(HELP2MAN)
- if (HELP2MAN)
- set(MAN_INCLUDE "${PROJECT_SOURCE_DIR}/man/extra.groff")
- set(MAN_PAGE "${CMAKE_CURRENT_BINARY_DIR}/xournalpp.1")
-- set(MAN_FILE "${CMAKE_CURRENT_BINARY_DIR}/xournalpp.1.gz")
-
- add_custom_command(
-- OUTPUT ${MAN_FILE}
-+ OUTPUT ${MAN_PAGE}
- COMMAND ${HELP2MAN} --no-info -i ${MAN_INCLUDE} -o ${MAN_PAGE} --version-string=${PROJECT_VERSION} --name="open-source hand note-taking program" ${CMAKE_BINARY_DIR}/xournalpp
-- COMMAND gzip -n -f -9 ${MAN_PAGE}
- DEPENDS ${CMAKE_BINARY_DIR}/xournalpp
- )
-
- set(MAN_PAGE_THUMBNAILER "${CMAKE_CURRENT_BINARY_DIR}/xournalpp-thumbnailer.1")
-- set(MAN_FILE_THUMBNAILER "${CMAKE_CURRENT_BINARY_DIR}/xournalpp-thumbnailer.1.gz")
-
- add_custom_command(
-- OUTPUT ${MAN_FILE_THUMBNAILER}
-+ OUTPUT ${MAN_PAGE_THUMBNAILER}
- COMMAND ${HELP2MAN} --no-info --no-discard-stderr -o ${MAN_PAGE_THUMBNAILER} --version-string=${PROJECT_VERSION} --name="creates thumbnails" ${CMAKE_BINARY_DIR}/src/xoj-preview-extractor/xournalpp-thumbnailer
-- COMMAND gzip -n -f -9 ${MAN_PAGE_THUMBNAILER}
- DEPENDS ${CMAKE_BINARY_DIR}/src/xoj-preview-extractor/xournalpp-thumbnailer
- )
-
-- add_custom_target(manpage ALL DEPENDS ${MAN_FILE} ${MAN_FILE_THUMBNAILER})
-- install(FILES ${MAN_FILE} ${MAN_FILE_THUMBNAILER} DESTINATION "share/man/man1")
-+ add_custom_target(manpage ALL DEPENDS ${MAN_PAGE} ${MAN_PAGE_THUMBNAILER})
-+ install(FILES ${MAN_PAGE} ${MAN_PAGE_THUMBNAILER} DESTINATION "share/man/man1")
- else(HELP2MAN)
- message("help2man is missing; no man pages will be generated")
- endif(HELP2MAN)
diff --git a/app-text/xournalpp/files/xournalpp-1.2.8-lua.patch b/app-text/xournalpp/files/xournalpp-1.2.8-lua.patch
deleted file mode 100644
index 24e5e8598b81..000000000000
--- a/app-text/xournalpp/files/xournalpp-1.2.8-lua.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff '--color=auto' -ruN xournalpp-1.2.8.orig/CMakeLists.txt xournalpp-1.2.8/CMakeLists.txt
---- xournalpp-1.2.8.orig/CMakeLists.txt 2025-10-17 22:29:38.032938951 +0200
-+++ xournalpp-1.2.8/CMakeLists.txt 2025-10-17 22:30:51.683943411 +0200
-@@ -147,7 +147,7 @@
- option(ENABLE_PLUGINS "Compile with plugin support" ON)
- if (ENABLE_PLUGINS)
- message(STATUS "Enable Xournal++ Plugins")
-- find_package(Lua REQUIRED)
-+ find_package(Lua ${LUA_VERSION} EXACT REQUIRED)
- add_library(lua INTERFACE)
- target_link_libraries(lua INTERFACE ${LUA_LIBRARIES})
- target_include_directories(lua INTERFACE ${LUA_INCLUDE_DIR})
diff --git a/app-text/xournalpp/metadata.xml b/app-text/xournalpp/metadata.xml
deleted file mode 100644
index cece50a82eb0..000000000000
--- a/app-text/xournalpp/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>dilfridge@gentoo.org</email>
- </maintainer>
- <upstream>
- <remote-id type="github">xournalpp/xournalpp</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/app-text/xournalpp/xournalpp-1.2.8.ebuild b/app-text/xournalpp/xournalpp-1.2.8.ebuild
deleted file mode 100644
index d616b27f4eb0..000000000000
--- a/app-text/xournalpp/xournalpp-1.2.8.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{1,3,4} luajit )
-inherit cmake lua-single xdg
-
-if [[ ${PV} == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/xournalpp/xournalpp.git"
-else
- SRC_URI="https://github.com/xournalpp/xournalpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tgz"
- KEYWORDS="amd64 ~ppc64"
-fi
-
-DESCRIPTION="Handwriting notetaking software with PDF annotation support"
-HOMEPAGE="https://github.com/xournalpp/xournalpp"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="test"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
- ${LUA_DEPS}
- app-text/poppler[cairo]
- >=dev-libs/glib-2.32.0
- dev-libs/libxml2:=
- >=dev-libs/libzip-1.0.1:=
- >=gnome-base/librsvg-2.40
- >=media-libs/portaudio-12[cxx]
- >=media-libs/libsndfile-1.0.25
- virtual/zlib:=
- >=x11-libs/gtk+-3.18.9:3
- >=x11-libs/gtksourceview-4.0
-"
-RDEPEND="${COMMON_DEPEND}"
-DEPEND="${COMMON_DEPEND}"
-BDEPEND="
- virtual/pkgconfig
- sys-apps/lsb-release
- test? ( dev-cpp/gtest )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.1.1-nostrip.patch"
- "${FILESDIR}/${PN}-1.2.3-nocompress.patch"
- "${FILESDIR}/${PN}-1.2.8-lua.patch"
-)
-
-src_configure() {
- local mycmakeargs=(
- -DLUA_VERSION="$(lua_get_version)"
- -DENABLE_GTEST=$(usex test)
- )
-
- cmake_src_configure
-}
-
-src_test() {
- # https://github.com/xournalpp/xournalpp/tree/master/test#problems-running-make-test
- eninja -C "${BUILD_DIR}" test-units
- cmake_src_test
-}
diff --git a/app-text/xournalpp/xournalpp-1.3.4.ebuild b/app-text/xournalpp/xournalpp-1.3.4.ebuild
deleted file mode 100644
index de6d9db0da2d..000000000000
--- a/app-text/xournalpp/xournalpp-1.3.4.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{1,3,4} luajit )
-inherit cmake lua-single xdg flag-o-matic
-
-if [[ ${PV} == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/xournalpp/xournalpp.git"
-else
- SRC_URI="https://github.com/xournalpp/xournalpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tgz"
- KEYWORDS="~amd64 ~ppc64"
-fi
-
-DESCRIPTION="Handwriting notetaking software with PDF annotation support"
-HOMEPAGE="https://github.com/xournalpp/xournalpp"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="debug sound test wayland"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
- ${LUA_DEPS}
- app-text/poppler[cairo]
- app-text/qpdf
- >=dev-libs/glib-2.32.0
- dev-libs/libxml2:=
- >=dev-libs/libzip-1.0.1:=
- >=gnome-base/librsvg-2.40
- virtual/zlib:=
- >=x11-libs/gtk+-3.18.9:3[wayland?,X]
- >=x11-libs/gtksourceview-4.0
- debug? ( dev-cpp/cpptrace )
- sound? ( >=media-libs/portaudio-12[cxx]
- >=media-libs/libsndfile-1.0.25 )
-"
-RDEPEND="${COMMON_DEPEND}"
-DEPEND="${COMMON_DEPEND}"
-BDEPEND="
- virtual/pkgconfig
- sys-apps/lsb-release
- test? ( dev-cpp/gtest )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.1.1-nostrip.patch"
- "${FILESDIR}/${PN}-1.2.8-lua.patch"
-)
-
-src_configure() {
- local mycmakeargs=(
- -DLUA_VERSION="$(lua_get_version)"
- -DMAN_COMPRESS=OFF
- -DENABLE_AUDIO=$(usex sound)
- -DENABLE_GTEST=$(usex test)
- -DENABLE_CPPTRACE=$(usex debug)
- )
-
- # bug 974936
- use debug && mycmakeargs+=( -DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS )
-
- # bug 957673
- use wayland || append-flags -DGENTOO_GTK_HIDE_WAYLAND
-
- cmake_src_configure
-}
-
-src_test() {
- # https://github.com/xournalpp/xournalpp/tree/master/test#problems-running-make-test
- eninja -C "${BUILD_DIR}" test-units
- cmake_src_test
-}
diff --git a/app-text/xournalpp/xournalpp-9999.ebuild b/app-text/xournalpp/xournalpp-9999.ebuild
deleted file mode 100644
index de6d9db0da2d..000000000000
--- a/app-text/xournalpp/xournalpp-9999.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{1,3,4} luajit )
-inherit cmake lua-single xdg flag-o-matic
-
-if [[ ${PV} == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/xournalpp/xournalpp.git"
-else
- SRC_URI="https://github.com/xournalpp/xournalpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tgz"
- KEYWORDS="~amd64 ~ppc64"
-fi
-
-DESCRIPTION="Handwriting notetaking software with PDF annotation support"
-HOMEPAGE="https://github.com/xournalpp/xournalpp"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="debug sound test wayland"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
- ${LUA_DEPS}
- app-text/poppler[cairo]
- app-text/qpdf
- >=dev-libs/glib-2.32.0
- dev-libs/libxml2:=
- >=dev-libs/libzip-1.0.1:=
- >=gnome-base/librsvg-2.40
- virtual/zlib:=
- >=x11-libs/gtk+-3.18.9:3[wayland?,X]
- >=x11-libs/gtksourceview-4.0
- debug? ( dev-cpp/cpptrace )
- sound? ( >=media-libs/portaudio-12[cxx]
- >=media-libs/libsndfile-1.0.25 )
-"
-RDEPEND="${COMMON_DEPEND}"
-DEPEND="${COMMON_DEPEND}"
-BDEPEND="
- virtual/pkgconfig
- sys-apps/lsb-release
- test? ( dev-cpp/gtest )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.1.1-nostrip.patch"
- "${FILESDIR}/${PN}-1.2.8-lua.patch"
-)
-
-src_configure() {
- local mycmakeargs=(
- -DLUA_VERSION="$(lua_get_version)"
- -DMAN_COMPRESS=OFF
- -DENABLE_AUDIO=$(usex sound)
- -DENABLE_GTEST=$(usex test)
- -DENABLE_CPPTRACE=$(usex debug)
- )
-
- # bug 974936
- use debug && mycmakeargs+=( -DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS )
-
- # bug 957673
- use wayland || append-flags -DGENTOO_GTK_HIDE_WAYLAND
-
- cmake_src_configure
-}
-
-src_test() {
- # https://github.com/xournalpp/xournalpp/tree/master/test#problems-running-make-test
- eninja -C "${BUILD_DIR}" test-units
- cmake_src_test
-}