summaryrefslogtreecommitdiff
path: root/sci-chemistry/chemical-mime-data/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-chemistry/chemical-mime-data/files
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-chemistry/chemical-mime-data/files')
-rw-r--r--sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-namespace-svg.patch16
-rw-r--r--sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-pigz.patch16
-rw-r--r--sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-rsvg-convert.patch30
-rw-r--r--sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-turbomole.patch57
4 files changed, 119 insertions, 0 deletions
diff --git a/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-namespace-svg.patch b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-namespace-svg.patch
new file mode 100644
index 000000000000..9860261af403
--- /dev/null
+++ b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-namespace-svg.patch
@@ -0,0 +1,16 @@
+ icons/hicolor/gnome-mime-chemical.svg | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/icons/hicolor/gnome-mime-chemical.svg b/icons/hicolor/gnome-mime-chemical.svg
+index 1a8d428..804514c 100644
+--- a/icons/hicolor/gnome-mime-chemical.svg
++++ b/icons/hicolor/gnome-mime-chemical.svg
+@@ -5,7 +5,7 @@
+ <!ENTITY ns_svg "http://www.w3.org/2000/svg">
+ <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+ ]>
+-<svg xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
++<svg xmlns:svg="&ns_svg;" xmlns:xlink="&ns_xlink;" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
+ width="128" height="128" viewBox="0 0 128 128" overflow="visible" enable-background="new 0 0 128 128" xml:space="preserve">
+ <g id="Layer_1">
+ <g>
diff --git a/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-pigz.patch b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-pigz.patch
new file mode 100644
index 000000000000..8b5ccfbc3fd9
--- /dev/null
+++ b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-pigz.patch
@@ -0,0 +1,16 @@
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 96e03ab..ba0847a 100644
+--- a/icons/hicolor/Makefile.am
++++ b/icons/hicolor/Makefile.am
+@@ -21,7 +21,7 @@ icon_sizes = 16 22 24 32 36 48 64 72 96 128 192
+ if BOOL_HICOLOR_THEME
+
+ .svg.svgz:
+- gzip $< -c > $@
++ gzip -c $< > $@
+ for size in $(icon_sizes) ; do \
+ if test "x$(RSVG)" != "x" ; then \
+ $(RSVG) -w $${size} -h $${size} -f png $< $*_$${size}.png ; \
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
new file mode 100644
index 000000000000..8a92e19e1578
--- /dev/null
+++ b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-rsvg-convert.patch
@@ -0,0 +1,30 @@
+ 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 \
diff --git a/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-turbomole.patch b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-turbomole.patch
new file mode 100644
index 000000000000..852d6b0605be
--- /dev/null
+++ b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-turbomole.patch
@@ -0,0 +1,57 @@
+diff -up chemical-mime-data-0.1.94/src/chemical-mime-database.xml.in.turbomole 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 2009-08-10 09:37:06.000000000 +0200
++++ chemical-mime-data-0.1.94/src/chemical-mime-database.xml.in 2009-08-10 09:40:57.000000000 +0200
+@@ -1290,7 +1290,7 @@
+ <specification url="http://ca.expasy.org/sprot/userman.html"/>
+ </mime-type>
+
+- <mime-type type="chemical/x-turbomole-basis" support="no">
++ <mime-type type="chemical/x-turbomole-basis" support="yes">
+ <_comment>Turbomole Basis Set File</_comment>
+ <glob pattern="basis"/>
+ <sub-class-of type="text/plain"/>
+@@ -1304,7 +1304,7 @@
+ <specification url="http://www.cosmologic.de/data/DOK_HTML/"/>
+ </mime-type>
+
+- <mime-type type="chemical/x-turbomole-control" support="no">
++ <mime-type type="chemical/x-turbomole-control" support="yes">
+ <_comment>Turbomole Control File</_comment>
+ <glob pattern="control"/>
+ <sub-class-of type="text/plain"/>
+@@ -1320,7 +1320,7 @@
+ <specification url="http://www.cosmologic.de/data/DOK_HTML/node230.html"/>
+ </mime-type>
+
+- <mime-type type="chemical/x-turbomole-coord" support="no">
++ <mime-type type="chemical/x-turbomole-coord" support="yes">
+ <_comment>Turbomole Coordinate File</_comment>
+ <glob pattern="coord"/>
+ <glob pattern="*.tmol"/>
+@@ -1335,7 +1335,7 @@
+ <specification url="http://www.cosmologic.de/data/DOK_HTML/"/>
+ </mime-type>
+
+- <mime-type type="chemical/x-turbomole-grad" support="no">
++ <mime-type type="chemical/x-turbomole-grad" support="yes">
+ <_comment>Turbomole Gradient File</_comment>
+ <glob pattern="gradient"/>
+ <sub-class-of type="text/plain"/>
+@@ -1383,7 +1383,7 @@
+ <specification url="http://www.cosmologic.de/data/DOK_HTML/"/>
+ </mime-type>
+
+- <mime-type type="chemical/x-turbomole-scfmo" support="no">
++ <mime-type type="chemical/x-turbomole-scfmo" support="yes">
+ <_comment>Turbomole SCF Molecular Orbital File</_comment>
+ <acronym>MO</acronym>
+ <expanded-acronym>Molecular Orbital</expanded-acronym>
+@@ -1401,7 +1401,7 @@
+ <specification url="http://www.cosmologic.de/data/DOK_HTML/"/>
+ </mime-type>
+
+- <mime-type type="chemical/x-turbomole-vibrational" support="no">
++ <mime-type type="chemical/x-turbomole-vibrational" support="yes">
+ <_comment>Turbomole Vibrational Data File</_comment>
+ <glob pattern="???"/>
+ <sub-class-of type="text/plain"/>