[graphviz] Removed metadata from generated PDFs
by Jaroslav Å karvada
commit cf06abaee546e9ff78c522ff6e7c6fcddd412a28
Author: Jaroslav Å karvada <jskarvad(a)redhat.com>
Date: Fri Nov 1 00:24:01 2013 +0100
Removed metadata from generated PDFs
Related: rhbz#881173
graphviz.spec | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/graphviz.spec b/graphviz.spec
index 64e4d03..a8d372f 100644
--- a/graphviz.spec
+++ b/graphviz.spec
@@ -48,7 +48,7 @@
Name: graphviz
Summary: Graph Visualization Tools
Version: 2.34.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Group: Applications/Multimedia
License: EPL
URL: http://www.graphviz.org/
@@ -65,7 +65,7 @@ BuildRequires: ksh, bison, m4, flex, tk-devel, tcl-devel >= 8.3, swig
BuildRequires: fontconfig-devel, libtool-ltdl-devel, ruby-devel, ruby, guile-devel, python-devel
BuildRequires: libXaw-devel, libSM-devel, libXext-devel, java-devel, php-devel
BuildRequires: cairo-devel >= 1.1.10, pango-devel, gmp-devel, lua-devel, gtk2-devel, libgnomeui-devel
-BuildRequires: gd-devel, perl-devel, swig >= 1.3.33, automake, autoconf, libtool
+BuildRequires: gd-devel, perl-devel, swig >= 1.3.33, automake, autoconf, libtool, qpdf
# Temporary workaound for perl(Carp) not pulled
BuildRequires: perl-Carp
%if %{SHARP}
@@ -129,7 +129,6 @@ supported directly by the cairo+pango based renderer in the base graphviz rpm.)
%package doc
Group: Documentation
Summary: PDF and HTML documents for graphviz
-BuildArch: noarch
%description doc
Provides some additional PDF and HTML documentation for graphviz.
@@ -344,6 +343,18 @@ find %{buildroot}%{_docdir}/%{name}/demo -type f -name "*.py" -exec mv {} {}.dem
# Remove dot_builtins, on demand loading should be sufficient
rm -f %{buildroot}%{_bindir}/dot_builtins
+# Remove metadata from generated PDFs
+pushd %{buildroot}%{_docdir}/%{name}/pdf
+for f in prune lneato.1 lefty.1 gvgen.1 gc.1 dotty.1 dot.1 cluster.1
+do
+ if [ -f $f.pdf ]
+ then
+# ugly, but there is probably no better solution
+ qpdf --empty --static-id --pages $f.pdf -- $f.pdf.$$
+ mv -f $f.pdf.$$ $f.pdf
+ fi
+done
+
# Ghost plugins config
touch %{buildroot}%{_libdir}/graphviz/config%{pluginsver}
@@ -541,6 +552,10 @@ rm -rf %{buildroot}
%changelog
+* Thu Oct 31 2013 Jaroslav Å karvada <jskarvad(a)redhat.com> - 2.34.0-4
+- Removed metadata from generated PDFs
+ Related: rhbz#881173
+
* Thu Oct 31 2013 Jaroslav Å karvada <jskarvad(a)redhat.com> - 2.34.0-3
- Fixed multilib conflicts
Rewrote lefty IO lib to use getaddrinfo instead of gethostbyname
6Â years, 1Â month
[nemo-extensions] update to latest git
by leigh123linux
commit 15b6f8b6e09ae22624b364b4b545cdccbf2abd4f
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Oct 31 23:14:45 2013 +0000
update to latest git
.gitignore | 1 +
nemo-extensions.spec | 44 +++++++++++++++++++++++++++++++++++++++-----
sources | 2 +-
3 files changed, 41 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 26477e5..23aad6d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/nemo-extensions-1.8.0.git3e366de.tar.gz
+/nemo-extensions-2.0.0.gitfd3cc88.tar.gz
diff --git a/nemo-extensions.spec b/nemo-extensions.spec
index 20765a6..40b3711 100644
--- a/nemo-extensions.spec
+++ b/nemo-extensions.spec
@@ -1,8 +1,8 @@
-%global _internal_version 3e366de
+%global _internal_version fd3cc88
Name: nemo-extensions
-Version: 1.8.0
-Release: 0.6.git%{_internal_version}%{?dist}
+Version: 2.0.0
+Release: 0.1.git%{_internal_version}%{?dist}
Summary: Extensions for Nemo
License: GPLv2+ and LGPLv2
@@ -69,6 +69,15 @@ Requires: nemo-python = %{version}-%{release}
%description -n nemo-python-devel
Python bindings for Nemo
+%package -n nemo-terminal
+Summary: Nemo Terminal is a terminal embedded in Nemo
+License: GPLv3+
+Requires: vte
+Requires: nemo-python
+
+%description -n nemo-terminal
+Nemo Terminal is a terminal embedded in Nemo
+
%prep
%setup -q -n linuxmint-%{name}-%{_internal_version}
@@ -107,7 +116,7 @@ ln -s %{_datadir}/nemo-pastebin/nemo-pastebin-configurator.py %{buildroot}/%{_bi
popd
pushd nemo-rabbitvcs
-cp -p RabbitVCS.py %{buildroot}/%{_datadir}/nemo-python/extensions/
+install -pm 0644 RabbitVCS.py %{buildroot}/%{_datadir}/nemo-python/extensions/
popd
pushd nemo-fileroller
@@ -118,6 +127,13 @@ pushd nemo-python
%make_install
popd
+pushd nemo-terminal
+mkdir %{buildroot}/%{_datadir}/nemo-terminal
+install -pm 0644 src/nemo_terminal.py %{buildroot}/%{_datadir}/nemo-python/extensions/
+install -pm 0644 src/org.nemo.extensions.nemo-terminal.gschema.xml %{buildroot}/%{_datadir}/glib-2.0/schemas/
+install -pm 0644 pixmap/logo_120x120.png %{buildroot}/%{_datadir}/nemo-terminal
+popd
+
# remove useless libtool archive files
rm %{buildroot}/%{_libdir}/nemo/extensions-3.0/libnemo-*.la
rm %{buildroot}/%{_libdir}/nemo/extensions-3.0/libnemo-*.a
@@ -136,9 +152,17 @@ fi
%posttrans -n nemo-pastebin
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+%postun -n nemo-terminal
+if [ $1 -eq 0 ] ; then
+ /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
+
+%posttrans -n nemo-terminal
+ /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+
%files -n nemo-pastebin
-%doc nemo-pastebin/{README,NEWS}
+%doc nemo-pastebin/{README,NEWS,COPYING}
%{_bindir}/nemo-pastebin-configurator
%{_datadir}/nemo-python/extensions/nemo-pastebin.py
%{python_sitelib}/nemo_pastebin-1.0.0-py?.?.egg-info
@@ -164,7 +188,17 @@ fi
%files -n nemo-python-devel
%{_libdir}/pkgconfig/nemo-python.pc
+%files -n nemo-terminal
+%doc nemo-terminal/COPYING
+%{_datadir}/nemo-python/extensions/nemo_terminal.py
+%{_datadir}/nemo-terminal/
+%{_datadir}/glib-2.0/schemas/org.nemo.extensions.nemo-terminal.gschema.xml
+
%changelog
+* Thu Oct 31 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 2.0.0-0.1.gitfd3cc88
+- update to latest git
+- add nemo-terminal extension
+
* Sun Oct 20 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 1.8.0-0.6.git3e366de
- remove the seahorse extension because
it's broken and conflicts with seahorse-nautilus
diff --git a/sources b/sources
index a7d9176..65abb6c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-733e1f2a9d23f39c00c57c014d08cf08 nemo-extensions-1.8.0.git3e366de.tar.gz
+272e87c7f3395593945b87648df3c029 nemo-extensions-2.0.0.gitfd3cc88.tar.gz
6Â years, 1Â month