* [gentoo-commits] repo/gentoo:master commit in: app-editors/texworks/files/, app-editors/texworks/
@ 2022-08-08 9:40 Andreas Sturmlechner
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2022-08-08 9:40 UTC (permalink / raw
To: gentoo-commits
commit: e47b52690e926d6709fa10ecdb23e71aa171074a
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 25 17:32:19 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Aug 8 09:40:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e47b5269
app-editors/texworks: drop 0.6.5-r100, 0.6.6
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
app-editors/texworks/Manifest | 2 -
app-editors/texworks/files/qt5.15-support.patch | 21 -------
app-editors/texworks/texworks-0.6.5-r100.ebuild | 78 -------------------------
app-editors/texworks/texworks-0.6.6.ebuild | 77 ------------------------
4 files changed, 178 deletions(-)
diff --git a/app-editors/texworks/Manifest b/app-editors/texworks/Manifest
index c13233cb56ae..59ca10e2c65d 100644
--- a/app-editors/texworks/Manifest
+++ b/app-editors/texworks/Manifest
@@ -1,3 +1 @@
-DIST texworks-0.6.5.tar.gz 12140935 BLAKE2B 660606fe2e53d5f2a53e80792efbee368f5f2f402ab974761efc6e11a6f2233fd04672dcc3bf0155a070162616c1d5a9c7313825890e6fb0c6c4dc7af2c62d29 SHA512 d97bb7c3ad7bbb402be80556027ef19076dae91bb9449df2b45d54e89b492e32b8d6f109d1bda9388424af6218866d84a8c296c9bc2ef644cf2fac0d4b24939e
-DIST texworks-0.6.6.tar.gz 12385550 BLAKE2B 241a9e4649e489964c62bd44ca310ffa7d67ebcb6187568dbf5e5b7916d81e3d846f0492a22e35d2c8a57d182d32d129600570e3836c671ae723c236f82d6bd8 SHA512 65300dfbe4e0e2f3b387c868e343f6caeff4602b47afee5a02cce82e0e23b74fe559b4b54fb65d778748de56f38581305a9b3a53d743c957b7dc14ecce4546d1
DIST texworks-0.6.7.tar.gz 12394465 BLAKE2B 0a2e0531ef0f296cd2be176baed14eb0c21733aeaf3ca3c43e3ff02e48bf68be8953db67f955db0b5a56676b391e2f7700404e9ea52907092d58cbbccaa02adf SHA512 b1c22c1f9bfae2595e77f0c98297cc690f62aac38125bb576d57cc3a0666d779e75af23ccf430a3547215065596b4ea60758233947cda06df8e1a7fc95c46b65
diff --git a/app-editors/texworks/files/qt5.15-support.patch b/app-editors/texworks/files/qt5.15-support.patch
deleted file mode 100644
index 9c77c157e463..000000000000
--- a/app-editors/texworks/files/qt5.15-support.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From a5352a3a94e3685125650b65e6197de060326cc2 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Stefan=20L=C3=B6ffler?= <st.loeffler@gmail.com>
-Date: Fri, 1 May 2020 08:05:46 +0200
-Subject: [PATCH] <QtPDF> Fix compilation with Qt 5.15
-
----
- modules/QtPDF/src/PDFBackend.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/modules/QtPDF/src/PDFBackend.cpp b/modules/QtPDF/src/PDFBackend.cpp
-index 0305d87a..500d20aa 100644
---- a/modules/QtPDF/src/PDFBackend.cpp
-+++ b/modules/QtPDF/src/PDFBackend.cpp
-@@ -14,6 +14,7 @@
-
- #include <PDFBackend.h>
- #include <QPainter>
-+#include <QPainterPath>
- #include <QApplication>
-
- namespace QtPDF {
diff --git a/app-editors/texworks/texworks-0.6.5-r100.ebuild b/app-editors/texworks/texworks-0.6.5-r100.ebuild
deleted file mode 100644
index 39f076553e6a..000000000000
--- a/app-editors/texworks/texworks-0.6.5-r100.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..3} )
-PYTHON_COMPAT=( python3_{7,8,9} )
-CMAKE_REMOVE_MODULES_LIST="FindLua"
-inherit lua-single python-single-r1 cmake virtualx xdg-utils
-
-DESCRIPTION="A simple interface for working with TeX documents"
-HOMEPAGE="http://tug.org/texworks/"
-SRC_URI="https://github.com/TeXworks/texworks/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="lua python"
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
- python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="app-text/hunspell:=
- app-text/poppler[qt5]
- dev-qt/designer:5
- dev-qt/qtcore:5
- dev-qt/qtconcurrent:5
- dev-qt/qtdbus:5
- dev-qt/qtgui:5
- dev-qt/qtscript:5[scripttools]
- lua? ( ${LUA_DEPS} )
- python? ( ${PYTHON_DEPS} ) "
-
-DEPEND="dev-qt/linguist-tools:5
- ${RDEPEND}"
-
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/qt5.15-support.patch
- "${FILESDIR}"/${PN}-0.6.5-cmake_lua_version.patch
-)
-
-S=${WORKDIR}/${PN}-release-${PV}
-
-RESTRICT="!test? ( test )"
-
-pkg_setup() {
- use lua && lua-single_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_configure() {
- local mycmakeargs=(
- -Wno-dev
- -DPREFER_BUNDLED_SYNCTEX=ON
- -DWITH_LUA=$(usex lua ON OFF)
- -DWITH_PYTHON=$(usex python ON OFF)
- -DTeXworks_PLUGIN_DIR="/usr/$(get_libdir)/texworks"
- -DTeXworks_DOCS_DIR="/share/doc/${PF}"
- -DQTPDF_VIEWER=ON
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_SHARED_PLUGINS=ON
- )
- use lua && mycmakeargs+=( -DLUA_VERSION="$(lua_get_version)" )
- cmake_src_configure
-}
-
-src_test() {
- virtx default_src_test
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
-}
diff --git a/app-editors/texworks/texworks-0.6.6.ebuild b/app-editors/texworks/texworks-0.6.6.ebuild
deleted file mode 100644
index f7b5f65191f8..000000000000
--- a/app-editors/texworks/texworks-0.6.6.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..3} )
-PYTHON_COMPAT=( python3_{7,8,9} )
-CMAKE_REMOVE_MODULES_LIST="FindLua"
-inherit lua-single python-single-r1 cmake virtualx xdg-utils
-
-DESCRIPTION="A simple interface for working with TeX documents"
-HOMEPAGE="http://tug.org/texworks/"
-SRC_URI="https://github.com/TeXworks/texworks/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
-IUSE="lua python"
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
- python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="app-text/hunspell:=
- app-text/poppler[qt5]
- dev-qt/designer:5
- dev-qt/qtcore:5
- dev-qt/qtconcurrent:5
- dev-qt/qtdbus:5
- dev-qt/qtgui:5
- dev-qt/qtscript:5[scripttools]
- lua? ( ${LUA_DEPS} )
- python? ( ${PYTHON_DEPS} ) "
-
-DEPEND="dev-qt/linguist-tools:5
- ${RDEPEND}"
-
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.6.5-cmake_lua_version.patch
-)
-
-S=${WORKDIR}/${PN}-release-${PV}
-
-RESTRICT="!test? ( test )"
-
-pkg_setup() {
- use lua && lua-single_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_configure() {
- local mycmakeargs=(
- -Wno-dev
- -DPREFER_BUNDLED_SYNCTEX=ON
- -DWITH_LUA=$(usex lua ON OFF)
- -DWITH_PYTHON=$(usex python ON OFF)
- -DTeXworks_PLUGIN_DIR="/usr/$(get_libdir)/texworks"
- -DTeXworks_DOCS_DIR="/share/doc/${PF}"
- -DQTPDF_VIEWER=ON
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_SHARED_PLUGINS=ON
- )
- use lua && mycmakeargs+=( -DLUA_VERSION="$(lua_get_version)" )
- cmake_src_configure
-}
-
-src_test() {
- virtx default_src_test
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-editors/texworks/files/, app-editors/texworks/
@ 2023-08-14 6:13 Joonas Niilola
0 siblings, 0 replies; 3+ messages in thread
From: Joonas Niilola @ 2023-08-14 6:13 UTC (permalink / raw
To: gentoo-commits
commit: 23b895cb15a8abc0cb5263d3ff18e8ca10d9c25b
Author: Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Sun Jul 23 15:39:44 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Aug 14 06:13:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23b895cb
app-editors/texworks: Fix call to undeclared function vasprintf
Closes: https://bugs.gentoo.org/882461
Signed-off-by: Brahmajit Das <brahmajit.xyz <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32003
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
.../texworks-0.6.7-vasprintf-clang16-fix.patch | 12 ++++
app-editors/texworks/texworks-0.6.7-r1.ebuild | 76 ++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/app-editors/texworks/files/texworks-0.6.7-vasprintf-clang16-fix.patch b/app-editors/texworks/files/texworks-0.6.7-vasprintf-clang16-fix.patch
new file mode 100644
index 000000000000..ce8e9e2daca0
--- /dev/null
+++ b/app-editors/texworks/files/texworks-0.6.7-vasprintf-clang16-fix.patch
@@ -0,0 +1,12 @@
+Bug: https://bugs.gentoo.org/882461
+Reverting commit ccf692bb38c43a38f8e9f755dd48451c6f6ad430
+--- a/modules/synctex/CMakeLists.txt
++++ b/modules/synctex/CMakeLists.txt
+@@ -26,6 +26,4 @@ endif()
+
+ # SyncTeX uses vasprintf which is not in POSIX; thus gcc prints a warning unless
+ # _GNU_SOURCE is defined. Other compilers seem to be fine.
+-if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
+- target_compile_definitions(SyncTeX PRIVATE _GNU_SOURCE)
+-endif()
++target_compile_definitions(SyncTeX PRIVATE _GNU_SOURCE)
diff --git a/app-editors/texworks/texworks-0.6.7-r1.ebuild b/app-editors/texworks/texworks-0.6.7-r1.ebuild
new file mode 100644
index 000000000000..c8492a170faa
--- /dev/null
+++ b/app-editors/texworks/texworks-0.6.7-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..3} )
+PYTHON_COMPAT=( python3_{9..11} )
+CMAKE_REMOVE_MODULES_LIST=( FindLua )
+inherit lua-single python-single-r1 cmake virtualx xdg
+
+DESCRIPTION="A simple interface for working with TeX documents"
+HOMEPAGE="http://tug.org/texworks/"
+SRC_URI="https://github.com/TeXworks/texworks/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-release-${PV}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="lua python"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ lua? ( ${LUA_REQUIRED_USE} )
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+RDEPEND="app-text/hunspell:=
+ app-text/poppler[qt5]
+ dev-qt/designer:5
+ dev-qt/qtcore:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtscript:5[scripttools]
+ dev-qt/qtwidgets:5
+ sys-libs/zlib
+ lua? ( ${LUA_DEPS} )
+ python? ( ${PYTHON_DEPS} ) "
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.6.5-cmake_lua_version.patch
+ "${FILESDIR}"/${PN}-0.6.7-vasprintf-clang16-fix.patch
+)
+
+pkg_setup() {
+ use lua && lua-single_pkg_setup
+
+ python-single-r1_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -Wno-dev
+
+ -DPREFER_BUNDLED_SYNCTEX=ON
+ -DWITH_LUA=$(usex lua)
+ -DWITH_PYTHON=$(usex python)
+ -DWITH_TESTS=$(usex test)
+ -DTeXworks_PLUGIN_DIR="/usr/$(get_libdir)/texworks"
+ -DTeXworks_DOCS_DIR="/share/doc/${PF}"
+ -DQTPDF_VIEWER=ON
+ -DBUILD_SHARED_PLUGINS=ON
+ )
+
+ use lua && mycmakeargs+=( -DLUA_VERSION="$(lua_get_version)" )
+
+ cmake_src_configure
+}
+
+src_test() {
+ virtx cmake_src_test
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-editors/texworks/files/, app-editors/texworks/
@ 2023-11-11 22:09 Andreas Sturmlechner
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2023-11-11 22:09 UTC (permalink / raw
To: gentoo-commits
commit: dc4226c0402b1c1da4bede7fa37452c0f9643b38
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 11 21:21:38 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Nov 11 22:09:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc4226c0
app-editors/texworks: drop 0.6.7-r1
Closes: https://bugs.gentoo.org/915783
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
app-editors/texworks/Manifest | 1 -
.../texworks-0.6.7-vasprintf-clang16-fix.patch | 12 ----
app-editors/texworks/texworks-0.6.7-r1.ebuild | 76 ----------------------
3 files changed, 89 deletions(-)
diff --git a/app-editors/texworks/Manifest b/app-editors/texworks/Manifest
index eba2967aa0d0..a5b724486bf8 100644
--- a/app-editors/texworks/Manifest
+++ b/app-editors/texworks/Manifest
@@ -1,2 +1 @@
-DIST texworks-0.6.7.tar.gz 12394465 BLAKE2B 0a2e0531ef0f296cd2be176baed14eb0c21733aeaf3ca3c43e3ff02e48bf68be8953db67f955db0b5a56676b391e2f7700404e9ea52907092d58cbbccaa02adf SHA512 b1c22c1f9bfae2595e77f0c98297cc690f62aac38125bb576d57cc3a0666d779e75af23ccf430a3547215065596b4ea60758233947cda06df8e1a7fc95c46b65
DIST texworks-0.6.8.tar.gz 12486607 BLAKE2B a7de78adc0746c57b721a400a704d3912574933604e01124a99f5a60ba377ba66ce8d57f5f0a87e336de715d981146db6b8ae61a78c744b385c698fcdad2f7fe SHA512 23164f9ab2f611a705b533f4c435891f1279d1e0e0de2d7f947864f8919a6513cb696881dc1dcf93345471599f113d264ced57cbd2dceae343b9dde46ee80482
diff --git a/app-editors/texworks/files/texworks-0.6.7-vasprintf-clang16-fix.patch b/app-editors/texworks/files/texworks-0.6.7-vasprintf-clang16-fix.patch
deleted file mode 100644
index ce8e9e2daca0..000000000000
--- a/app-editors/texworks/files/texworks-0.6.7-vasprintf-clang16-fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Bug: https://bugs.gentoo.org/882461
-Reverting commit ccf692bb38c43a38f8e9f755dd48451c6f6ad430
---- a/modules/synctex/CMakeLists.txt
-+++ b/modules/synctex/CMakeLists.txt
-@@ -26,6 +26,4 @@ endif()
-
- # SyncTeX uses vasprintf which is not in POSIX; thus gcc prints a warning unless
- # _GNU_SOURCE is defined. Other compilers seem to be fine.
--if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
-- target_compile_definitions(SyncTeX PRIVATE _GNU_SOURCE)
--endif()
-+target_compile_definitions(SyncTeX PRIVATE _GNU_SOURCE)
diff --git a/app-editors/texworks/texworks-0.6.7-r1.ebuild b/app-editors/texworks/texworks-0.6.7-r1.ebuild
deleted file mode 100644
index 82e392d2582f..000000000000
--- a/app-editors/texworks/texworks-0.6.7-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{1..3} )
-PYTHON_COMPAT=( python3_{9..11} )
-CMAKE_REMOVE_MODULES_LIST=( FindLua )
-inherit lua-single python-single-r1 cmake virtualx xdg
-
-DESCRIPTION="A simple interface for working with TeX documents"
-HOMEPAGE="http://tug.org/texworks/"
-SRC_URI="https://github.com/TeXworks/texworks/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}"/${PN}-release-${PV}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~riscv x86"
-IUSE="lua python"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- lua? ( ${LUA_REQUIRED_USE} )
- python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-RDEPEND="app-text/hunspell:=
- app-text/poppler[qt5]
- dev-qt/designer:5
- dev-qt/qtcore:5
- dev-qt/qtconcurrent:5
- dev-qt/qtdeclarative:5
- dev-qt/qtdbus:5
- dev-qt/qtgui:5
- dev-qt/qtscript:5[scripttools]
- dev-qt/qtwidgets:5
- sys-libs/zlib
- lua? ( ${LUA_DEPS} )
- python? ( ${PYTHON_DEPS} ) "
-DEPEND="${RDEPEND}"
-BDEPEND="dev-qt/linguist-tools:5
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.6.5-cmake_lua_version.patch
- "${FILESDIR}"/${PN}-0.6.7-vasprintf-clang16-fix.patch
-)
-
-pkg_setup() {
- use lua && lua-single_pkg_setup
-
- python-single-r1_pkg_setup
-}
-
-src_configure() {
- local mycmakeargs=(
- -Wno-dev
-
- -DPREFER_BUNDLED_SYNCTEX=ON
- -DWITH_LUA=$(usex lua)
- -DWITH_PYTHON=$(usex python)
- -DWITH_TESTS=$(usex test)
- -DTeXworks_PLUGIN_DIR="/usr/$(get_libdir)/texworks"
- -DTeXworks_DOCS_DIR="/share/doc/${PF}"
- -DQTPDF_VIEWER=ON
- -DBUILD_SHARED_PLUGINS=ON
- )
-
- use lua && mycmakeargs+=( -DLUA_VERSION="$(lua_get_version)" )
-
- cmake_src_configure
-}
-
-src_test() {
- virtx cmake_src_test
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-11 22:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-14 6:13 [gentoo-commits] repo/gentoo:master commit in: app-editors/texworks/files/, app-editors/texworks/ Joonas Niilola
-- strict thread matches above, loose matches on Subject: below --
2023-11-11 22:09 Andreas Sturmlechner
2022-08-08 9:40 Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox