public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-crypt/xca/, app-crypt/xca/files/
@ 2018-05-26  9:34 Alon Bar-Lev
  0 siblings, 0 replies; 4+ messages in thread
From: Alon Bar-Lev @ 2018-05-26  9:34 UTC (permalink / raw
  To: gentoo-commits

commit:     6ed75224928e4bf7cf2ae461aa1f1d14df18ac24
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat May 26 08:52:38 2018 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat May 26 09:34:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ed75224

app-crypt/xca: cleanup

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-crypt/xca/Manifest                    |   2 -
 app-crypt/xca/files/xca-1.3.2-build.patch | 180 ------------------------------
 app-crypt/xca/xca-1.3.2-r2.ebuild         |  56 ----------
 app-crypt/xca/xca-1.4.0.ebuild            |  46 --------
 4 files changed, 284 deletions(-)

diff --git a/app-crypt/xca/Manifest b/app-crypt/xca/Manifest
index acafec0a9b2..5cbb5a8bd5d 100644
--- a/app-crypt/xca/Manifest
+++ b/app-crypt/xca/Manifest
@@ -1,3 +1 @@
-DIST xca-1.3.2.tar.gz 897947 BLAKE2B b12cc95c908187d78304ce93111c89bb8e0dc01ecab37e0ad1bd78f84a90ed9f44afa4ac35d22185b7018e238b476e496fca3c2b3a240bf654d2e5160e784b11 SHA512 f0a9c4d47f0c20632f44364cc55293a7d2152772a746a72bc4a46622da4e48ae612bafe918c098a71c29cdfca8e6c03c27cf85a862ca0f356eddf061414c89b2
-DIST xca-1.4.0.tar.gz 940245 BLAKE2B 1f0c9d72b647fa803c2b6b6019b0b9828f37b1d38d89838ac6102d560b1c930c0f962e9064d984540b0c8e14d7546529af978673955555283afa1f089af7ce7c SHA512 b220adc7551cf853037c4f5ef0cdd8eef1dda44d0fde634cfde35605396b988452bdbc97a60459911f663d6d6977d426f27f47a46a482d1a30331ac06862c1c9
 DIST xca-1.4.1.tar.gz 959107 BLAKE2B 7437cdbaa5277998de200e9a5ad3a7d44aed9ae8af8fd926d7ed1917d49bec79562455ca2e82557149d748840f299ffd66edfc7f265be7d5bdcd6e4fe8dbaf9b SHA512 8294669c4887ba7a9060c3c2c06014b8a1807898569842ed61c066e8a864de014fba51a2ff867b579048083fdd4934cc7f97c92268de4944bf4aafea9c2e7b42

diff --git a/app-crypt/xca/files/xca-1.3.2-build.patch b/app-crypt/xca/files/xca-1.3.2-build.patch
deleted file mode 100644
index 9ca8a670da3..00000000000
--- a/app-crypt/xca/files/xca-1.3.2-build.patch
+++ /dev/null
@@ -1,180 +0,0 @@
-From 476aa73644e6b3d353a1ed1cf3982e7114875088 Mon Sep 17 00:00:00 2001
-From: Alon Bar-Lev <alon.barlev@gmail.com>
-Date: Fri, 3 Jun 2016 23:15:29 +0300
-Subject: [PATCH 1/2] build: add --with-qt-version to force specific qt linkage
-
-Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
----
- configure.ac | 43 ++++++++++++++++++++++++++++---------------
- 1 file changed, 28 insertions(+), 15 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 32ba42b..8490a88 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -90,18 +90,28 @@ if test -n "${_QTDIR}" && test -d "${_QTDIR}"; then
-   DYLD_LIBRARY_PATH="${_QTDIR}/lib:${DYLD_LIBRARY_PATH}"
- fi
- 
--PKG_CHECK_MODULES(Qt5, [Qt5Core >= 5.0, Qt5Widgets >= 5.0], [
--  _QT_HOST_BINS="`pkg-config --variable=host_bins Qt5Core`"
--  QT_MOC="${_QT_HOST_BINS}/moc"
--  QT_UIC="${_QT_HOST_BINS}/uic"
--  if test -n "$DARWIN"; then
--    FRAMEDIR=`pkg-config --variable=libdir Qt5Core`
--    Qt5_CFLAGS="$Qt5_CFLAGS -F${FRAMEDIR} -I${FRAMEDIR}/QtCore.framework/Headers -I${FRAMEDIR}/QtGui.framework/Headers -I${FRAMEDIR}/QtWdgets.framework/Headers"
--  fi
--  QT_VERSION=5
--  QT_CFLAGS="${Qt5_CFLAGS} -fPIC"
--  QT_LIBS="${Qt5_LIBS}"
--], [
-+AC_ARG_WITH([qt-version],
-+  AS_HELP_STRING([--with-qt-version], [Select the Qt version]),
-+  [WANT_QT_VERSION="$withval"],
-+  [WANT_QT_VERSION=detect])
-+
-+if test "${WANT_QT_VERSION}" = detect -o "${WANT_QT_VERSION}" = 5; then
-+  PKG_CHECK_MODULES(Qt5, [Qt5Core >= 5.0, Qt5Widgets >= 5.0], [
-+    _QT_HOST_BINS="`pkg-config --variable=host_bins Qt5Core`"
-+    QT_MOC="${_QT_HOST_BINS}/moc"
-+    QT_UIC="${_QT_HOST_BINS}/uic"
-+    if test -n "$DARWIN"; then
-+      FRAMEDIR=`pkg-config --variable=libdir Qt5Core`
-+      Qt5_CFLAGS="$Qt5_CFLAGS -F${FRAMEDIR} -I${FRAMEDIR}/QtCore.framework/Headers -I${FRAMEDIR}/QtGui.framework/Headers -I${FRAMEDIR}/QtWdgets.framework/Headers"
-+    fi
-+    WANT_QT_VERSION=5
-+    QT_VERSION=5
-+    QT_CFLAGS="${Qt5_CFLAGS} -fPIC"
-+    QT_LIBS="${Qt5_LIBS}"
-+])
-+fi
-+
-+if test "${WANT_QT_VERSION}" = detect -o "${WANT_QT_VERSION}" = 4; then
-   PKG_CHECK_MODULES(Qt4, [QtCore >= 4.6, QtCore < 5.0, QtGui >= 4.6, QtGui < 5.0], [
-     QT_MOC="`pkg-config --variable=moc_location QtCore`"
-     QT_UIC="`pkg-config --variable=uic_location QtCore`"
-@@ -112,18 +122,21 @@ PKG_CHECK_MODULES(Qt5, [Qt5Core >= 5.0, Qt5Widgets >= 5.0], [
-       FRAMEDIR=`pkg-config --variable=libdir QtCore`
-       Qt4_CFLAGS="$Qt4_CFLAGS -F${FRAMEDIR} -I${FRAMEDIR}/QtCore.framework/Headers -I${FRAMEDIR}/QtGui.framework/Headers"
-     fi
-+    WANT_QT_VERSION=4
-     QT_VERSION=4
-     QT_CFLAGS="${Qt4_CFLAGS}"
-     QT_LIBS="${Qt4_LIBS}"
--  ], [
-+  ])
-+fi
-+
-+if test -z "${QT_VERSION}"; then
-     if test -z "$DARWIN"; then
-       QT_LIBS=" -lQtCore -lQtGui "
-     else
-       QT_LIBS=" -framework QtGui -framework QtCore "
-     fi
-     AC_MSG_WARN([Qt pkg-config failed, using fallback defaults (${QT_LIBS})]);
--  ])
--])
-+fi
- 
- AC_SUBST([QT_CFLAGS])
- AC_SUBST([QT_LIBS])
--- 
-2.7.3
-
-From 7112df9532f71cb3a150fef61b2d7e5d9899634c Mon Sep 17 00:00:00 2001
-From: Alon Bar-Lev <alon.barlev@gmail.com>
-Date: Fri, 3 Jun 2016 23:58:01 +0300
-Subject: [PATCH 2/2] build: add --disable-doc to disable doc installation
-
----
- Local.mak.in |  1 +
- configure.ac | 37 +++++++++++++++++++++++--------------
- doc/Makefile | 10 +++++-----
- 3 files changed, 29 insertions(+), 19 deletions(-)
-
-diff --git a/Local.mak.in b/Local.mak.in
-index cd5ebfc..d993b8b 100644
---- a/Local.mak.in
-+++ b/Local.mak.in
-@@ -19,6 +19,7 @@ STRIP=@STRIP@
- DOCTOOL=@DOCTOOL@
- MACDEPLOYQT=@MACDEPLOYQT@
- DARWIN=@DARWIN@
-+ENABLE_DOC=@ENABLE_DOC@
- 
- PACKAGE_TARNAME=@PACKAGE_TARNAME@
- HOST=linux
-diff --git a/configure.ac b/configure.ac
-index 8490a88..03d729e 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -202,20 +202,29 @@ AX_CHECK_GNU_MAKE()
- 
- # linuxdoc application detection
- ##################################
--AC_CHECK_PROGS([DOCTOOL], [linuxdoc sgml2html], [":"])
--AC_SUBST([DOCTOOL])
--
--case "$DOCTOOL" in
-- linuxdoc) DOCTOOL="linuxdoc -B html";;
-- sgml2html) DOCTOOL="sgml2html -s 1";;
-- :)
--  if test "${srcdir}" != "."; then
--    mkdir -p doc
--    cp ${srcdir}/doc/xca-doc.tgz doc/
--  fi
--  AC_MSG_WARN(['linuxdoc' or 'sgml2html' not found, using pre-compiled documentation])
--  ;;
--esac
-+AC_ARG_ENABLE([doc],
-+  AS_HELP_STRING([--disable-doc], [Disable documentation installation]),
-+  ,
-+  [enable_doc=yes])
-+test "${enable_doc}" = "yes" && ENABLE_DOC= || ENABLE_DOC='\#'
-+AC_SUBST([ENABLE_DOC])
-+
-+if test "${enable_doc}"; then
-+  AC_CHECK_PROGS([DOCTOOL], [linuxdoc sgml2html], [":"])
-+  AC_SUBST([DOCTOOL])
-+
-+  case "$DOCTOOL" in
-+   linuxdoc) DOCTOOL="linuxdoc -B html";;
-+   sgml2html) DOCTOOL="sgml2html -s 1";;
-+   :)
-+    if test "${srcdir}" != "."; then
-+      mkdir -p doc
-+      cp ${srcdir}/doc/xca-doc.tgz doc/
-+    fi
-+    AC_MSG_WARN(['linuxdoc' or 'sgml2html' not found, using pre-compiled documentation])
-+    ;;
-+  esac
-+fi
- 
- # Setup done. Write local.h and Local.mak
- ############################################
-diff --git a/doc/Makefile b/doc/Makefile
-index fce4acf..7bf802f 100644
---- a/doc/Makefile
-+++ b/doc/Makefile
-@@ -17,13 +17,13 @@ xca.html: xca.sgml
- 	echo 'The documentation for XCA can be viewed online at: <a href="http://xca.sourceforge.net/">http://xca.sourceforge.net/</a>.' > $@
- 	test ! -f xca-doc.tgz || tar zxf xca-doc.tgz
- 	@$(PRINT) "  DOC    [$(BASENAME)] $@"
--	$(DOCTOOL) $< >/dev/null
-+	$(ENABLE_DOC)$(DOCTOOL) $< >/dev/null
- 
- install: $(doc)
--	install -m 755 -d $(destdir)$(htmldir) \
--		$(destdir)$(mandir)/man1
--	install -m 644 xca*.html $(destdir)$(htmldir)
--	install *.1.gz $(destdir)/$(mandir)/man1
-+	$(ENABLE_DOC)install -m 755 -d $(destdir)$(htmldir)
-+	$(ENABLE_DOC)install -m 644 xca*.html $(destdir)$(htmldir)
-+	install -m 755 -d $(destdir)$(mandir)/man1
-+	install -m 644 *.1.gz $(destdir)/$(mandir)/man1
- 
- app: xca.html
- 	mkdir -p $(APPDIR)/Resources
--- 
-2.7.3
-

diff --git a/app-crypt/xca/xca-1.3.2-r2.ebuild b/app-crypt/xca/xca-1.3.2-r2.ebuild
deleted file mode 100644
index c0ef3a8d4f8..00000000000
--- a/app-crypt/xca/xca-1.3.2-r2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit flag-o-matic autotools
-
-DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests etc"
-HOMEPAGE="http://xca.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="bindist doc libressl"
-
-RDEPEND="
-	dev-qt/qtgui:5
-	dev-qt/qtwidgets:5
-	!libressl? ( dev-libs/openssl:0=[bindist=] )
-	libressl? ( dev-libs/libressl:0= )
-	doc? ( app-text/linuxdoc-tools )"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-	"${FILESDIR}/${PN}-1.0.0-desktop.patch"
-	"${FILESDIR}/${P}-build.patch"
-)
-
-src_prepare() {
-	default
-	AT_M4DIR="m4" eautoreconf
-}
-
-src_configure() {
-	# bug #595440
-	append-cxxflags -std=c++11
-	econf \
-		--with-qt-version=5 \
-		$(use_enable doc) \
-		STRIP=true
-}
-
-src_compile() {
-	# enforce all to avoid the automatic silent rules
-	emake all
-}
-
-src_install() {
-	# non standard destdir
-	emake install destdir="${ED}"
-	einstalldocs
-
-	insinto /etc/xca
-	doins misc/*.txt
-}

diff --git a/app-crypt/xca/xca-1.4.0.ebuild b/app-crypt/xca/xca-1.4.0.ebuild
deleted file mode 100644
index dfa838fead8..00000000000
--- a/app-crypt/xca/xca-1.4.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests etc"
-HOMEPAGE="http://xca.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="bindist doc libressl"
-
-RDEPEND="
-	dev-qt/qtgui:5
-	dev-qt/qtwidgets:5
-	!libressl? ( dev-libs/openssl:0=[bindist=] )
-	libressl? ( dev-libs/libressl:0= )
-	doc? ( app-text/linuxdoc-tools )"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-	"${FILESDIR}/${PN}-1.0.0-desktop.patch"
-)
-
-src_configure() {
-	econf \
-		--with-qt-version=5 \
-		$(use_enable doc) \
-		STRIP=true
-}
-
-src_compile() {
-	# enforce all to avoid the automatic silent rules
-	emake all
-}
-
-src_install() {
-	# non standard destdir
-	emake install destdir="${ED}"
-	einstalldocs
-
-	insinto /etc/xca
-	doins misc/*.txt
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/xca/, app-crypt/xca/files/
@ 2021-02-27 19:31 Mike Auty
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Auty @ 2021-02-27 19:31 UTC (permalink / raw
  To: gentoo-commits

commit:     bb305819a4c39bb9a0da7f248a9ebbedc3097c7a
Author:     Mike Auty <ikelos <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 19:30:00 2021 +0000
Commit:     Mike Auty <ikelos <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 19:31:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb305819

app-crypt/xca: Bump stable for 733000

Closes: https://bugs.gentoo.org/733000
Signed-off-by: Mike Auty <ikelos <AT> gentoo.org>

 ...ca-bug-733000.patch => xca-2.1.2-bug-733000.patch} | 19 +++++++++++--------
 ...ca-bug-733000.patch => xca-2.3.0-bug-733000.patch} |  0
 .../xca/{xca-2.3.0.ebuild => xca-2.1.2-r1.ebuild}     | 15 +++++----------
 app-crypt/xca/xca-2.3.0.ebuild                        |  2 +-
 4 files changed, 17 insertions(+), 19 deletions(-)

diff --git a/app-crypt/xca/files/xca-bug-733000.patch b/app-crypt/xca/files/xca-2.1.2-bug-733000.patch
similarity index 55%
copy from app-crypt/xca/files/xca-bug-733000.patch
copy to app-crypt/xca/files/xca-2.1.2-bug-733000.patch
index 044575475c8..3e17a8aa9a9 100644
--- a/app-crypt/xca/files/xca-bug-733000.patch
+++ b/app-crypt/xca/files/xca-2.1.2-bug-733000.patch
@@ -1,10 +1,13 @@
 diff --git a/doc/Makefile b/doc/Makefile
-index d481c5a..dc5b49a 100644
+index 7c9a643..f88c209 100644
 --- a/doc/Makefile
 +++ b/doc/Makefile
-@@ -5,13 +5,9 @@ endif
+@@ -3,15 +3,11 @@ TOPDIR=..
+ BUILD=..
+ endif
  
- DELFILES=xca*.html xca.1.gz changelog.html database_schema.html
+-DELFILES=xca*.html xca.1.gz changelog.html database_schema.html
++DELFILES=xca*.html changelog.html database_schema.html
  
 -doc: xca.1.gz xca.html changelog.html database_schema.html
 +doc: xca.1 xca.html changelog.html database_schema.html
@@ -18,11 +21,11 @@ index d481c5a..dc5b49a 100644
  	rm -f xca*.html
  	echo 'The documentation for XCA can be viewed online at: <a href="http://hohnstaedt.de/documentation">http://hohnstaedt.de/documentation</a>.' > $@
 @@ -23,7 +19,7 @@ install: $(doc)
- 	$(ENABLE_DOC)install -m 755 -d $(DESTDIR)$(htmldir)
- 	$(ENABLE_DOC)install -m 644 xca*.html $(DESTDIR)$(htmldir)
- 	install -m 755 -d $(DESTDIR)$(mandir)/man1
--	install -m 644 *.1.gz $(DESTDIR)/$(mandir)/man1
-+	install -m 644 *.1 $(DESTDIR)/$(mandir)/man1
+ 	$(ENABLE_DOC)install -m 755 -d $(destdir)$(htmldir)
+ 	$(ENABLE_DOC)install -m 644 xca*.html $(destdir)$(htmldir)
+ 	install -m 755 -d $(destdir)$(mandir)/man1
+-	install -m 644 *.1.gz $(destdir)/$(mandir)/man1
++	install -m 644 *.1 $(destdir)/$(mandir)/man1
  
  app: xca.html
  	mkdir -p $(APPDIR)/Resources

diff --git a/app-crypt/xca/files/xca-bug-733000.patch b/app-crypt/xca/files/xca-2.3.0-bug-733000.patch
similarity index 100%
rename from app-crypt/xca/files/xca-bug-733000.patch
rename to app-crypt/xca/files/xca-2.3.0-bug-733000.patch

diff --git a/app-crypt/xca/xca-2.3.0.ebuild b/app-crypt/xca/xca-2.1.2-r1.ebuild
similarity index 84%
copy from app-crypt/xca/xca-2.3.0.ebuild
copy to app-crypt/xca/xca-2.1.2-r1.ebuild
index 556779ccf8e..28e0f2da477 100644
--- a/app-crypt/xca/xca-2.3.0.ebuild
+++ b/app-crypt/xca/xca-2.1.2-r1.ebuild
@@ -27,7 +27,7 @@ DEPEND="${RDEPEND}
 
 PATCHES=(
 	"${FILESDIR}/${PN}-1.0.0-desktop.patch"
-	"${FILESDIR}/${PN}-bug-73300.patch"
+	"${FILESDIR}/${P}-bug-733000.patch"
 )
 
 src_configure() {
@@ -37,35 +37,30 @@ src_configure() {
 		STRIP=true
 }
 
-src_prepare() {
-	sed '/^CFLAGS/s@-O2 -ggdb@@' -i Local.mak.in || die
-	default
-}
-
 src_compile() {
 	# enforce all to avoid the automatic silent rules
 	emake all
 }
 
 src_install() {
-	default
+	# non standard destdir
+	emake install destdir="${ED}"
+	einstalldocs
 
 	insinto /etc/xca
 	doins misc/*.txt
 
 	ewarn "Make a backup copy of your database!"
-	ewarn "Version 2 completely changes the database format to SQL(ite)"
+	ewarn "This version completely changes the database format to SQL(ite)"
 	ewarn "Don't try to open it with older versions of XCA (< 1.4.0). They will corrupt the database."
 }
 
 pkg_postinst() {
-	xdg_icon_cache_update
 	xdg_desktop_database_update
 	xdg_mimeinfo_database_update
 }
 
 pkg_postrm() {
-	xdg_icon_cache_update
 	xdg_desktop_database_update
 	xdg_mimeinfo_database_update
 }

diff --git a/app-crypt/xca/xca-2.3.0.ebuild b/app-crypt/xca/xca-2.3.0.ebuild
index 556779ccf8e..c7ef3f20b62 100644
--- a/app-crypt/xca/xca-2.3.0.ebuild
+++ b/app-crypt/xca/xca-2.3.0.ebuild
@@ -27,7 +27,7 @@ DEPEND="${RDEPEND}
 
 PATCHES=(
 	"${FILESDIR}/${PN}-1.0.0-desktop.patch"
-	"${FILESDIR}/${PN}-bug-73300.patch"
+	"${FILESDIR}/${P}-bug-733000.patch"
 )
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/xca/, app-crypt/xca/files/
@ 2023-09-09  9:21 Hans de Graaff
  0 siblings, 0 replies; 4+ messages in thread
From: Hans de Graaff @ 2023-09-09  9:21 UTC (permalink / raw
  To: gentoo-commits

commit:     b063910c9335cc6982ee9b2ad1e290f23824b928
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  9 09:21:20 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Sep  9 09:21:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b063910c

app-crypt/xca: install man page uncompressed

Closes: https://bugs.gentoo.org/913882
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 app-crypt/xca/files/xca-2.4.0-man-page.patch | 24 ++++++++++
 app-crypt/xca/xca-2.4.0_p20230526-r1.ebuild  | 72 ++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/app-crypt/xca/files/xca-2.4.0-man-page.patch b/app-crypt/xca/files/xca-2.4.0-man-page.patch
new file mode 100644
index 000000000000..a5b52176418d
--- /dev/null
+++ b/app-crypt/xca/files/xca-2.4.0-man-page.patch
@@ -0,0 +1,24 @@
+--- a/doc/CMakeLists.txt	2023-09-09 11:10:22.671031619 +0200
++++ b/doc/CMakeLists.txt	2023-09-09 11:17:15.398798825 +0200
+@@ -138,7 +138,7 @@
+ if (NOT WIN32)
+   add_custom_command(
+-	OUTPUT "${D}/xca.1.gz"
++	OUTPUT "${D}/xca.1"
+-	COMMAND cat "${S}/xca.1.head" "${D}/xca.1.options" "${S}/xca.1.tail" | gzip -n9 > "${D}/xca.1.gz"
++	COMMAND cat "${S}/xca.1.head" "${D}/xca.1.options" "${S}/xca.1.tail" | cat > "${D}/xca.1"
+ 	DEPENDS "${S}/xca.1.head" "${S}/xca.1.tail"
+ 		"${D}/xca.1.options"
+ 	COMMENT "Compiling man page"
+@@ -148,9 +148,9 @@
+ 	COMMAND xcadoc man "${D}/xca.1.options"
+ 	COMMENT "Generate 'man' commandline documentation"
+   )
+-  add_custom_target(manpage ALL DEPENDS ${D}/xca.1.gz)
++  add_custom_target(manpage ALL DEPENDS ${D}/xca.1)
+   if (NOT APPLE)
+-    install(FILES "${D}/xca.1.gz"
++    install(FILES "${D}/xca.1"
+         DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
+     )
+   endif()

diff --git a/app-crypt/xca/xca-2.4.0_p20230526-r1.ebuild b/app-crypt/xca/xca-2.4.0_p20230526-r1.ebuild
new file mode 100644
index 000000000000..2501dd9cbf58
--- /dev/null
+++ b/app-crypt/xca/xca-2.4.0_p20230526-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit cmake xdg-utils
+
+COMMIT=8983e5010d99c8d37bc7e316bf3ef00265763027
+
+DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests etc"
+HOMEPAGE="https://hohnstaedt.de/xca/"
+#SRC_URI="https://github.com/chris2511/${PN}/releases/download/RELEASE.${PV}/${P}.tar.gz"
+SRC_URI="https://github.com/chris2511/xca/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/xca-${COMMIT}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc"
+
+RDEPEND="
+	dev-libs/libltdl:0=
+	dev-qt/qthelp:5
+	dev-qt/qtgui:5
+	dev-qt/qtsql:5[sqlite]
+	dev-qt/qtwidgets:5
+	dev-libs/openssl:*
+	doc? ( app-text/linuxdoc-tools )"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.0.0-desktop.patch"
+	"${FILESDIR}/${PN}-2.4.0-man-page.patch"
+)
+
+src_configure() {
+	local mycmakeargs=(
+		-DQTFIXEDVERSION=Qt5
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+}
+
+src_install() {
+	cmake_src_install
+
+	insinto /etc/xca
+	doins misc/*.txt
+
+	dosym xca /usr/bin/xca-console
+
+	ewarn "This is an unofficial snapshot that is compatible with openssl 3."
+	ewarn "One known flaw is that starting xca without a database will no longer open"
+	ewarn "the GUI. Provide either a new or existing database as an argument on the"
+	ewarn "command line."
+}
+
+pkg_postinst() {
+	xdg_icon_cache_update
+	xdg_desktop_database_update
+	xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+	xdg_desktop_database_update
+	xdg_mimeinfo_database_update
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/xca/, app-crypt/xca/files/
@ 2025-01-21 16:41 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2025-01-21 16:41 UTC (permalink / raw
  To: gentoo-commits

commit:     e8095685b8b9a37c654e82c7e88cf349de279df3
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  7 19:51:02 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jan 21 16:41:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8095685

app-crypt/xca: drop 2.7.0

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-crypt/xca/Manifest                       |  1 -
 app-crypt/xca/files/xca-1.0.0-desktop.patch  |  8 ---
 app-crypt/xca/files/xca-2.4.0-man-page.patch | 24 ---------
 app-crypt/xca/xca-2.7.0.ebuild               | 76 ----------------------------
 4 files changed, 109 deletions(-)

diff --git a/app-crypt/xca/Manifest b/app-crypt/xca/Manifest
index 6bf413d8f12b..518ddca556bb 100644
--- a/app-crypt/xca/Manifest
+++ b/app-crypt/xca/Manifest
@@ -1,2 +1 @@
-DIST xca-2.7.0.tar.gz 1893082 BLAKE2B e37f622864ea20dcf9796640ab7628205823ed2bc8cfeba54fe5dc815be60fba318e9b180d880258ad3d9d2b58b98fd688ee87969da0e2cc8017d98c0cce5680 SHA512 ac441a88c3a4548d78256509ba47cdcb438113e021d76367cbbb91f2a6f6ade2f6ee50c9132d2e89f3843263a7fbd4af73fcada0c32573c819781c0228939f62
 DIST xca-2.8.0.tar.gz 1955684 BLAKE2B 4ba352d023a3c7018cfb89cc6e8d9296c7a2664338ef4a3084339f96d32073065be7ec5d07e35cc9b91371e3d580872fa0d282ae10aa5bb36d0ffefa472c23d9 SHA512 14e880625f086d12cd39e55c1dc5703bdbc7cfcf683cf4706bb3fd0e2d9c2937194d3420f5e9a0a8f8fc22a24a56eaf67dc7c8eae5426e991f6737f0b6bb7a52

diff --git a/app-crypt/xca/files/xca-1.0.0-desktop.patch b/app-crypt/xca/files/xca-1.0.0-desktop.patch
deleted file mode 100644
index e2da3a103cf8..000000000000
--- a/app-crypt/xca/files/xca-1.0.0-desktop.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- a/misc/xca.desktop	2012-05-12 05:37:14.000000000 -0400
-+++ b/misc/xca.desktop	2013-01-03 19:43:35.877856711 -0500
-@@ -7,5 +7,5 @@
- Icon=xca-32x32
- Terminal=false
--Categories=Application;Utility;Qt;
-+Categories=Utility;Qt;
- MimeType=application/x-xca-database;application/x-xca-template;application/x-x509-ca-cert;application/pkcs10;application/x-pkcs7-certificates;application/x-pkcs12;

diff --git a/app-crypt/xca/files/xca-2.4.0-man-page.patch b/app-crypt/xca/files/xca-2.4.0-man-page.patch
deleted file mode 100644
index a5b52176418d..000000000000
--- a/app-crypt/xca/files/xca-2.4.0-man-page.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/doc/CMakeLists.txt	2023-09-09 11:10:22.671031619 +0200
-+++ b/doc/CMakeLists.txt	2023-09-09 11:17:15.398798825 +0200
-@@ -138,7 +138,7 @@
- if (NOT WIN32)
-   add_custom_command(
--	OUTPUT "${D}/xca.1.gz"
-+	OUTPUT "${D}/xca.1"
--	COMMAND cat "${S}/xca.1.head" "${D}/xca.1.options" "${S}/xca.1.tail" | gzip -n9 > "${D}/xca.1.gz"
-+	COMMAND cat "${S}/xca.1.head" "${D}/xca.1.options" "${S}/xca.1.tail" | cat > "${D}/xca.1"
- 	DEPENDS "${S}/xca.1.head" "${S}/xca.1.tail"
- 		"${D}/xca.1.options"
- 	COMMENT "Compiling man page"
-@@ -148,9 +148,9 @@
- 	COMMAND xcadoc man "${D}/xca.1.options"
- 	COMMENT "Generate 'man' commandline documentation"
-   )
--  add_custom_target(manpage ALL DEPENDS ${D}/xca.1.gz)
-+  add_custom_target(manpage ALL DEPENDS ${D}/xca.1)
-   if (NOT APPLE)
--    install(FILES "${D}/xca.1.gz"
-+    install(FILES "${D}/xca.1"
-         DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
-     )
-   endif()

diff --git a/app-crypt/xca/xca-2.7.0.ebuild b/app-crypt/xca/xca-2.7.0.ebuild
deleted file mode 100644
index 1847566119ae..000000000000
--- a/app-crypt/xca/xca-2.7.0.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-inherit cmake virtualx xdg-utils
-
-DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests etc"
-HOMEPAGE="https://hohnstaedt.de/xca/"
-SRC_URI="https://github.com/chris2511/xca/archive/refs/tags/RELEASE.${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/xca-RELEASE.${PV}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="doc qt5 qt6"
-
-RDEPEND="
-	dev-libs/libltdl:0=
-	!qt6? ( dev-qt/qthelp:5 dev-qt/qtgui:5 dev-qt/qtsql:5[sqlite] dev-qt/qtwidgets:5 )
-	qt6? ( dev-qt/qtbase:6[sqlite,widgets] dev-qt/qttools:6[assistant] )
-	dev-libs/openssl:*
-	doc? ( app-text/linuxdoc-tools )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	!qt6? ( dev-qt/linguist-tools:5 dev-qt/qttest:5 )
-	qt6? ( dev-qt/qttools:6[linguist] )
-	doc? ( dev-python/sphinx dev-python/sphinxcontrib-htmlhelp dev-python/sphinxcontrib-qthelp )
-"
-
-PATCHES=(
-	"${FILESDIR}/${PN}-1.0.0-desktop.patch"
-	"${FILESDIR}/${PN}-2.4.0-man-page.patch"
-)
-
-src_configure() {
-	local qt_version=Qt5
-
-	if use qt6; then
-		qt_version=Qt6
-	fi
-
-	local mycmakeargs=(
-		-DQTFIXEDVERSION=$qt_version
-	)
-	cmake_src_configure
-}
-
-src_compile() {
-	cmake_src_compile
-}
-
-src_test() {
-	virtx default
-}
-
-src_install() {
-	cmake_src_install
-
-	insinto /etc/xca
-	doins misc/*.txt
-
-	dosym xca /usr/bin/xca-console
-}
-
-pkg_postinst() {
-	xdg_icon_cache_update
-	xdg_desktop_database_update
-	xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
-	xdg_icon_cache_update
-	xdg_desktop_database_update
-	xdg_mimeinfo_database_update
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-01-21 16:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-21 16:41 [gentoo-commits] repo/gentoo:master commit in: app-crypt/xca/, app-crypt/xca/files/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2023-09-09  9:21 Hans de Graaff
2021-02-27 19:31 Mike Auty
2018-05-26  9:34 Alon Bar-Lev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox