Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 730969 Details for
Bug 912087
Update mapnik to 2.1.0
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Add some requires to devel subpackage
mapnik-2.1.0-3.patch (text/plain), 15.12 KB, created by
Jeffrey C. Ollie
on 2013-04-02 21:01:29 UTC
(
hide
)
Description:
Add some requires to devel subpackage
Filename:
MIME Type:
Creator:
Jeffrey C. Ollie
Created:
2013-04-02 21:01:29 UTC
Size:
15.12 KB
patch
obsolete
>diff --git a/.gitignore b/.gitignore >index 2668151..d64583d 100644 >--- a/.gitignore >+++ b/.gitignore >@@ -1,2 +1,3 @@ > mapnik-0.7.1.tar.bz2 > /mapnik-2.0.0.tar.bz2 >+/mapnik-v2.1.0.tar.bz2 >diff --git a/mapnik-2.0.0-64bit.patch b/mapnik-2.0.0-64bit.patch >deleted file mode 100644 >index 1afe002..0000000 >--- a/mapnik-2.0.0-64bit.patch >+++ /dev/null >@@ -1,12 +0,0 @@ >-diff -up mapnik-2.0.0/SConstruct.64bit mapnik-2.0.0/SConstruct >---- mapnik-2.0.0/SConstruct.64bit 2013-01-02 14:56:07.000000000 +0100 >-+++ mapnik-2.0.0/SConstruct 2013-01-02 14:56:49.000000000 +0100 >-@@ -265,7 +265,7 @@ if platform.dist()[0] in ('Ubuntu','debi >- LIBDIR_SCHEMA='lib' >- elif platform.uname()[4] == 'x86_64' and platform.system() == 'Linux': >- LIBDIR_SCHEMA='lib64' >--elif platform.uname()[4] == 'ppc64': >-+elif platform.uname()[4] in ['ppc64', 's390x', 'sparc64']: >- LIBDIR_SCHEMA='lib64' >- else: >- LIBDIR_SCHEMA='lib' >diff --git a/mapnik-2.0.0-big-endian.patch b/mapnik-2.0.0-big-endian.patch >deleted file mode 100644 >index 00e89ca..0000000 >--- a/mapnik-2.0.0-big-endian.patch >+++ /dev/null >@@ -1,19 +0,0 @@ >-commit f8e2a3ed1b13fb2e37fb890ae452eea98054f4f9 >-Author: Dane Springmeyer <dane@dbsgeo.com> >-Date: Mon Oct 10 14:03:43 2011 -0700 >- >- fix compile on ppc (big endian) systems >- >-diff --git a/include/mapnik/grid/grid.hpp b/include/mapnik/grid/grid.hpp >-index bf644bb..8951d93 100644 >---- a/include/mapnik/grid/grid.hpp >-+++ b/include/mapnik/grid/grid.hpp >-@@ -284,7 +284,7 @@ public: >- { >- >- #ifdef MAPNIK_BIG_ENDIAN >-- unsigned a1 = (int)((rgba1 & 0xff) * opacity) & 0xff; // adjust for desired opacity >-+ unsigned a = (int)((rgba1 & 0xff) * opacity) & 0xff; // adjust for desired opacity >- #else >- unsigned a = (int)(((rgba1 >> 24) & 0xff) * opacity) & 0xff; // adjust for desired opacity >- #endif >diff --git a/mapnik-2.0.0-build-viewer.patch b/mapnik-2.0.0-build-viewer.patch >deleted file mode 100644 >index 77a59c8..0000000 >--- a/mapnik-2.0.0-build-viewer.patch >+++ /dev/null >@@ -1,21 +0,0 @@ >---- demo/viewer/viewer.pro.orig 2011-11-22 15:31:15.047234855 -0500 >-+++ demo/viewer/viewer.pro 2011-11-22 15:32:35.205213622 -0500 >-@@ -4,14 +4,15 @@ >- CC = g++ >- TEMPLATE = app >- >--INCLUDEPATH += /usr/local/include/ >-+INCLUDEPATH += /usr/include/ >-+INCLUDEPATH += ../../include/ >- INCLUDEPATH += /usr/boost/include/ >- INCLUDEPATH += /usr/X11/include/ >--INCLUDEPATH += /usr/X11/include/freetype2 >-+INCLUDEPATH += /usr/include/freetype2 >- INCLUDEPATH += . >- >- QMAKE_CXXFLAGS +=' -DDARWIN -Wno-missing-field-initializers -ansi' >--unix:LIBS = -L/usr/local/lib -L/usr/X11/lib -lmapnik2 -lfreetype >-+unix:LIBS = -L../../src/ -L/usr/local/lib -L/usr/X11/lib -lmapnik2 -lfreetype >- unix:LIBS += -lboost_system -licuuc -lboost_filesystem -lboost_regex >- >- # Input >diff --git a/mapnik-2.1.0-build-viewer.patch b/mapnik-2.1.0-build-viewer.patch >new file mode 100644 >index 0000000..d3025ed >--- /dev/null >+++ b/mapnik-2.1.0-build-viewer.patch >@@ -0,0 +1,20 @@ >+diff --git a/demo/viewer/viewer.pro b/demo/viewer/viewer.pro >+index 048cfad..fe0e429 100644 >+--- a/demo/viewer/viewer.pro >++++ b/demo/viewer/viewer.pro >+@@ -2,10 +2,11 @@ >+ # Mapnik viewer - Copyright (C) 2007 Artem Pavlenko >+ ###################################################################### >+ TEMPLATE = app >+-QMAKE_CXX = clang++ >+-QMAKE_CXXFLAGS += $$system(mapnik-config --cflags) >+-QMAKE_LFLAGS += $$system(mapnik-config --libs) >+-QMAKE_LFLAGS += $$system(mapnik-config --ldflags --dep-libs) >++QMAKE_CXX = g++ >++QMAKE_CXXFLAGS += -I../../include >++QMAKE_CXXFLAGS += $$system(../../utils/mapnik-config/mapnik-config --cflags) >++QMAKE_LFLAGS += -L../../src -l mapnik >++QMAKE_LFLAGS += $$system(../../utils/mapnik-config/mapnik-config --ldflags --dep-libs) >+ >+ # Input >+ >diff --git a/mapnik-missingaggdepend.patch b/mapnik-missingaggdepend.patch >deleted file mode 100644 >index a8b6dc6..0000000 >--- a/mapnik-missingaggdepend.patch >+++ /dev/null >@@ -1,12 +0,0 @@ >---- src/SConscript.orig 2009-09-11 15:31:35.000000000 +0100 >-+++ src/SConscript 2009-09-11 15:32:07.000000000 +0100 >-@@ -53,8 +53,7 @@ >- if env['BOOST_SYSTEM_REQUIRED']: >- libraries.append('boost_system%s' % env['BOOST_APPEND']) >- >--if env['INTERNAL_LIBAGG']: >-- libraries.insert(0, 'agg') >-+libraries.insert(0, 'agg') >- >- if env['PLATFORM'] == 'Darwin': >- if env['FULL_LIB_PATH']: >diff --git a/mapnik.spec b/mapnik.spec >index 9565d29..a3dff0b 100644 >--- a/mapnik.spec >+++ b/mapnik.spec >@@ -1,31 +1,47 @@ >-Name: mapnik >-Version: 2.0.0 >-Release: 13%{?dist} >-Summary: Free Toolkit for developing mapping applications >-Group: Applications/Engineering >-License: LGPLv2+ >-URL: http://mapnik.org/ >-Source0: http://download.berlios.de/mapnik/mapnik-%{version}.tar.bz2 >-Source1: mapnik-data.license >-Source2: no_date_footer.html >-Source3: viewer.desktop >-Patch0: mapnik-2.0.0-build-viewer.patch >-Patch1: mapnik-2.0.0-big-endian.patch >-Patch2: mapnik-2.0.0-64bit.patch >- >-Requires: dejavu-serif-fonts dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-lgc-serif-fonts dejavu-lgc-sans-fonts dejavu-lgc-sans-mono-fonts >-Requires: proj-epsg >- >-BuildRequires: postgresql-devel pkgconfig >-BuildRequires: gdal-devel proj-devel agg-devel >-BuildRequires: scons desktop-file-utils gcc-c++ >-BuildRequires: libtool-ltdl-devel qt-devel > 4.3 >-BuildRequires: libxml2-devel boost-devel libicu-devel >-BuildRequires: libtiff-devel libjpeg-devel libpng-devel >-BuildRequires: cairomm-devel pycairo-devel freetype-devel >- >-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} >-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} >+%filter_provides_in %{_libdir}/mapnik/input >+%filter_setup >+ >+Name: mapnik >+Version: 2.1.0 >+Release: 3%{?dist} >+Summary: Free Toolkit for developing mapping applications >+Group: Applications/Engineering >+License: LGPLv2+ >+URL: http://mapnik.org/ >+Source0: https://github.com/downloads/mapnik/mapnik/mapnik-v%{version}.tar.bz2 >+Source1: mapnik-data.license >+Source2: viewer.desktop >+Patch0: mapnik-2.1.0-build-viewer.patch >+ >+Requires: dejavu-lgc-sans-fonts >+Requires: dejavu-lgc-sans-mono-fonts >+Requires: dejavu-lgc-serif-fonts >+Requires: dejavu-sans-fonts >+Requires: dejavu-sans-mono-fonts >+Requires: dejavu-serif-fonts >+Requires: proj-epsg >+ >+BuildRequires: agg-devel >+BuildRequires: boost-devel >+BuildRequires: cairomm-devel >+BuildRequires: desktop-file-utils >+BuildRequires: freetype-devel >+BuildRequires: gcc-c++ >+BuildRequires: gdal-devel >+BuildRequires: libcurl-devel >+BuildRequires: libicu-devel >+BuildRequires: libjpeg-devel >+BuildRequires: libpng-devel >+BuildRequires: libtiff-devel >+BuildRequires: libtool-ltdl-devel >+BuildRequires: libxml2-devel >+BuildRequires: pkgconfig >+BuildRequires: postgresql-devel >+BuildRequires: proj-devel >+BuildRequires: pycairo-devel >+BuildRequires: qt-devel > 4.3 >+BuildRequires: scons >+BuildRequires: sqlite-devel > > %description > Mapnik is a Free Toolkit for developing mapping applications. >@@ -44,11 +60,20 @@ on, Mapnik doesn't re-invent the wheel, but utilises best of breed > industry standard libraries from boost.org > > %package devel >-Summary: Mapnik is a Free toolkit for developing mapping applications >-Group: Development/Tools >-Requires: %{name} = %{version}-%{release} >-Requires: libpng-devel libjpeg-devel freetype-devel >-Requires: agg-devel proj-devel >+Summary: Mapnik is a Free toolkit for developing mapping applications >+Group: Development/Tools >+Requires: mapnik = %{version}-%{release} >+Requires: agg-devel >+Requires: boost-devel >+Requires: cairomm-devel >+Requires: freetype-devel >+Requires: libicu-devel >+Requires: libjpeg-devel >+Requires: libpng-devel >+Requires: libtiff-devel >+Requires: libtool-ltdl-devel >+Requires: libxml2-devel >+Requires: proj-devel > > %description devel > Mapnik is a Free Toolkit for developing mapping applications. >@@ -70,8 +95,9 @@ industry standard libraries from boost.org > Summary: Python bindings for the Mapnik spatial visualization library > License: GPLv2+ > Group: Development/Libraries >-Requires: %{name} = %{version}-%{release} >-Requires: python-imaging python-lxml >+Requires: mapnik = %{version}-%{release} >+Requires: python-imaging >+Requires: python-lxml > > %description python > Language bindings to enable the Mapnik library to be used from python >@@ -80,7 +106,7 @@ Language bindings to enable the Mapnik library to be used from python > License: GPLv2+ > Summary: Utilities distributed with the Mapnik spatial visualization library > Group: Development/Libraries >-Requires: %{name} = %{version}-%{release} >+Requires: mapnik = %{version}-%{release} > > %description utils > Miscellaneous utilities distributed with the Mapnik spatial visualization >@@ -90,19 +116,17 @@ library > Summary: Demo utility and some sample data distributed with mapnik > License: GPLv2+ GeoGratis > Group: Development/Libraries >-Requires: %{name}-devel = %{version}-%{release} >-Requires: %{name}-python = %{version}-%{release} >+Requires: mapnik-devel = %{version}-%{release} >+Requires: mapnik-python = %{version}-%{release} > > %description demo > Demo application and sample vector datas distributed with the Mapnik > spatial visualization library > > %prep >-%setup -q -n %{name}-%{version} >+%setup -q -n mapnik-v%{version} > >-%patch0 -p0 >-%patch1 -p1 >-%patch2 -p1 >+%patch0 -p1 > > # clean SVN > find . -type d -name .svn -exec rm -rf '{}' + >@@ -128,58 +152,45 @@ set -x > > # fix spurious exec flag > chmod -x demo/viewer/images/*.png >-chmod -x bindings/python/mapnik/ogcserver/modserver.py > chmod -x demo/data/test/regenerate.sh > find . -type d -perm /g+s -exec chmod -s '{}' \; > > # fix wrong path in some demo files >-sed -i -e 's|/lib/mapnik/input/|/%{name}/input/|g' demo/c++/rundemo.cpp >+sed -i -e 's|/lib/mapnik/input/|/mapnik/input/|g' demo/c++/rundemo.cpp > >-sed -i -e 's|/opt/%{name}/include|../../include|g' demo/viewer/viewer.pro >+sed -i -e 's|/opt/mapnik/include|../../include|g' demo/viewer/viewer.pro > sed -i -e 's|/opt/boost/include/boost-1_34_1|%{_includedir}/boost|g' demo/viewer/viewer.pro > sed -i -e 's|-L/opt/mapnik/lib|-L../../src/|g' demo/viewer/viewer.pro > sed -i -e 's|/usr/local|/usr|g' demo/viewer/viewer.pro > > %build >- >-# linkage errors >-#sed -i -e "s|libraries \= \[|libraries \= \[\'mapnik\',|g" plugins/input/gdal/SConscript >-#sed -i -e "s|libraries \= \[|libraries \= \[\'mapnik\',|g" plugins/input/postgis/SConscript >-#sed -i -e "s|libraries \= \[|libraries \= \[\'mapnik\',|g" plugins/input/shape/SConscript >-#sed -i -e "s|libraries \= \[|libraries \= \[\'mapnik\'|g" plugins/input/raster/SConscript >- > # fix build flags > sed -i -e "s|common_cxx_flags = .-D\%s|common_cxx_flags = \'-D\%s $RPM_OPT_FLAGS |g" SConstruct > >-# WARNING smp may break build >-# %{?_smp_mflags} >-scons PREFIX=%{_prefix} \ >- THREADING=multi \ >- XMLPARSER=libxml2 \ >- GDAL_INCLUDES=%{_includedir}/gdal \ >- INTERNAL_LIBAGG=False \ >- SYSTEM_FONTS=%{_datadir}/fonts \ >- BOOST_SYSTEM_REQUIRED=True >+scons configure DESTDIR=%{buildroot} \ >+ PREFIX=%{_prefix} \ >+ THREADING=multi \ >+ XMLPARSER=libxml2 \ >+ GDAL_INCLUDES=%{_includedir}/gdal \ >+ INTERNAL_LIBAGG=False \ >+ SYSTEM_FONTS=%{_datadir}/fonts \ >+ BOOST_SYSTEM_REQUIRED=True \ >+ LIBDIR_SCHEMA=%{_lib} >+ >+scons %{?_smp_mflags} > > # build mapnik viewer app > pushd demo/viewer > qmake-qt4 viewer.pro >-# WARNING smp may break build >-# %{?_smp_mflags} >-make >+make %{?_smp_mflags} > popd > > %install > >-scons install DESTDIR=%{buildroot} \ >- PREFIX=%{_prefix} \ >- THREADING=multi \ >- XMLPARSER=libxml2 \ >- GDAL_INCLUDES=%{_includedir}/gdal \ >- INTERNAL_LIBAGG=False >+scons install > > # get rid of fonts use external instead >-rm -rf %{buildroot}%{_libdir}/%{name}/fonts >+rm -rf %{buildroot}%{_libdir}/mapnik/fonts > > # install more utils > mkdir -p %{buildroot}%{_bindir} >@@ -188,28 +199,28 @@ install -p -m 755 utils/stats/mapdef_stats.py %{buildroot}%{_bindir}/ > install -p -m 644 %{SOURCE1} demo/data/ > > # install pkgconfig file >-cat > %{name}.pc <<EOF >+cat > mapnik.pc <<EOF > prefix=%{_prefix} > exec_prefix=%{_prefix} > includedir=%{_includedir} > >-Name: %{name} >+Name: mapnik > Description: Free Toolkit for developing mapping applications > Version: %{version} > Requires: libagg > Libs: -lmapnik >-Cflags: -I\${includedir}/%{name} >+Cflags: -I\${includedir}/mapnik > EOF > > mkdir -p %{buildroot}%{_datadir}/pkgconfig/ >-install -p -m 644 %{name}.pc %{buildroot}%{_datadir}/pkgconfig/ >+install -p -m 644 mapnik.pc %{buildroot}%{_datadir}/pkgconfig/ > > # install desktop file > desktop-file-install \ > %if 0%{?fedora} && 0%{?fedora} < 19 > --vendor="fedora" \ > %endif >- --dir=%{buildroot}%{_datadir}/applications %{SOURCE3} >+ --dir=%{buildroot}%{_datadir}/applications %{SOURCE2} > > %check > >@@ -233,29 +244,31 @@ popd > > %files > %defattr(-,root,root,-) >-%doc AUTHORS COPYING README >-%dir %{_libdir}/%{name}2 >-%dir %{_libdir}/%{name}2/input >+%doc AUTHORS.md CHANGELOG.md COPYING README.md >+%dir %{_libdir}/mapnik >+%dir %{_libdir}/mapnik/input > %{_bindir}/mapnik-config >-%{_libdir}/%{name}2/input/*.input >-%{_libdir}/lib%{name}2.so.* >+%{_libdir}/mapnik/input/*.input >+%{_libdir}/libmapnik.so.* > > %files devel > %defattr(-,root,root,-) > %doc docs/ >-%dir %{_includedir}/%{name} >-%{_includedir}/%{name}/* >-%{_libdir}/lib%{name}2.so >-%{_datadir}/pkgconfig/%{name}.pc >+%dir %{_includedir}/mapnik >+%{_includedir}/mapnik/* >+%{_libdir}/libmapnik.so >+%{_datadir}/pkgconfig/mapnik.pc > > %files python > %defattr(-,root,root,-) >-%{python_sitearch}/%{name}2 >+%{python_sitearch}/mapnik >+%{python_sitearch}/mapnik2 > %{_bindir}/mapdef_stats.py > > %files utils > %defattr(-,root,root,-) > %{_bindir}/shapeindex >+%{_bindir}/svg2png > %{_bindir}/viewer > %{_bindir}/mapnik-speed-check > %{_bindir}/upgrade_map_xml.py >@@ -272,6 +285,17 @@ popd > %doc demo/python demo/test > > %changelog >+* Tue Apr 2 2013 Jeffrey Ollie <jeff@ocjtech.us> - 2.1.0-3 >+- Add some requires to devel subpackage >+ >+* Fri Mar 29 2013 Jeffrey Ollie <jeff@ocjtech.us> - 2.1.0-2 >+- Fix build so that nothing gets recompiled in install phase >+- Other clean-ups >+ >+* Sat Feb 16 2013 Tom Hughes <tom@compton.nu> - 2.1.0-1 >+- Update to 2.1.0 upstream release >+- Filter out provides from the plugins >+ > * Thu Feb 14 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 2.0.0-13 > - Remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077 > >diff --git a/no_date_footer.html b/no_date_footer.html >deleted file mode 100644 >index 3d46190..0000000 >--- a/no_date_footer.html >+++ /dev/null >@@ -1,7 +0,0 @@ >-<hr size="1"><address style="text-align: right;"><small> >-Generated for $projectname by <a href="http://www.doxygen.org/ >-index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> >-$doxygenversion</small></address> >-</body> >-</html> >- >diff --git a/sources b/sources >index f3bc807..49bc72d 100644 >--- a/sources >+++ b/sources >@@ -1 +1 @@ >-499c6a61544014b9bc2a7c978f963ef3 mapnik-2.0.0.tar.bz2 >+d580c558a957444873bec9e24526b0a0 mapnik-v2.1.0.tar.bz2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 912087
:
698540
|
699384
|
718069
|
718075
|
730938
| 730969 |
730986