From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New packages: bibutils-7.2, kbibtex-0.9.2
Date: Sun, 31 Jul 2022 09:53:50 +0200 [thread overview]
Message-ID: <20220731075350.bRFSwfjnRp7xpLPO0rDBlTccPp0ut3uH_lOuCdLrEWI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38102@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 682 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages new/kbibtex
https://github.com/void-linux/void-packages/pull/38102
New packages: bibutils-7.2, kbibtex-0.9.2
- New package: bibutils-7.2
- New package: kbibtex-0.9.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
closes #21514
closes #34970
A patch file from https://github.com/void-linux/void-packages/pull/38102.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/kbibtex-38102.patch --]
[-- Type: text/x-diff, Size: 7249 bytes --]
From 1ea6435cb8979a12acfc681f8c49c21d13603884 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 17 Jul 2022 02:17:50 -0400
Subject: [PATCH 1/2] New package: bibutils-7.2
closes #34970
---
common/shlibs | 1 +
srcpkgs/bibutils-devel | 1 +
.../bibutils/patches/generate-manpages.patch | 38 ++++++++++++++++++
srcpkgs/bibutils/template | 40 +++++++++++++++++++
4 files changed, 80 insertions(+)
create mode 120000 srcpkgs/bibutils-devel
create mode 100644 srcpkgs/bibutils/patches/generate-manpages.patch
create mode 100644 srcpkgs/bibutils/template
diff --git a/common/shlibs b/common/shlibs
index e1f7db32dc2e..176ce63d5ecb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4185,3 +4185,4 @@ libnvidia-container-go.so.1 libnvidia-container-1.10.0_1
libqtspell-qt5.so.1 qtspell-1.0.1_1
libopensmtpd.so.0 libopensmtpd-0.7_1
libiio.so.0 libiio-0.23_1
+libbibutils.so.7 bibutils-7.2_1
diff --git a/srcpkgs/bibutils-devel b/srcpkgs/bibutils-devel
new file mode 120000
index 000000000000..fe74d1a04abe
--- /dev/null
+++ b/srcpkgs/bibutils-devel
@@ -0,0 +1 @@
+bibutils
\ No newline at end of file
diff --git a/srcpkgs/bibutils/patches/generate-manpages.patch b/srcpkgs/bibutils/patches/generate-manpages.patch
new file mode 100644
index 000000000000..140d362bc726
--- /dev/null
+++ b/srcpkgs/bibutils/patches/generate-manpages.patch
@@ -0,0 +1,38 @@
+from arch's package: https://github.com/archlinux/svntogit-community/blob/packages/bibutils/trunk/generate-man-pages.patch
+
+--- a/bibutils.dbk
++++ b/bibutils.dbk
+@@ -45,12 +45,12 @@
+ <refmiscinfo class='version'> &version; </refmiscinfo>
+ <refmiscinfo class='manual'> User Commands </refmiscinfo>
+ </refmeta>
+- <!-- Uncomment this division to have .so manpages generated for all
+- commands
+ <refnamediv>
+ <refname>bibutils</refname>
+ <refname>bib2xml</refname>
++ <refname>biblatex2xml</refname>
+ <refname>copac2xml</refname>
++ <refname>ebi2xml</refname>
+ <refname>end2xml</refname>
+ <refname>endx2xml</refname>
+ <refname>isi2xml</refname>
+@@ -58,15 +58,17 @@
+ <refname>modsclean</refname>
+ <refname>nbib2xml</refname>
+ <refname>ris2xml</refname>
++ <refname>wordbib2xml</refname>
+ <refname>xml2ads</refname>
+ <refname>xml2bib</refname>
++ <refname>xml2biblatex</refname>
+ <refname>xml2end</refname>
+ <refname>xml2isi</refname>
++ <refname>xml2nbib</refname>
+ <refname>xml2ris</refname>
+ <refname>xml2wordbib</refname>
+ <refpurpose>bibliography conversion utilities</refpurpose>
+ </refnamediv>
+- -->
+ <refnamediv>
+ <refname>bibutils</refname>
+ <refpurpose>bibliography conversion utilities</refpurpose>
diff --git a/srcpkgs/bibutils/template b/srcpkgs/bibutils/template
new file mode 100644
index 000000000000..cd533073a7ee
--- /dev/null
+++ b/srcpkgs/bibutils/template
@@ -0,0 +1,40 @@
+# Template file for 'bibutils'
+pkgname=bibutils
+version=7.2
+revision=1
+wrksrc="${pkgname}_${version}"
+build_style="configure"
+configure_args="--dynamic --install-dir \${DESTDIR}/usr/bin --install-lib \${DESTDIR}/usr/lib"
+make_use_env=yes
+hostmakedepends="docbook-xsl libxslt"
+short_desc="Bibliography format interconversion"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-only"
+homepage="https://sourceforge.net/projects/bibutils"
+changelog="https://sourceforge.net/p/bibutils/home/history_version${version%%.*}/"
+distfiles="${SOURCEFORGE_SITE}/bibutils/bibutils_${version}_src.tgz"
+checksum=6e028aef1e8a6b3e5acef098584a7bb68708f35cfe74011b341c11fea5e4b5c3
+
+post_patch() {
+ # remove unnecessary backslashes in pc file
+ vsed -e 's/\\//g' -i packageconfig_start
+}
+
+post_install() {
+ vdoc ChangeLog
+ xsltproc --output bibutils.1 --nonet /usr/share/xsl/docbook/manpages/docbook.xsl bibutils.dbk
+ for page in $(find ${wrksrc} -name '*.1'); do
+ vman $page
+ done
+}
+
+bibutils-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove "usr/lib/*.so"
+ vinstall lib/bibutils.pc 644 usr/lib/pkgconfig
+ vmkdir usr/include/${sourcepkg}
+ vcopy "lib/*.h" usr/include/${sourcepkg}
+ }
+}
From 35d8055837bf5d4869312d6946290511823b4d92 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 17 Jul 2022 02:17:30 -0400
Subject: [PATCH 2/2] New package: kbibtex-0.9.2
closes #21514
---
.../patches/qsortfilterproxymodel-crash.patch | 28 +++++++++++++++++++
srcpkgs/kbibtex/template | 21 ++++++++++++++
2 files changed, 49 insertions(+)
create mode 100644 srcpkgs/kbibtex/patches/qsortfilterproxymodel-crash.patch
create mode 100644 srcpkgs/kbibtex/template
diff --git a/srcpkgs/kbibtex/patches/qsortfilterproxymodel-crash.patch b/srcpkgs/kbibtex/patches/qsortfilterproxymodel-crash.patch
new file mode 100644
index 000000000000..91cc51f9303c
--- /dev/null
+++ b/srcpkgs/kbibtex/patches/qsortfilterproxymodel-crash.patch
@@ -0,0 +1,28 @@
+From 84b0551eb141b3a7904ceec158d040200c995023 Mon Sep 17 00:00:00 2001
+From: Albert Astals Cid <aacid@kde.org>
+Date: Thu, 8 Apr 2021 22:07:15 +0200
+Subject: [PATCH] Fix crash with newer Qt versions
+
+Assign m_internalModel before calling into
+QSortFilterProxyModel::setSourceModel since that can end up calling filterAcceptsRow
+---
+ src/gui/file/sortfilterfilemodel.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/gui/file/sortfilterfilemodel.cpp b/src/gui/file/sortfilterfilemodel.cpp
+index 73707cec..87657aa2 100644
+--- a/src/gui/file/sortfilterfilemodel.cpp
++++ b/src/gui/file/sortfilterfilemodel.cpp
+@@ -40,8 +40,8 @@ SortFilterFileModel::SortFilterFileModel(QObject *parent)
+
+ void SortFilterFileModel::setSourceModel(QAbstractItemModel *model)
+ {
+- QSortFilterProxyModel::setSourceModel(model);
+ m_internalModel = dynamic_cast<FileModel *>(model);
++ QSortFilterProxyModel::setSourceModel(model);
+ }
+
+ FileModel *SortFilterFileModel::fileSourceModel() const
+--
+GitLab
+
diff --git a/srcpkgs/kbibtex/template b/srcpkgs/kbibtex/template
new file mode 100644
index 000000000000..2ac39c554a93
--- /dev/null
+++ b/srcpkgs/kbibtex/template
@@ -0,0 +1,21 @@
+# Template file for 'kbibtex'
+pkgname=kbibtex
+version=0.9.2
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cmake
+hostmakedepends="extra-cmake-modules kdoctools gettext pkg-config qt5-host-tools
+ qt5-qmake kcoreaddons kparts"
+makedepends="poppler-qt5-devel qt5-webengine-devel qt5-xmlpatterns qoauth-qt5-devel
+ ktexteditor-devel qt5-webchannel-devel qt5-location-devel"
+depends="bibutils"
+conf_files="/etc/xdg/kbibtexrc"
+short_desc="Editor for bibliographies used with LaTeX"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-or-later"
+homepage="https://apps.kde.org/kbibtex/"
+changelog="https://invent.kde.org/office/kbibtex/-/raw/master/ChangeLog"
+distfiles="https://invent.kde.org/office/kbibtex/-/archive/v${version}/kbibtex-v${version}.tar.gz"
+checksum=055e5485fa872bf4679fad0a4b8b05d67a63439b620b0002c56e9a35f907ac81
+# various failures both locally and in CI
+make_check=no
next prev parent reply other threads:[~2022-07-31 7:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-17 6:21 [PR PATCH] " classabbyamp
2022-07-17 6:40 ` [PR PATCH] [Updated] " classabbyamp
2022-07-17 6:46 ` classabbyamp
2022-07-17 6:56 ` classabbyamp
2022-07-17 7:11 ` classabbyamp
2022-07-17 7:20 ` classabbyamp
2022-07-17 8:43 ` classabbyamp
2022-07-17 8:45 ` classabbyamp
2022-07-17 8:48 ` classabbyamp
2022-07-31 7:53 ` classabbyamp [this message]
2022-07-31 8:42 ` classabbyamp
2022-10-30 2:14 ` github-actions
2022-10-30 15:01 ` prez
2022-10-30 16:09 ` classabbyamp
2022-10-31 18:32 ` prez
2023-01-30 1:57 ` github-actions
2023-02-13 2:01 ` [PR PATCH] [Closed]: " github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220731075350.bRFSwfjnRp7xpLPO0rDBlTccPp0ut3uH_lOuCdLrEWI@z \
--to=classabbyamp@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).