SHA256
1
0
forked from pool/lazarus

Accepting request 65787 from home:termim:branches:devel:languages:pascal

Thanks for the update! Added you as maintainer of the package in Education - so feel free to work on the package there...

OBS-URL: https://build.opensuse.org/request/show/65787
OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/lazarus?expand=0&rev=20
This commit is contained in:
Lars Vogdt 2011-04-08 18:38:33 +00:00 committed by Git OBS Bridge
parent 7c4ee88ec8
commit f43451aef2
6 changed files with 131 additions and 74 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4720c8d633c8e3d18750452278d135450c7c942ff591c10cd7d9afc6bc0f724e
size 11037130

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5711372c6724d19624be6cb8f6c397d789f3ac6fd7f70f825817ee47bd0e4dfd
size 12933724

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ee8ba358e996a6f436f70d15e64976789c2b8f28b2e2dbf1b737de593b4d23e3
size 17926864

View File

@ -1,7 +1,5 @@
Index: lazarus/Makefile.fpc --- lazarus/Makefile.fpc (version 0.9.30)
=================================================================== +++ lazarus/Makefile.fpc 2011-04-01 17:56:24.000000000 -0400
--- lazarus/Makefile.fpc (version 0.9.26)
+++ lazarus/Makefile.fpc (working copy)
@@ -21,7 +21,7 @@ @@ -21,7 +21,7 @@
[install] [install]
@ -20,8 +18,8 @@ Index: lazarus/Makefile.fpc
INSTALL_MAN_DIR=$(INSTALL_PREFIX)/share/man INSTALL_MAN_DIR=$(INSTALL_PREFIX)/share/man
ifneq ($(findstring $(OS_TARGET),win32 win64),) ifneq ($(findstring $(OS_TARGET),win32 win64),)
LAZARUS_INSTALL_DIR=C:\lazarus LAZARUS_INSTALL_DIR=C:\lazarus
@@ -110,8 +110,8 @@ @@ -115,8 +115,8 @@
ifeq ($(OS_TARGET),win32) ifneq ($(findstring $(OS_TARGET),win32 win64),)
else else
- $(MKDIR) $(INSTALL_PREFIX)/share - $(MKDIR) $(INSTALL_PREFIX)/share

57
lazarus.changes Normal file
View File

@ -0,0 +1,57 @@
-------------------------------------------------------------------
Fri Apr 1 22:54:14 UTC 2011 - termim@gmail.com
- Update to 0.9.30
-------------------------------------------------------------------
Tue Nov 03 2009 Toni Graffy <toni@links2linux.de> - 0.9.28.2-1.pm.1
- fixed configfile environmentoptions.xml
-------------------------------------------------------------------
Sun Nov 01 2009 Toni Graffy <toni@links2linux.de> - 0.9.28.2-0.pm.1
- update to 0.9.28.2
- This release fixes compiling a test application without saving (missing
project1.lrs). The Lazarus directory is now set correctly by the deb package.
Some other small fixes are also included.
-------------------------------------------------------------------
Tue Oct 27 2009 Toni Graffy <toni@links2linux.de> - 0.9.28-0.pm.1
- update to 0.9.28
- In this major release, the IDE has many source editor improvements like display
of "double width" fonts (such as Eastern, Japanese, Chinese, and Arabic), better
code folding, highlighting, syncro editing, and persistent blocks. The debugger
has assembler windows, easier exception handling, and breakpoint properties. The
LCL now uses GTK2 as the default widgetset on Linux and BSD and includes the
TMonitor class for multi-monitor support. Refactoring of LCL reduced the minimum
size of executables by about 15%. The support of TFrame support has improved, so
you can visually nest designers in the IDE.
-------------------------------------------------------------------
Mon May 04 2009 Toni Graffy <toni@links2linux.de> - 0.9.26.2-0.pm.3
- rebuild against fpc-2.2.4
-------------------------------------------------------------------
Mon Mar 23 2009 Toni Graffy <toni@links2linux.de> - 0.9.26.2-0.pm.2
- update to 0.9.26.2 (release-tarball)
-------------------------------------------------------------------
Sat Feb 28 2009 Toni Graffy <toni@links2linux.de> - 0.9.26.2-0.pm.1
- update to 0.9.26.2
svn co https://lazarus.svn.sourceforge.net/svnroot/lazarus/tags/lazarus_0_9_26_2 lazarus
-------------------------------------------------------------------
Sat Nov 01 2008 Toni Graffy <toni@links2linux.de> - 0.9.26-0.pm.2
- rebuild against fpc-2.2.2-0.pm.2
-------------------------------------------------------------------
Thu Oct 30 2008 Toni Graffy <toni@links2linux.de> - 0.9.26-0.pm.1
- initial build for packman (fpc-2.2.2 is working with this version)
- based on fedora spec-file from Lubomir Rintel <lkundrak@v3.sk>

View File

@ -1,14 +1,16 @@
#
# spec file for package lazarus
#
# Copyright (c) 2008-2009 oc2pus # Copyright (c) 2008-2009 oc2pus
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # package are under the same license as the package itself.
# #
# Please submit bugfixes or comments to toni@links2linux.de
# norootforbuild # norootforbuild
Name: lazarus Name: lazarus
Version: 0.9.28.2 Version: 0.9.30
Release: 1.pm.1 Release: 0
Summary: Lazarus Component Library and IDE Summary: Lazarus Component Library and IDE
Group: Development/Languages/Other Group: Development/Languages/Other
License: GPL and modified LGPL License: GPL and modified LGPL
@ -18,31 +20,39 @@ Url: http://www.lazarus.freepascal.org/
# svn co https://lazarus.svn.sourceforge.net/svnroot/lazarus/tags/lazarus_0_9_26_2 lazarus # svn co https://lazarus.svn.sourceforge.net/svnroot/lazarus/tags/lazarus_0_9_26_2 lazarus
#Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 #Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
# release build: # release build:
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}-src.tar.bz2 #Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}-src.tar.bz2
Source0: %{name}-%{version}-src.tar.bz2
Source1: %{name}.desktop Source1: %{name}.desktop
Source90: %{name}-rpmlintrc Source90: %{name}-rpmlintrc
Patch: %{name}-Makefile_patch.diff Patch: %{name}-Makefile_patch.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: shared-mime-info
BuildRequires: ImageMagick
BuildRequires: dos2unix BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: fpc >= 2.2.4 BuildRequires: fpc >= 2.2.4
BuildRequires: fpc-src >= 2.2.4 BuildRequires: fpc-src >= 2.2.4
BuildRequires: gdk-pixbuf-devel BuildRequires: gtk2
BuildRequires: gtk2-devel
%if 0%{?suse_version}
PreReq: shared-mime-info
BuildRequires: fdupes
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: gtk2-devel gtk2
BuildRequires: gtk-devel
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
Requires: fpc >= 2.2.4
Requires: fpc-src >= 2.2.4
Requires: gdb
Requires: gdk-pixbuf-devel
Requires: glib2-devel
Requires: gtk2-devel
%if %suse_version >= 1120 %if %suse_version >= 1120
BuildRequires: libdb-4_5-devel BuildRequires: libdb-4_5-devel
%endif %endif
Requires: glib2-devel
Requires: gtk2-devel
%endif
Requires: gdb
Requires: fpc
%if 0%{?fedora_version}
Requires: fpc-src
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
%endif
%description %description
Lazarus is a free and open source Rapid Application Development Lazarus is a free and open source Rapid Application Development
@ -54,7 +64,6 @@ library - LCL. The LCL is included in this package.
%prep %prep
%setup -q -n %{name} %setup -q -n %{name}
%patch -p1 %patch -p1
%__rm Makefile.fpc.orig
# remove the files for building debian-repositories # remove the files for building debian-repositories
%__rm -rf debian %__rm -rf debian
@ -62,8 +71,10 @@ library - LCL. The LCL is included in this package.
%__rm tools/install/cross_unix/create_linux_cross_win32_deb.sh %__rm tools/install/cross_unix/create_linux_cross_win32_deb.sh
%__rm tools/install/cross_unix/HowToCreate_fpc_crosswin32_deb.txt %__rm tools/install/cross_unix/HowToCreate_fpc_crosswin32_deb.txt
# remove the files for installing on macosx
%__rm -rf tools/install/macosx/
# remove scripts vulnerable to symlink-attacks (bug 460642) # remove scripts vulnerable to symlink-attacks (bug 460642)
%__rm tools/convert_po_file_to_utf-8.sh
%__rm tools/install/build_fpc_snaphot_rpm.sh %__rm tools/install/build_fpc_snaphot_rpm.sh
%__rm tools/install/check_fpc_dependencies.sh %__rm tools/install/check_fpc_dependencies.sh
%__rm tools/install/create_fpc_deb.sh %__rm tools/install/create_fpc_deb.sh
@ -92,10 +103,22 @@ fi
const RevisionStr = 'Unknown'; const RevisionStr = 'Unknown';
EOF EOF
%__make tools OPT="$MAKEOPTS" %__make tools OPT="$MAKEOPTS -k-build-id"
%__make bigide OPT="$MAKEOPTS" USESVN2REVISIONINC=0 %__make bigide OPT="$MAKEOPTS" USESVN2REVISIONINC=0
%__make lazbuilder OPT="$MAKEOPTS" %__make lazbuilder OPT="$MAKEOPTS"
# build Qt4 interface
pushd lcl/interfaces/qt
%__make all \
LCL_PLATFORM=qt \
OPT="-dUSE_QT_45 \
-dQT_NATIVE_DIALOGS"
popd
cd lcl/interfaces/gtk2
make PREFIX=%{_prefix} clean all LCL_PLATFORM=gtk2
cd ../../../
# add the ability to create gtk2-applications build gtk2.ppu # add the ability to create gtk2-applications build gtk2.ppu
export LCL_PLATFORM=gtk2 export LCL_PLATFORM=gtk2
%__make lcl ideintf packager/registration bigidecomponents OPT="$MAKEOPTS" %__make lcl ideintf packager/registration bigidecomponents OPT="$MAKEOPTS"
@ -104,8 +127,10 @@ export LCL_PLATFORM=
%install %install
%makeinstall \ %makeinstall \
INSTALL_PREFIX=%{buildroot}%{_prefix} \ INSTALL_PREFIX=%{buildroot}%{_prefix} \
_LIB=%{_lib} _LIB=%{_lib} \
PREFIX=%{_prefix} \
clean all \
LCL_PLATFORM=gtk2
# man-page # man-page
%__make -C install/man \ %__make -C install/man \
INSTALL_MANDIR=%{buildroot}%{_mandir} INSTALL_MANDIR=%{buildroot}%{_mandir}
@ -121,6 +146,8 @@ ln -sf ../%{_lib}/%{name}/startlazarus \
ln -sf ../%{_lib}/%{name}/lazbuild \ ln -sf ../%{_lib}/%{name}/lazbuild \
%{buildroot}%{_bindir}/lazbuild %{buildroot}%{_bindir}/lazbuild
%__install -dm 755 %{buildroot}%{_libdir}/%{name}/tools
# collect docs and samples # collect docs and samples
%__install -dm 755 %{buildroot}%{_defaultdocdir}/%{name} %__install -dm 755 %{buildroot}%{_defaultdocdir}/%{name}
%__mv %{buildroot}%{_libdir}/%{name}/examples \ %__mv %{buildroot}%{_libdir}/%{name}/examples \
@ -139,7 +166,9 @@ ln -s %{_defaultdocdir}/%{name}/examples \
%__install -dm 755 %{buildroot}%{_datadir}/applications %__install -dm 755 %{buildroot}%{_datadir}/applications
%__install -m 644 %{SOURCE1} \ %__install -m 644 %{SOURCE1} \
%{buildroot}%{_datadir}/applications/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
%if 0%{?suse_version}
%suse_update_desktop_file -n %{name} Development IDE %suse_update_desktop_file -n %{name} Development IDE
%endif
# mime info # mime info
%__install -dm 755 %{buildroot}%{_datadir}/mime/packages %__install -dm 755 %{buildroot}%{_datadir}/mime/packages
@ -157,27 +186,32 @@ ln -s %{_defaultdocdir}/%{name}/examples \
%__cp %{buildroot}%{_sysconfdir}/%{name}/environmentoptions.xml \ %__cp %{buildroot}%{_sysconfdir}/%{name}/environmentoptions.xml \
%{buildroot}%{_libdir}/%{name}/tools/install/linux %{buildroot}%{_libdir}/%{name}/tools/install/linux
# fix rights # fix encoding
%__chmod 755 %{buildroot}%{_libdir}/%{name}/components/lazreport/tools/localize.sh for file in $(find %{buildroot}%{_defaultdocdir}/%{name}/examples -type f); do
%__chmod 755 %{buildroot}%{_libdir}/%{name}/tools/install/macosx/uninstall.sh sed -i 's/\r$//' $file
done
# cleanup
%__rm -rf %{buildroot}%{_libdir}/%{name}/install/man %__rm -rf %{buildroot}%{_libdir}/%{name}/install/man
%if 0%{?suse_version}
%fdupes -s %{buildroot} %fdupes -s %{buildroot}
%endif
%__chmod 644 %{buildroot}%{_libdir}/%{name}/tools/chmmaker/chmwriter.lpi
%__chmod 644 %{buildroot}%{_libdir}/%{name}/tools/chmmaker/unit1.lfm
%__chmod 644 %{buildroot}%{_libdir}/%{name}/tools/chmmaker/unit1.lrs
%__chmod 644 %{buildroot}%{_libdir}/%{name}/tools/chmmaker/unit1.pas
%__chmod 755 %{buildroot}%{_libdir}/%{name}/components/lazsvnpkg/lazsvnpkg_images.sh
%clean %clean
[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}" [ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"
%post %post
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : if [ -x %{_bindir}/update-mime-database ]; then
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null || :
fi
%postun %postun
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : if [ -x %{_bindir}/update-mime-database ]; then
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null || :
fi
%if 0%{?fedora_version}
update-desktop-database &> /dev/null ||:
%endif
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -197,32 +231,3 @@ ln -s %{_defaultdocdir}/%{name}/examples \
%{_datadir}/mime/packages/%{name}.xml %{_datadir}/mime/packages/%{name}.xml
%changelog %changelog
* Tue Nov 03 2009 Toni Graffy <toni@links2linux.de> - 0.9.28.2-1.pm.1
- fixed configfile environmentoptions.xml
* Sun Nov 01 2009 Toni Graffy <toni@links2linux.de> - 0.9.28.2-0.pm.1
- update to 0.9.28.2
- This release fixes compiling a test application without saving (missing
project1.lrs). The Lazarus directory is now set correctly by the deb package.
Some other small fixes are also included.
* Tue Oct 27 2009 Toni Graffy <toni@links2linux.de> - 0.9.28-0.pm.1
- update to 0.9.28
- In this major release, the IDE has many source editor improvements like display
of "double width" fonts (such as Eastern, Japanese, Chinese, and Arabic), better
code folding, highlighting, syncro editing, and persistent blocks. The debugger
has assembler windows, easier exception handling, and breakpoint properties. The
LCL now uses GTK2 as the default widgetset on Linux and BSD and includes the
TMonitor class for multi-monitor support. Refactoring of LCL reduced the minimum
size of executables by about 15%. The support of TFrame support has improved, so
you can visually nest designers in the IDE.
* Mon May 04 2009 Toni Graffy <toni@links2linux.de> - 0.9.26.2-0.pm.3
- rebuild against fpc-2.2.4
* Mon Mar 23 2009 Toni Graffy <toni@links2linux.de> - 0.9.26.2-0.pm.2
- update to 0.9.26.2 (release-tarball)
* Sat Feb 28 2009 Toni Graffy <toni@links2linux.de> - 0.9.26.2-0.pm.1
- update to 0.9.26.2
svn co https://lazarus.svn.sourceforge.net/svnroot/lazarus/tags/lazarus_0_9_26_2 lazarus
* Sat Nov 01 2008 Toni Graffy <toni@links2linux.de> - 0.9.26-0.pm.2
- rebuild against fpc-2.2.2-0.pm.2
* Thu Oct 30 2008 Toni Graffy <toni@links2linux.de> - 0.9.26-0.pm.1
- initial build for packman (fpc-2.2.2 is working with this version)
- based on fedora spec-file from Lubomir Rintel <lkundrak@v3.sk>