You've already forked lazarus-ccr
RgbGraphics: Move units into separate directory. Add rgb_graphics package file for compatibility with former OPM version.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7937 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1,72 +1,73 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<Package Version="3">
|
||||
<Package Version="5">
|
||||
<PathDelim Value="\"/>
|
||||
<Name Value="LazRGBGraphics"/>
|
||||
<AddToProjectUsesSection Value="True"/>
|
||||
<Author Value="Tom Gregorovic (_tom_@centrum.cz)"/>
|
||||
<CompilerOptions>
|
||||
<Version Value="5"/>
|
||||
<Version Value="11"/>
|
||||
<PathDelim Value="\"/>
|
||||
<SearchPaths>
|
||||
<IncludeFiles Value="include\"/>
|
||||
<IncludeFiles Value="include"/>
|
||||
<OtherUnitFiles Value="source"/>
|
||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)"/>
|
||||
<LCLWidgetType Value="gtk2"/>
|
||||
</SearchPaths>
|
||||
<CodeGeneration>
|
||||
<Generate Value="Faster"/>
|
||||
</CodeGeneration>
|
||||
<Parsing>
|
||||
<SyntaxOptions>
|
||||
<UseAnsiStrings Value="False"/>
|
||||
</SyntaxOptions>
|
||||
</Parsing>
|
||||
<Linking>
|
||||
<Debugging>
|
||||
<GenerateDebugInfo Value="True"/>
|
||||
<DebugInfoType Value="dsStabs"/>
|
||||
</Debugging>
|
||||
</Linking>
|
||||
<Other>
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
<Description Value="This package provides fast in memory image processing and pixel manipulations (like scan line).
|
||||
"/>
|
||||
<License Value="Modified LGPL
|
||||
"/>
|
||||
<Version Minor="2" Release="2"/>
|
||||
<Version Major="1"/>
|
||||
<Files Count="8">
|
||||
<Item1>
|
||||
<Filename Value="rgbgraphics.pas"/>
|
||||
<Filename Value="source\rgbgraphics.pas"/>
|
||||
<UnitName Value="RGBGraphics"/>
|
||||
</Item1>
|
||||
<Item2>
|
||||
<Filename Value="rgbutils.pas"/>
|
||||
<Filename Value="source\rgbutils.pas"/>
|
||||
<UnitName Value="RGBUtils"/>
|
||||
</Item2>
|
||||
<Item3>
|
||||
<Filename Value="rgbtypes.pas"/>
|
||||
<Filename Value="source\rgbtypes.pas"/>
|
||||
<UnitName Value="RGBTypes"/>
|
||||
</Item3>
|
||||
<Item4>
|
||||
<Filename Value="rgbroutines.pas"/>
|
||||
<Filename Value="source\rgbroutines.pas"/>
|
||||
<UnitName Value="RGBRoutines"/>
|
||||
</Item4>
|
||||
<Item5>
|
||||
<Filename Value="rgbwinroutines.pas"/>
|
||||
<Filename Value="source\rgbwinroutines.pas"/>
|
||||
<AddToUsesPkgSection Value="False"/>
|
||||
<UnitName Value="RGBWinRoutines"/>
|
||||
</Item5>
|
||||
<Item6>
|
||||
<Filename Value="rgbgtkroutines.pas"/>
|
||||
<Filename Value="source\rgbgtkroutines.pas"/>
|
||||
<AddToUsesPkgSection Value="False"/>
|
||||
<UnitName Value="RGBGTKRoutines"/>
|
||||
</Item6>
|
||||
<Item7>
|
||||
<Filename Value="rgbcarbonroutines.pas"/>
|
||||
<Filename Value="source\rgbcarbonroutines.pas"/>
|
||||
<AddToUsesPkgSection Value="False"/>
|
||||
<UnitName Value="RGBCarbonRoutines"/>
|
||||
</Item7>
|
||||
<Item8>
|
||||
<Filename Value="rgbqtroutines.pas"/>
|
||||
<Filename Value="source\rgbqtroutines.pas"/>
|
||||
<AddToUsesPkgSection Value="False"/>
|
||||
<UnitName Value="RGBQtRoutines"/>
|
||||
</Item8>
|
||||
</Files>
|
||||
<CompatibilityMode Value="True"/>
|
||||
<RequiredPkgs Count="2">
|
||||
<Item1>
|
||||
<PackageName Value="LCL"/>
|
||||
@ -77,12 +78,11 @@
|
||||
</Item2>
|
||||
</RequiredPkgs>
|
||||
<UsageOptions>
|
||||
<UnitPath Value="$(PkgOutDir)\"/>
|
||||
<UnitPath Value="$(PkgOutDir)"/>
|
||||
</UsageOptions>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
<DestinationDirectory Value="$(TestDir)\publishedpackage\"/>
|
||||
<IgnoreBinaries Value="False"/>
|
||||
</PublishOptions>
|
||||
</Package>
|
||||
</CONFIG>
|
||||
|
@ -4,6 +4,7 @@ This source is only used to compile and install the package.
|
||||
|
||||
unit LazRGBGraphics;
|
||||
|
||||
{$warn 5023 off : no warning about unused units}
|
||||
interface
|
||||
|
||||
uses
|
||||
|
36
components/rgbgraphics/readme.txt
Normal file
36
components/rgbgraphics/readme.txt
Normal file
@ -0,0 +1,36 @@
|
||||
-------------------------------------------------------------------------------
|
||||
RGBGraphics
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
LazRGBGraphics is a run-time package for fast in memory image processing and
|
||||
pixel manipulations (like scan line). The main advantage is direct memory
|
||||
access to bitmap pixels with keeping ability to draw bitmap onto canvas without
|
||||
any time consuming widgetset memory format converting.
|
||||
|
||||
Details:
|
||||
https://wiki.freepascal.org/LazRGBGraphics
|
||||
|
||||
|
||||
Installation
|
||||
------------
|
||||
This is a run-time package - no need to install. Just open it in
|
||||
"Package" > "Open package file (*.lpk)...". This is enough for the IDE to
|
||||
know the path to the package files. You may click "Compile" to verify
|
||||
the integrity of the package, but strictly speaking this is not necessary.
|
||||
|
||||
|
||||
Why are there two packages?
|
||||
---------------------------
|
||||
Yes, there are two packages, lazrgbgraphics.lpk as well as rgb_graphics.lpk.
|
||||
|
||||
lazrgbgraphics is the package by the original author in Lazarus CCR. Pilot Logic
|
||||
made a different version, and this eventually made it as rgb_graphics into the
|
||||
Lazarus Online-Package-Manager.
|
||||
|
||||
Both packages have the same content and differ only by their name. Since
|
||||
they are runtime packages the IDE accepts both of them. This way the risk of
|
||||
breaking user code is minimized.
|
||||
|
||||
For new users, however, it is recommended to use lazrgbgraphics.lpk only
|
||||
because the other one may be removed from the installation at some time
|
||||
in the future.
|
63
components/rgbgraphics/rgb_graphics.lpk
Normal file
63
components/rgbgraphics/rgb_graphics.lpk
Normal file
@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<Package Version="4">
|
||||
<PathDelim Value="\"/>
|
||||
<Name Value="rgb_graphics"/>
|
||||
<Author Value="Tom Gregorovic"/>
|
||||
<CompilerOptions>
|
||||
<Version Value="11"/>
|
||||
<PathDelim Value="\"/>
|
||||
<SearchPaths>
|
||||
<IncludeFiles Value="source"/>
|
||||
<OtherUnitFiles Value="source"/>
|
||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)\$(LCLWidgetType)"/>
|
||||
</SearchPaths>
|
||||
<Parsing>
|
||||
<SyntaxOptions>
|
||||
<UseAnsiStrings Value="False"/>
|
||||
</SyntaxOptions>
|
||||
</Parsing>
|
||||
</CompilerOptions>
|
||||
<Description Value="RGBGraphics
|
||||
"/>
|
||||
<License Value="Modified LGPL
|
||||
"/>
|
||||
<Version Major="1"/>
|
||||
<Files Count="4">
|
||||
<Item1>
|
||||
<Filename Value="source\rgbgraphics.pas"/>
|
||||
<UnitName Value="RGBGraphics"/>
|
||||
</Item1>
|
||||
<Item2>
|
||||
<Filename Value="source\rgbroutines.pas"/>
|
||||
<UnitName Value="RGBRoutines"/>
|
||||
</Item2>
|
||||
<Item3>
|
||||
<Filename Value="source\rgbtypes.pas"/>
|
||||
<UnitName Value="RGBTypes"/>
|
||||
</Item3>
|
||||
<Item4>
|
||||
<Filename Value="source\rgbutils.pas"/>
|
||||
<UnitName Value="RGBUtils"/>
|
||||
</Item4>
|
||||
</Files>
|
||||
<RequiredPkgs Count="2">
|
||||
<Item1>
|
||||
<PackageName Value="LCL"/>
|
||||
</Item1>
|
||||
<Item2>
|
||||
<PackageName Value="FCL"/>
|
||||
<MaxVersion Major="1"/>
|
||||
<MinVersion Major="1" Valid="True"/>
|
||||
</Item2>
|
||||
</RequiredPkgs>
|
||||
<UsageOptions>
|
||||
<UnitPath Value="$(PkgOutDir)"/>
|
||||
</UsageOptions>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
<DestinationDirectory Value="$(TestDir)\publishedpackage\"/>
|
||||
<IgnoreBinaries Value="False"/>
|
||||
</PublishOptions>
|
||||
</Package>
|
||||
</CONFIG>
|
15
components/rgbgraphics/rgb_graphics.pas
Normal file
15
components/rgbgraphics/rgb_graphics.pas
Normal file
@ -0,0 +1,15 @@
|
||||
{ This file was automatically created by Lazarus. Do not edit!
|
||||
This source is only used to compile and install the package.
|
||||
}
|
||||
|
||||
unit rgb_graphics;
|
||||
|
||||
{$warn 5023 off : no warning about unused units}
|
||||
interface
|
||||
|
||||
uses
|
||||
RGBGraphics, RGBRoutines, RGBTypes, RGBUtils;
|
||||
|
||||
implementation
|
||||
|
||||
end.
|
Reference in New Issue
Block a user