dev-libs/liblightscribe: correct bug in sample

(Portage version: 2.1.9.24/svn/Linux x86_64)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/lightscribe@2706 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-11-09 07:11:33 +00:00
parent 58f1ebef82
commit 67100d30bb
5 changed files with 32 additions and 4 deletions

View File

@ -2,6 +2,11 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
09 Nov 2010; Mario Fetka <mario.fetka@gmail.com>
liblightscribe-1.18.19.1-r1.ebuild, +files/liblightscribe-gcc43-1.patch,
metadata.xml:
correct bug in sample
06 Nov 2010; Mario Fetka <mario.fetka@gmail.com>
-liblightscribe-1.18.11.1-r1.ebuild, -liblightscribe-1.18.12.1.ebuild,
-liblightscribe-1.18.13.1.ebuild, -liblightscribe-1.18.14.1.ebuild,

View File

@ -1,6 +1,7 @@
AUX liblightscribe-gcc43-1.patch 717 RMD160 9292377e27207bdc66e4a01632467f15448239ab SHA1 8e64ad6c7522b11c62b6ee1fbea7800f531c96c3 SHA256 832c4f2ae472c308499af7dcee11afb42a7a241b5f1133847105fc36303d806a
DIST LightScribe_logo_black.zip 299480 RMD160 9121e114c7a0434c317aafd192296bde18af2219 SHA1 36c45d4f1de9e36f71e9b486ef3962282b4e9f4e SHA256 d299f5adc9d1f5adb3b05e8a9f6da4922657bd13134ea20fdc8bf68ebd8566f1
DIST lightscribe-1.18.19.1-linux-2.6-intel.rpm 823248 RMD160 d28c692d0df0d64cfc5ebb8718771d2a7f14dedc SHA1 1960968cfef209a0a12e280e46d1ae7819297239 SHA256 db4e8ebffcb82c61c5b784b6b289ea5f0a0bb05c9c09011fc9112922fd8e9161
DIST lightscribePublicSDK-1.18.6.1-linux-2.6-intel.rpm 622177 RMD160 6ac5bc74fb2de7602b5f42aecd4ea312c272cad4 SHA1 e46003c06293b62297d5780b24f1ea7ef94bf84d SHA256 174ccb9c39d9e115836fc696f69c8fe8ffc2a78b5f4f0185b8f930afc93e40bf
EBUILD liblightscribe-1.18.19.1-r1.ebuild 3891 RMD160 0ec541ab531164bc540ac18ab163e028de8a690e SHA1 28856f6e0b320baef682aeb6c71497cfdca84a7d SHA256 9589d86acf807aa3d257b8aa6b1dd21b940d1be179b24f314e7eacfbabd4af83
MISC ChangeLog 8604 RMD160 e23bfdb68d9801fc531806e31d530c0bee5fd215 SHA1 7d7ce8973950993bbcf5eb689b49744acd5b8812 SHA256 3c83f88b8b5deedb2326e8025392d4b353d1a44a85e38abab43d59b05bbc1f80
MISC metadata.xml 262 RMD160 951acb15f4c2d71ca7ff7449bc9bd736ad4d6190 SHA1 434452c22d6215f0034a043a43a9f578ffc8dac7 SHA256 b54644472fbde5ba97eefc51b310095e23d44e9a30578c08b68c09418b988c2b
EBUILD liblightscribe-1.18.19.1-r1.ebuild 3976 RMD160 e1c80ee009a2536365342e70e004e5c0188eae46 SHA1 d76e3464e34dc11ff48845e281de8e9a44989773 SHA256 52338fa535cdede3f9d9af804c3d361c152dd696043efd82f5203a3d52608cdc
MISC ChangeLog 8771 RMD160 c5742c7d092515a6cacbc2e4c5e1a6b9a370e346 SHA1 454ce2138a655c7abdddd86f7ed47b8ea0804aa4 SHA256 651ef7c1954c70440b531353dbcc7ea9c8d6f1a8944f5475617862beed57df44
MISC metadata.xml 315 RMD160 59574e4157ca5d0702b536819905d9e122a54b3d SHA1 bf24311d30d19902c59c94772d6fb6183c9ffa62 SHA256 b598c3e668ff158c63ca6676fe4b18b43a0bb762a8fb98627de907f18b8b46df

View File

@ -0,0 +1,19 @@
Submitted By: Mario Fetka (mario-fetka at gmx dot at)
Date: 2008-07-30
Initial Package Version: 1.14.17.1
Origin: me
Upstream Status: unknown
Description: make sample compile with gcc 4.3
diff -Naur work.orig/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp work/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp
--- work.orig/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp 2008-06-09 19:16:18.000000000 +0000
+++ work/usr/share/doc/lightscribe-sdk/sample/lsprint/lsprint.cpp 2008-07-30 18:17:33.000000000 +0000
@@ -23,6 +23,8 @@
// Copyright (C) 2005-2006 Hewlett-Packard Development Company, LP
//
+#include <cstdlib>
+#include <cstring>
// import LSAPI
#include "lightscribe.h"

View File

@ -57,6 +57,8 @@ src_prepare() {
sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" usr/lib/liblightscribe.so.1 || die "sed failed"
sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" usr/lib/lightscribe/libstdc++.so.5.0.7 || die "sed failed"
convert -size 48x48 "${WORKDIR}"/LightScribe_logo_black.eps "${WORKDIR}"/${PN}.png
# correct compile with gcc >=4.3
epatch "${FILESDIR}"/liblightscribe-gcc43-1.patch
}
src_install() {

View File

@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>maintainer-wanted</herd>
<herd>no-herd</herd>
<maintainer><email>mario.fetka@gmail.com</email></maintainer>
<use>
<flag name='multilib'>Installs the lib into the right dir on amd64</flag>
</use>