From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 853ED138350 for ; Sat, 22 Feb 2020 20:13:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77932E0858; Sat, 22 Feb 2020 20:13:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1C262E0858 for ; Sat, 22 Feb 2020 20:13:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 96DC134EEE4 for ; Sat, 22 Feb 2020 20:13:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 23D3C14F for ; Sat, 22 Feb 2020 20:13:14 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1582402369.e970b2759903a131cff64313e547b7b4d6e0d51c.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/xournalpp/files/, app-text/xournalpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/xournalpp/Manifest app-text/xournalpp/files/xournalpp-1.0.17-translations.patch app-text/xournalpp/metadata.xml app-text/xournalpp/xournalpp-1.0.17.ebuild app-text/xournalpp/xournalpp-9999.ebuild X-VCS-Directories: app-text/xournalpp/ app-text/xournalpp/files/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: e970b2759903a131cff64313e547b7b4d6e0d51c X-VCS-Branch: master Date: Sat, 22 Feb 2020 20:13:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b43a3aaf-d292-4a8e-a749-1e282eaf40be X-Archives-Hash: e989acc0b4f6c16f4aeaa432a9a753da commit: e970b2759903a131cff64313e547b7b4d6e0d51c Author: Andreas K. Huettel gentoo org> AuthorDate: Sat Feb 22 20:12:49 2020 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Feb 22 20:12:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e970b275 app-text/xournalpp: New package Package-Manager: Portage-2.3.84, Repoman-2.3.20 Closes: https://github.com/gentoo/gentoo/pull/14744 Signed-off-by: Andreas K. Huettel gentoo.org> Signed-off-by: David Seifert gentoo.org> app-text/xournalpp/Manifest | 1 + .../files/xournalpp-1.0.17-translations.patch | 24 +++++++++++ app-text/xournalpp/metadata.xml | 7 ++++ app-text/xournalpp/xournalpp-1.0.17.ebuild | 49 ++++++++++++++++++++++ app-text/xournalpp/xournalpp-9999.ebuild | 45 ++++++++++++++++++++ 5 files changed, 126 insertions(+) diff --git a/app-text/xournalpp/Manifest b/app-text/xournalpp/Manifest new file mode 100644 index 00000000000..24b899ea999 --- /dev/null +++ b/app-text/xournalpp/Manifest @@ -0,0 +1 @@ +DIST xournalpp-1.0.17.tgz 14885382 BLAKE2B 501feb4480eee5aa38cc148f561d6c730505e43fd5d8017936f4b1d15f1b83ae936eb0a2e81b9889c668f9ed0a9c46b9053c984d45815c88829b023b7dbbd209 SHA512 cc3568ce22fd42f0e8458f1428c102d2fc18a9650d8c5968cadd6693fc19374780beb3c7f6206f2f494439296a883b2a5160da37e3a0e10d6fe3654084967ab9 diff --git a/app-text/xournalpp/files/xournalpp-1.0.17-translations.patch b/app-text/xournalpp/files/xournalpp-1.0.17-translations.patch new file mode 100644 index 00000000000..95283b01400 --- /dev/null +++ b/app-text/xournalpp/files/xournalpp-1.0.17-translations.patch @@ -0,0 +1,24 @@ +From 12387b01a1c7e529580c6f27e92dad3e8b4f9858 Mon Sep 17 00:00:00 2001 +From: Bryan Tan +Date: Fri, 7 Feb 2020 19:47:18 -0800 +Subject: [PATCH] Fix translation target + +- Do not modify po files in place +- Always build translations +--- + po/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt +index f957a199d..73ce0f04f 100644 +--- a/po/CMakeLists.txt ++++ b/po/CMakeLists.txt +@@ -20,7 +20,7 @@ if (XGETTEXT_FOUND) + "${PROJECT_SOURCE_DIR}/ui/*.glade" + ) + +- gettext_create_translations ("${potfile}") ++ gettext_create_translations ("${potfile}" ALL NOUPDATE) + + else (XGETTEXT_FOUND) + message (ERROR "Gettext not found!") diff --git a/app-text/xournalpp/metadata.xml b/app-text/xournalpp/metadata.xml new file mode 100644 index 00000000000..b1dfcefdcde --- /dev/null +++ b/app-text/xournalpp/metadata.xml @@ -0,0 +1,7 @@ + + + + + dilfridge@gentoo.org + + diff --git a/app-text/xournalpp/xournalpp-1.0.17.ebuild b/app-text/xournalpp/xournalpp-1.0.17.ebuild new file mode 100644 index 00000000000..4dac69f10a5 --- /dev/null +++ b/app-text/xournalpp/xournalpp-1.0.17.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils xdg + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/xournalpp/xournalpp.git" + unset SRC_URI +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/xournalpp/xournalpp/archive/${PV}.tar.gz -> ${P}.tgz" +fi + +DESCRIPTION="Handwriting notetaking software with PDF annotation support" +HOMEPAGE="https://github.com/xournalpp/xournalpp" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +COMMONDEPEND=" + app-text/poppler + dev-libs/glib + dev-libs/libxml2 + dev-libs/libzip:= + media-libs/portaudio + media-libs/libsndfile + sys-libs/zlib:= + x11-libs/gtk+:3 +" +RDEPEND="${COMMONDEPEND} +" +DEPEND="${COMMONDEPEND} +" +BDEPEND=" + virtual/pkgconfig + sys-apps/lsb-release +" + +PATCHES=( + "${FILESDIR}/${P}-translations.patch" +) + +src_prepare() { + cmake-utils_src_prepare +} diff --git a/app-text/xournalpp/xournalpp-9999.ebuild b/app-text/xournalpp/xournalpp-9999.ebuild new file mode 100644 index 00000000000..6cb1258352c --- /dev/null +++ b/app-text/xournalpp/xournalpp-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils xdg + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/xournalpp/xournalpp.git" + unset SRC_URI +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/xournalpp/xournalpp/archive/${PV}.tar.gz -> ${P}.tgz" +fi + +DESCRIPTION="Handwriting notetaking software with PDF annotation support" +HOMEPAGE="https://github.com/xournalpp/xournalpp" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +COMMONDEPEND=" + app-text/poppler + dev-libs/glib + dev-libs/libxml2 + dev-libs/libzip:= + media-libs/portaudio + media-libs/libsndfile + sys-libs/zlib:= + x11-libs/gtk+:3 +" +RDEPEND="${COMMONDEPEND} +" +DEPEND="${COMMONDEPEND} +" +BDEPEND=" + virtual/pkgconfig + sys-apps/lsb-release +" + +src_prepare() { + cmake-utils_src_prepare +}