[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/chemical-mime-data/files/
commit: a279ed52b6c151401d10daeb794cc363a87f7443 Author: Pacho Ramos gentoo org> AuthorDate: Tue Mar 21 12:13:55 2023 + Commit: Pacho Ramos gentoo org> CommitDate: Tue Mar 21 12:14:17 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a279ed52 sci-chemistry/chemical-mime-data: Add forgotten patch Closes: https://bugs.gentoo.org/902497 Signed-off-by: Pacho Ramos gentoo.org> .../chemical-mime-data-0.1.95-turbomole.patch | 47 ++ 1 file changed, 47 insertions(+) diff --git a/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.95-turbomole.patch b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.95-turbomole.patch new file mode 100644 index ..adef4ee04869 --- /dev/null +++ b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.95-turbomole.patch @@ -0,0 +1,47 @@ +--- a/src/chemical-mime-database.xml.in.old2023-03-20 16:22:36.841959114 +0100 b/src/chemical-mime-database.xml.in2023-03-20 16:26:38.315772298 +0100 +@@ -1418,7 +1418,7 @@ + http://www.ebi.ac.uk/help/formats.html"/> + + +- ++ + <_comment>Turbomole basis set + + +@@ -1432,7 +1432,7 @@ + http://www.cosmologic.de/data/DOK_HTML/"/> + + +- ++ + <_comment>Turbomole control file + + +@@ -1448,7 +1448,7 @@ + http://www.cosmologic.de/data/DOK_HTML/node230.html"/> + + +- ++ + <_comment>Turbomole coordinate file + + +@@ -1463,7 +1463,7 @@ + http://www.cosmologic.de/data/DOK_HTML/"/> + + +- ++ + <_comment>Turbomole gradient file + + +@@ -1511,7 +1511,7 @@ + http://www.cosmologic.de/data/DOK_HTML/"/> + + +- ++ + <_comment>Turbomole SCF MO file + MO + Molecular Orbital
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/chemical-mime-data/files/
commit: ff704f75d2e31ab4a5ad45ce06c6a84d87436b41 Author: Michael Mair-Keimberger gmail com> AuthorDate: Sat Jun 20 15:37:15 2020 + Commit: Conrad Kostecki gentoo org> CommitDate: Thu Jun 25 07:30:45 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff704f75 sci-chemistry/chemical-mime-data: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/16344 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: Conrad Kostecki gentoo.org> .../chemical-mime-data-0.1.94-rsvg-convert.patch | 30 -- 1 file changed, 30 deletions(-) diff --git a/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-rsvg-convert.patch b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-rsvg-convert.patch deleted file mode 100644 index 8a92e19e157..000 --- a/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-rsvg-convert.patch +++ /dev/null @@ -1,30 +0,0 @@ - configure.ac | 2 +- - icons/hicolor/Makefile.am | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 6f87a94..a503da4 100644 a/configure.ac -+++ b/configure.ac -@@ -102,7 +102,7 @@ if test "x$enable_convert" != "xyes" -a "x$CONVERT" = "xno" ; then - [RSVG], - [The 'rsvg' binary with path. Use it to define or override the location of 'rsvg'.] - ) -- AC_PATH_PROG([RSVG], [rsvg], [no]) -+ AC_PATH_PROG([RSVG], [rsvg-convert], [no]) - AC_SUBST([RSVG]) - fi - -diff --git a/icons/hicolor/Makefile.am b/icons/hicolor/Makefile.am -index ba0847a..f2e0a84 100644 a/icons/hicolor/Makefile.am -+++ b/icons/hicolor/Makefile.am -@@ -24,7 +24,7 @@ if BOOL_HICOLOR_THEME - gzip -c $< > $@ - for size in $(icon_sizes) ; do \ - if test "x$(RSVG)" != "x" ; then \ -- $(RSVG) -w $${size} -h $${size} -f png $< $*_$${size}.png ; \ -+ $(RSVG) -w $${size} -h $${size} -f png $< --output $*_$${size}.png ; \ - else \ - $(CONVERT) $< -resize $${size}x$${size} $*_$${size}.png ; \ - fi \
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/chemical-mime-data/files/, sci-chemistry/chemical-mime-data/
commit: 6e55faca8e30c09560fd910ac2040759af689b54 Author: Pacho Ramos gentoo org> AuthorDate: Fri Mar 20 22:52:38 2020 + Commit: Pacho Ramos gentoo org> CommitDate: Fri Mar 20 22:52:38 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e55faca sci-chemistry/chemical-mime-data: Fix rsvg-convert vs convert interaction Thanks-to: Agostino Sarubbo Closes: https://bugs.gentoo.org/713584 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Pacho Ramos gentoo.org> .../chemical-mime-data-0.1.94-r4.ebuild| 2 +- ...chemical-mime-data-0.1.94-rsvg-convert-r2.patch | 36 ++ 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94-r4.ebuild b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94-r4.ebuild index 3abec36ba7d..02cd6e2bc87 100644 --- a/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94-r4.ebuild +++ b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94-r4.ebuild @@ -33,7 +33,7 @@ PATCHES=( "${FILESDIR}"/${P}-turbomole.patch "${FILESDIR}"/${P}-pigz.patch "${FILESDIR}"/${P}-namespace-svg.patch - "${FILESDIR}"/${P}-rsvg-convert.patch + "${FILESDIR}"/${P}-rsvg-convert-r2.patch # https://github.com/dleidert/chemical-mime/issues/1 "${FILESDIR}"/${P}-drop-turbomole-vibrational.patch ) diff --git a/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-rsvg-convert-r2.patch b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-rsvg-convert-r2.patch new file mode 100644 index 000..55039f8be07 --- /dev/null +++ b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-rsvg-convert-r2.patch @@ -0,0 +1,36 @@ +--- a/configure.ac.old 2020-03-20 23:32:05.866604992 +0100 b/configure.ac 2020-03-20 23:32:30.866022834 +0100 +@@ -97,14 +97,12 @@ + AC_PATH_PROG([CONVERT], [convert], [no]) + AC_SUBST([CONVERT]) + +-if test "x$enable_convert" != "xyes" -a "x$CONVERT" = "xno" ; then +- AC_ARG_VAR( +- [RSVG], +- [The 'rsvg' binary with path. Use it to define or override the location of 'rsvg'.] +- ) +- AC_PATH_PROG([RSVG], [rsvg], [no]) +- AC_SUBST([RSVG]) +-fi ++AC_ARG_VAR( ++ [RSVG], ++ [The 'rsvg' binary with path. Use it to define or override the location of 'rsvg'.] ++) ++AC_PATH_PROG([RSVG], [rsvg-convert], [no]) ++AC_SUBST([RSVG]) + + if test "x$RSVG" = "xno" -a "x$CONVERT" = "xno" ; then + AC_MSG_ERROR([Cannot find rsvg (librsvg binary) or convert (imagemagick). Please install one of them.]) +--- a/icons/hicolor/Makefile.am.old2020-03-20 23:32:54.292414381 +0100 b/icons/hicolor/Makefile.am2020-03-20 23:33:40.052179227 +0100 +@@ -23,8 +23,8 @@ + .svg.svgz: + gzip $< -c > $@ + for size in $(icon_sizes) ; do \ +- if test "x$(RSVG)" != "x" ; then \ +- $(RSVG) -w $${size} -h $${size} -f png $< $*_$${size}.png ; \ ++ if test "x$(RSVG)" != "xno" ; then \ ++ $(RSVG) -w $${size} -h $${size} -f png $< --output $*_$${size}.png ; \ + else \ + $(CONVERT) $< -resize $${size}x$${size} $*_$${size}.png ; \ + fi \
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/chemical-mime-data/files/, sci-chemistry/chemical-mime-data/
commit: db812912bedf3a9abd4e24a9db087d3212638159 Author: Pacho Ramos gentoo org> AuthorDate: Fri Feb 7 18:35:45 2020 + Commit: Pacho Ramos gentoo org> CommitDate: Fri Feb 7 18:41:07 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db812912 sci-chemistry/chemical-mime-data: Drop problematic mime type Bug: https://bugs.gentoo.org/701900 Closes: https://bugs.gentoo.org/707284 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Pacho Ramos gentoo.org> .../chemical-mime-data-0.1.94-r4.ebuild| 53 ++ ...me-data-0.1.94-drop-turbomole-vibrational.patch | 20 2 files changed, 73 insertions(+) diff --git a/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94-r4.ebuild b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94-r4.ebuild new file mode 100644 index 000..ad703d67872 --- /dev/null +++ b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94-r4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools xdg + +DESCRIPTION="A collection of data files to add support for chemical MIME types" +HOMEPAGE="https://github.com/dleidert/chemical-mime; +SRC_URI="mirror://sourceforge/${PN/-data/}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RDEPEND=" + x11-misc/shared-mime-info +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/intltool + dev-util/desktop-file-utils + dev-libs/libxslt + || ( + gnome-base/librsvg + media-gfx/imagemagick[xml,png,svg] + ) + media-gfx/imagemagick[png] + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${P}-turbomole.patch + "${FILESDIR}"/${P}-pigz.patch + "${FILESDIR}"/${P}-namespace-svg.patch + "${FILESDIR}"/${P}-rsvg-convert.patch + # https://github.com/dleidert/chemical-mime/issues/1 + "${FILESDIR}"/${P}-drop-turbomole-vibrational.patch +) + +src_prepare() { + xdg_src_prepare + eautoreconf +} + +src_configure() { + econf \ + --disable-update-database \ + --without-gnome-mime \ + --without-pixmaps \ + --without-kde-mime \ + --htmldir=/usr/share/doc/${PF}/html +} diff --git a/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-drop-turbomole-vibrational.patch b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-drop-turbomole-vibrational.patch new file mode 100644 index 000..4c25b1a1834 --- /dev/null +++ b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-drop-turbomole-vibrational.patch @@ -0,0 +1,20 @@ +diff -up chemical-mime-data-0.1.94/src/chemical-mime-database.xml.in.turbomole_vibration chemical-mime-data-0.1.94/src/chemical-mime-database.xml.in +--- chemical-mime-data-0.1.94/src/chemical-mime-database.xml.in.turbomole_vibration 2020-01-29 17:32:45.0 +0100 chemical-mime-data-0.1.94/src/chemical-mime-database.xml.in 2020-01-29 17:32:45.0 +0100 +@@ -1401,16 +1401,6 @@ + http://www.cosmologic.de/data/DOK_HTML/"/> + + +- +- <_comment>Turbomole Vibrational Data File +- +- +- +- +- +- +- http://www.cosmologic.de/data/DOK_HTML/"/> +- + + + <_comment>VAMAS document