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>
|
<CONFIG>
|
||||||
<Package Version="3">
|
<Package Version="5">
|
||||||
<PathDelim Value="\"/>
|
<PathDelim Value="\"/>
|
||||||
<Name Value="LazRGBGraphics"/>
|
<Name Value="LazRGBGraphics"/>
|
||||||
|
<AddToProjectUsesSection Value="True"/>
|
||||||
<Author Value="Tom Gregorovic (_tom_@centrum.cz)"/>
|
<Author Value="Tom Gregorovic (_tom_@centrum.cz)"/>
|
||||||
<CompilerOptions>
|
<CompilerOptions>
|
||||||
<Version Value="5"/>
|
<Version Value="11"/>
|
||||||
<PathDelim Value="\"/>
|
<PathDelim Value="\"/>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<IncludeFiles Value="include\"/>
|
<IncludeFiles Value="include"/>
|
||||||
|
<OtherUnitFiles Value="source"/>
|
||||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)"/>
|
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)"/>
|
||||||
<LCLWidgetType Value="gtk2"/>
|
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
<CodeGeneration>
|
<Parsing>
|
||||||
<Generate Value="Faster"/>
|
<SyntaxOptions>
|
||||||
</CodeGeneration>
|
<UseAnsiStrings Value="False"/>
|
||||||
|
</SyntaxOptions>
|
||||||
|
</Parsing>
|
||||||
<Linking>
|
<Linking>
|
||||||
<Debugging>
|
<Debugging>
|
||||||
<GenerateDebugInfo Value="True"/>
|
<DebugInfoType Value="dsStabs"/>
|
||||||
</Debugging>
|
</Debugging>
|
||||||
</Linking>
|
</Linking>
|
||||||
<Other>
|
|
||||||
<CompilerPath Value="$(CompPath)"/>
|
|
||||||
</Other>
|
|
||||||
</CompilerOptions>
|
</CompilerOptions>
|
||||||
<Description Value="This package provides fast in memory image processing and pixel manipulations (like scan line).
|
<Description Value="This package provides fast in memory image processing and pixel manipulations (like scan line).
|
||||||
"/>
|
"/>
|
||||||
<License Value="Modified LGPL
|
<License Value="Modified LGPL
|
||||||
"/>
|
"/>
|
||||||
<Version Minor="2" Release="2"/>
|
<Version Major="1"/>
|
||||||
<Files Count="8">
|
<Files Count="8">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="rgbgraphics.pas"/>
|
<Filename Value="source\rgbgraphics.pas"/>
|
||||||
<UnitName Value="RGBGraphics"/>
|
<UnitName Value="RGBGraphics"/>
|
||||||
</Item1>
|
</Item1>
|
||||||
<Item2>
|
<Item2>
|
||||||
<Filename Value="rgbutils.pas"/>
|
<Filename Value="source\rgbutils.pas"/>
|
||||||
<UnitName Value="RGBUtils"/>
|
<UnitName Value="RGBUtils"/>
|
||||||
</Item2>
|
</Item2>
|
||||||
<Item3>
|
<Item3>
|
||||||
<Filename Value="rgbtypes.pas"/>
|
<Filename Value="source\rgbtypes.pas"/>
|
||||||
<UnitName Value="RGBTypes"/>
|
<UnitName Value="RGBTypes"/>
|
||||||
</Item3>
|
</Item3>
|
||||||
<Item4>
|
<Item4>
|
||||||
<Filename Value="rgbroutines.pas"/>
|
<Filename Value="source\rgbroutines.pas"/>
|
||||||
<UnitName Value="RGBRoutines"/>
|
<UnitName Value="RGBRoutines"/>
|
||||||
</Item4>
|
</Item4>
|
||||||
<Item5>
|
<Item5>
|
||||||
<Filename Value="rgbwinroutines.pas"/>
|
<Filename Value="source\rgbwinroutines.pas"/>
|
||||||
<AddToUsesPkgSection Value="False"/>
|
<AddToUsesPkgSection Value="False"/>
|
||||||
<UnitName Value="RGBWinRoutines"/>
|
<UnitName Value="RGBWinRoutines"/>
|
||||||
</Item5>
|
</Item5>
|
||||||
<Item6>
|
<Item6>
|
||||||
<Filename Value="rgbgtkroutines.pas"/>
|
<Filename Value="source\rgbgtkroutines.pas"/>
|
||||||
<AddToUsesPkgSection Value="False"/>
|
<AddToUsesPkgSection Value="False"/>
|
||||||
<UnitName Value="RGBGTKRoutines"/>
|
<UnitName Value="RGBGTKRoutines"/>
|
||||||
</Item6>
|
</Item6>
|
||||||
<Item7>
|
<Item7>
|
||||||
<Filename Value="rgbcarbonroutines.pas"/>
|
<Filename Value="source\rgbcarbonroutines.pas"/>
|
||||||
<AddToUsesPkgSection Value="False"/>
|
<AddToUsesPkgSection Value="False"/>
|
||||||
<UnitName Value="RGBCarbonRoutines"/>
|
<UnitName Value="RGBCarbonRoutines"/>
|
||||||
</Item7>
|
</Item7>
|
||||||
<Item8>
|
<Item8>
|
||||||
<Filename Value="rgbqtroutines.pas"/>
|
<Filename Value="source\rgbqtroutines.pas"/>
|
||||||
<AddToUsesPkgSection Value="False"/>
|
<AddToUsesPkgSection Value="False"/>
|
||||||
<UnitName Value="RGBQtRoutines"/>
|
<UnitName Value="RGBQtRoutines"/>
|
||||||
</Item8>
|
</Item8>
|
||||||
</Files>
|
</Files>
|
||||||
|
<CompatibilityMode Value="True"/>
|
||||||
<RequiredPkgs Count="2">
|
<RequiredPkgs Count="2">
|
||||||
<Item1>
|
<Item1>
|
||||||
<PackageName Value="LCL"/>
|
<PackageName Value="LCL"/>
|
||||||
@ -77,12 +78,11 @@
|
|||||||
</Item2>
|
</Item2>
|
||||||
</RequiredPkgs>
|
</RequiredPkgs>
|
||||||
<UsageOptions>
|
<UsageOptions>
|
||||||
<UnitPath Value="$(PkgOutDir)\"/>
|
<UnitPath Value="$(PkgOutDir)"/>
|
||||||
</UsageOptions>
|
</UsageOptions>
|
||||||
<PublishOptions>
|
<PublishOptions>
|
||||||
<Version Value="2"/>
|
<Version Value="2"/>
|
||||||
<DestinationDirectory Value="$(TestDir)\publishedpackage\"/>
|
<DestinationDirectory Value="$(TestDir)\publishedpackage\"/>
|
||||||
<IgnoreBinaries Value="False"/>
|
|
||||||
</PublishOptions>
|
</PublishOptions>
|
||||||
</Package>
|
</Package>
|
||||||
</CONFIG>
|
</CONFIG>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
{ This file was automatically created by Lazarus. Do not edit!
|
{ This file was automatically created by Lazarus. Do not edit!
|
||||||
This source is only used to compile and install the package.
|
This source is only used to compile and install the package.
|
||||||
}
|
}
|
||||||
|
|
||||||
unit LazRGBGraphics;
|
unit LazRGBGraphics;
|
||||||
|
|
||||||
|
{$warn 5023 off : no warning about unused units}
|
||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
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