From b025323d2245217f41dd552a4135887d44e613db Mon Sep 17 00:00:00 2001 From: Abogical Date: Sat, 9 Jan 2016 18:28:32 +0200 Subject: [PATCH 1/4] Added libfpx recipe and fixed it --- media-libs/libfpx/libfpx-1.3.1.recipe | 56 +++++++++++++++++++ media-libs/libfpx/licenses/Flashpix | 78 +++++++++++++++++++++++++++ 2 files changed, 134 insertions(+) create mode 100644 media-libs/libfpx/libfpx-1.3.1.recipe create mode 100644 media-libs/libfpx/licenses/Flashpix diff --git a/media-libs/libfpx/libfpx-1.3.1.recipe b/media-libs/libfpx/libfpx-1.3.1.recipe new file mode 100644 index 000000000..5cc48cf74 --- /dev/null +++ b/media-libs/libfpx/libfpx-1.3.1.recipe @@ -0,0 +1,56 @@ +SUMMARY="FlashPIX Open Source Toolkit" +DESCRIPTION="The FlashPIX Open Source Toolkit has library routines which handles FlashPIX images \ +and is based on source code obtained from the Digital Imaging Group Inc. (currently known as International \ +Imaging Industry Association or i3a)." +HOMEPAGE="http://www.i3a.org" +COPYRIGHT="1999 Digital Imaging Group, Inc." +LICENSE="Flashpix" +REVISION="1" +SOURCE_URI="http://www.imagemagick.org/download/delegates/libfpx-1.3.1-6.tar.xz" +CHECKSUM_SHA256="8ea8df5454f1a96c8a49446b7a0d3f7374ce87c501f90e64f4d6ea2d735b0c94" +SOURCE_DIR="libfpx-1.3.1-6" +ARCHITECTURES="?x86 ?x86_64 x86_gcc2 ?arm" + +PROVIDES=" + libfpx = $portVersion + lib:libfpx = $portVersion +" + +REQUIRES="haiku" + +BUILD_PREREQUIRES=" + haiku_devel + cmd:g++ + cmd:make + cmd:awk +" + + +BUILD() +{ + runConfigure ./configure --disable-dependency-tracking CPPFLAGS=-D__linux__ + make $jobArgs +} + +INSTALL() +{ + make install + prepareInstalledDevelLib libfpx + fixPkgconfig + + packageEntries devel $developDir +} + +TEST() +{ + make test +} + +REQUIRES_devel=" + libfpx +" + +PROVIDES_devel=" + libfpx_devel=$portVersion + devel:libfpx=$portVersion +" diff --git a/media-libs/libfpx/licenses/Flashpix b/media-libs/libfpx/licenses/Flashpix new file mode 100644 index 000000000..bd9903dd5 --- /dev/null +++ b/media-libs/libfpx/licenses/Flashpix @@ -0,0 +1,78 @@ + Permission is hereby granted to use, copy, modify, and distribute this + source code, or portions hereof, with or without modifications, for any + purpose and without fee or royalty, subject to the following + restrictions: + + 1. The origin of this source code or any portion of this source code must + be attributed to the Digital Imaging Group Inc. and the contributors of + the Flashpix toolkit source code -- Eastman Kodak Company. + + 2. Altered versions must be plainly marked as such and must not be + misrepresented as being the original source. + + 3. This Copyright notice may not be removed or altered from any source or + altered source distribution. + + 4. All advertising materials mentioning features or use of this software + must display the following acknowledgement: "This product includes + software developed by the contributors and Digital Imaging Group, Inc. + (http://www.digitalimaging.org/) for use in the Flashpix Toolkit + Project." + + 5. The names "Digital Imaging Group", "DIG", and any other marks + identified as trademarks or service marks of DIG must not be used to + endorse or promote products derived from this software without prior + written permission. For written permission please contact + admin@digitalimaging.org. Certification marks owned by DIG may only be + used in connection with a signed certification agreement. The term + "Flashpix Toolkit" may only be used to refer to the specification owned + by the DIG. + + 6. AS IS - NO WARRANTY + The Software is provided "AS IS" and without warranty. Neither DIG + nor its contributors warrant that the functions contained in the + Software will meet your requirements or that the operation of the + Software will be uninterrupted or error free. Neither DIG nor its + contributors makes any representation or warranty as to whether the + Software, or the operation of the Software, infringes any patent, + copyright, trademark or other right of any third party. You assume + responsibility for operation of the Software to achieve your intended + results, and for the installation,use,and results obtained from the + Software. + + 7. Subject to any applicable legislation which prohibits the following + exclusions, NEITHER DIG NOR ITS CONTRIBUTORS MAKE + ANY OTHER WARRANTIES OF ANY KIND, EITHER + EXPRESS OR IMPLIED, INCLUDING THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE OR NONINFRINGEMENT. Some + jurisdictions do not allow the exclusion of implied warranties, or have + legislation that imposes certain statutory warranties that cannot be + excluded, so the above exclusion may not apply to you. This warranty + gives you specific legal rights and you may also have other rights. + + 8. LIMITATIONS OF REMEDIES + IN NO EVENT WILL DIG OR ITS CONTRIBUTORS OR + SUPPLIERS BE LIABLE TO YOU FOR ANY INCIDENTAL OR + CONSEQUENTIAL DAMAGES, INCLUDING ANY LOST + PROFITS, LOST SAVINGS, OR OTHER DAMAGES ARISING + OUT OF THE USE OR INABILITY TO USE THE SOFTWARE + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGES. + + 9. You will be responsible for complying with all applicable laws relating + to your use of the software including, without limitation, export laws. + + This Agreement constitutes the entire agreement between you and DIG + with reference to this transaction. If the Software was acquired + in the United States, this Agreement is governed by the laws of the State + of New York. If acquired outside the United States, this + Agreement is governed by the laws of the country in which it + was acquired. + + The contributing authors and Digital Imaging Group specifically permit, + without fee, and encourage the use of this source code as a component to + supporting the Flashpix file format in commercial products. If + you use this source code in a product, acknowledgment is not required but + would be appreciated. + From eeb9f144e6ae4a2a15fd2ce27d6f57c8f87572fc Mon Sep 17 00:00:00 2001 From: Abogical Date: Sat, 9 Jan 2016 18:51:39 +0200 Subject: [PATCH 2/4] fixed REQUIRED and PROVIDES --- media-libs/libfpx/libfpx-1.3.1.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/libfpx/libfpx-1.3.1.recipe b/media-libs/libfpx/libfpx-1.3.1.recipe index 5cc48cf74..01361b4a5 100644 --- a/media-libs/libfpx/libfpx-1.3.1.recipe +++ b/media-libs/libfpx/libfpx-1.3.1.recipe @@ -47,10 +47,10 @@ TEST() } REQUIRES_devel=" - libfpx + libfpx == $portVersion base " PROVIDES_devel=" - libfpx_devel=$portVersion + libfpx$_devel=$portVersion devel:libfpx=$portVersion " From e40510b70831f2e2b1ac77d38111ec61f93ba5f7 Mon Sep 17 00:00:00 2001 From: Abogical Date: Sat, 9 Jan 2016 20:18:19 +0200 Subject: [PATCH 3/4] Minor tweaks for the recipe --- media-libs/libfpx/libfpx-1.3.1.recipe | 35 +++++++++++++-------------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/media-libs/libfpx/libfpx-1.3.1.recipe b/media-libs/libfpx/libfpx-1.3.1.recipe index 01361b4a5..d9a95ae24 100644 --- a/media-libs/libfpx/libfpx-1.3.1.recipe +++ b/media-libs/libfpx/libfpx-1.3.1.recipe @@ -9,22 +9,31 @@ REVISION="1" SOURCE_URI="http://www.imagemagick.org/download/delegates/libfpx-1.3.1-6.tar.xz" CHECKSUM_SHA256="8ea8df5454f1a96c8a49446b7a0d3f7374ce87c501f90e64f4d6ea2d735b0c94" SOURCE_DIR="libfpx-1.3.1-6" + ARCHITECTURES="?x86 ?x86_64 x86_gcc2 ?arm" PROVIDES=" libfpx = $portVersion lib:libfpx = $portVersion " - -REQUIRES="haiku" - -BUILD_PREREQUIRES=" - haiku_devel - cmd:g++ - cmd:make - cmd:awk +REQUIRES=" + haiku " +BUILD_REQUIRES=" + haiku_devel + cmd:awk + cmd:g++ + cmd:make +" + +REQUIRES_devel=" + libfpx == $portVersion base +" +PROVIDES_devel=" + libfpx$_devel=$portVersion + devel:libfpx=$portVersion +" BUILD() { @@ -37,7 +46,6 @@ INSTALL() make install prepareInstalledDevelLib libfpx fixPkgconfig - packageEntries devel $developDir } @@ -45,12 +53,3 @@ TEST() { make test } - -REQUIRES_devel=" - libfpx == $portVersion base -" - -PROVIDES_devel=" - libfpx$_devel=$portVersion - devel:libfpx=$portVersion -" From 1c82474e5615dfd6a96a3a318400ea048b38f4a6 Mon Sep 17 00:00:00 2001 From: Abogical Date: Sat, 9 Jan 2016 20:32:36 +0200 Subject: [PATCH 4/4] Infinitesimal changes --- media-libs/libfpx/libfpx-1.3.1.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/libfpx/libfpx-1.3.1.recipe b/media-libs/libfpx/libfpx-1.3.1.recipe index d9a95ae24..366794a6c 100644 --- a/media-libs/libfpx/libfpx-1.3.1.recipe +++ b/media-libs/libfpx/libfpx-1.3.1.recipe @@ -1,5 +1,5 @@ -SUMMARY="FlashPIX Open Source Toolkit" -DESCRIPTION="The FlashPIX Open Source Toolkit has library routines which handles FlashPIX images \ +SUMMARY="FlashPIX open source toolkit" +DESCRIPTION="The FlashPIX open source toolkit has library routines which handles FlashPIX images \ and is based on source code obtained from the Digital Imaging Group Inc. (currently known as International \ Imaging Industry Association or i3a)." HOMEPAGE="http://www.i3a.org"