add all my local ebuilds
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@602 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
0
media-plugins/kipi-plugins/ChangeLog
Normal file
0
media-plugins/kipi-plugins/ChangeLog
Normal file
4
media-plugins/kipi-plugins/Manifest
Normal file
4
media-plugins/kipi-plugins/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
AUX kipi-plugins-20081006-fix.patch 2736 RMD160 44c6e228a4436fa83a42f5a3e13156100b1aa1ff SHA1 53b1bee2c7ea19cc1f863b1fbebbb8235e2724a1 SHA256 da4eb5fdf01a0e7c3f415752ce73d429578f3c6814c38260927e77a38aa49784
|
||||
EBUILD kipi-plugins-20081127.ebuild 2769 RMD160 161132a4b27e8d77b2e114906b0d60d0f66e1323 SHA1 277169d4e68252deddcb686ac7feb20a534bae92 SHA256 6ff2bab054542fe23867f20920914016ee0d2c0422c61cea60c3f808b747d365
|
||||
MISC ChangeLog 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
||||
MISC metadata.xml 492 RMD160 012e23d9aa6da182cf0d3ad1e744eee999e14f48 SHA1 e706b077970bd64bf96429c694567710741a3a3e SHA256 fb0b7ef4457e7fc25ea0bf2b9837434e5cfe0352719149945438227134bb1bbb
|
||||
@@ -0,0 +1,78 @@
|
||||
--- kipi-plugins-20080714/CMakeLists.txt~ 2008-07-14 20:50:06.000000000 +0400
|
||||
+++ kipi-plugins-20080714/CMakeLists.txt 2008-07-14 20:50:17.000000000 +0400
|
||||
@@ -23,7 +23,7 @@
|
||||
SET(KIPIPLUGINS_VERSION_STRING "${KIPIPLUGINS_MAJOR_VERSION}.${KIPIPLUGINS_MINOR_VERSION}.${KIPIPLUGINS_PATCH_VERSION}${KIPIPLUGINS_SUFFIX_VERSION}")
|
||||
|
||||
# =======================================================
|
||||
-
|
||||
+FIND_PACKAGE(KDE4)
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
|
||||
# Depencies detection required by all plugins
|
||||
--- kipi-plugins-20080714/sendimages/emailpage.h~ 2008-07-14 21:06:20.000000000 +0400
|
||||
+++ kipi-plugins-20080714/sendimages/emailpage.h 2008-07-14 21:02:53.000000000 +0400
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
// Local includes.
|
||||
|
||||
-#include <emailsettingscontainer.h>
|
||||
+#include "emailsettingscontainer.h"
|
||||
|
||||
namespace KIPISendimagesPlugin
|
||||
{
|
||||
--- kipi-plugins-20080714/gpssync/gpstracklistcontainer.h~ 2008-07-14 21:06:08.000000000 +0400
|
||||
+++ kipi-plugins-20080714/gpssync/gpstracklistcontainer.h 2008-07-14 21:05:59.000000000 +0400
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
// Local includes.
|
||||
|
||||
-#include <gpsdatacontainer.h>
|
||||
+#include "gpsdatacontainer.h"
|
||||
|
||||
namespace KIPIGPSSyncPlugin
|
||||
{
|
||||
--- kipi-plugins-20080714/htmlexport/galleryinfo.h~ 2008-07-14 21:07:50.000000000 +0400
|
||||
+++ kipi-plugins-20080714/htmlexport/galleryinfo.h 2008-07-14 21:08:01.000000000 +0400
|
||||
@@ -31,8 +31,8 @@
|
||||
#include <libkipi/imagecollection.h>
|
||||
|
||||
// Local
|
||||
-#include <theme.h>
|
||||
-#include <htmlexportconfig.h>
|
||||
+#include "theme.h"
|
||||
+#include "htmlexportconfig.h"
|
||||
|
||||
namespace KIPIHTMLExport {
|
||||
|
||||
--- kipi-plugins-20080714/imageviewer/viewerwidget.h~ 2008-07-14 21:15:47.000000000 +0400
|
||||
+++ kipi-plugins-20080714/imageviewer/viewerwidget.h 2008-07-14 21:17:55.000000000 +0400
|
||||
@@ -133,8 +133,13 @@
|
||||
virtual void mouseDoubleClickEvent(QMouseEvent * e );
|
||||
bool isReallyFullScreen();
|
||||
|
||||
+private:
|
||||
+ QPixmap cursor1;
|
||||
+ QPixmap cursor2;
|
||||
+
|
||||
private slots:
|
||||
void timeoutMouseMove();
|
||||
+
|
||||
};
|
||||
} //namespace KIPIviewer
|
||||
#endif // _VIEWERWIDGET_H_
|
||||
--- kipi-plugins-20080714/imageviewer/viewerwidget.cpp~ 2008-07-14 21:11:05.000000000 +0400
|
||||
+++ kipi-plugins-20080714/imageviewer/viewerwidget.cpp 2008-07-14 21:17:22.000000000 +0400
|
||||
@@ -136,9 +136,11 @@
|
||||
// load cursors for zooming and panning
|
||||
QString file;
|
||||
file = KStandardDirs::locate( "data", "kipiplugin_imageviewer/pics/zoom.png" );
|
||||
- zoomCursor=QCursor(file);
|
||||
+ cursor1.load(file);
|
||||
+ zoomCursor=QCursor(cursor1);
|
||||
file = KStandardDirs::locate( "data", "kipiplugin_imageviewer/pics/hand.png" );
|
||||
- moveCursor=QCursor(file);
|
||||
+ cursor2.load(file);
|
||||
+ moveCursor=QCursor(cursor2);
|
||||
|
||||
// get path of nullImage in case QImage can't load the image
|
||||
nullImage = KStandardDirs::locate( "data", "kipiplugin_imageviewer/pics/nullImage.png" );
|
||||
98
media-plugins/kipi-plugins/kipi-plugins-20081127.ebuild
Normal file
98
media-plugins/kipi-plugins/kipi-plugins-20081127.ebuild
Normal file
@@ -0,0 +1,98 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
KMNAME="extragear/graphics"
|
||||
NEED_KDE="4.2"
|
||||
OPENGL_REQUIRED="optional"
|
||||
|
||||
inherit kde4svn eutils
|
||||
|
||||
ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics/${PN}@{${PV}}"
|
||||
|
||||
DESCRIPTION="Plugins for the KDE Image Plugin Interface (libkipi)."
|
||||
HOMEPAGE="http://www.kipi-plugins.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS=""
|
||||
IUSE="scanner"
|
||||
SLOT="4.2"
|
||||
|
||||
# TODO: Check deps
|
||||
DEPEND="
|
||||
kde-base/libkdcraw:${SLOT}
|
||||
kde-base/libkexiv2:${SLOT}
|
||||
kde-base/libkipi:${SLOT}
|
||||
media-libs/jpeg
|
||||
media-libs/libpng
|
||||
>=media-libs/tiff-3.5
|
||||
scanner? ( media-gfx/sane-backends
|
||||
kde-base/libksane:${SLOT} )
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
# app-cdr/k3b: Burning support
|
||||
# media-gfx/imagemagick: Handle many image formats
|
||||
# media-video/mjpegtools: Multi image jpeg support
|
||||
|
||||
# Install to KDEDIR to slot the package
|
||||
PREFIX="${KDEDIR}"
|
||||
PKG_CONFIG_PATH=":${PKG_CONFIG_PATH}:${KDEDIR}/$(get_libdir)/pkgconfig"
|
||||
|
||||
src_unpack() {
|
||||
kde4svn_src_unpack
|
||||
# epatch "${FILESDIR}/${P}-fix.patch"
|
||||
}
|
||||
|
||||
# FIXME: fix cmake for that package and remove code below:
|
||||
_common_configure_code() {
|
||||
local tmp_libdir=$(get_libdir)
|
||||
if has debug ${IUSE//+} && use debug; then
|
||||
echo -DCMAKE_BUILD_TYPE=Debug
|
||||
else
|
||||
echo -DCMAKE_BUILD_TYPE=Release
|
||||
fi
|
||||
echo -DCMAKE_C_COMPILER=$(type -P $(tc-getCC))
|
||||
echo -DCMAKE_CXX_COMPILER=$(type -P $(tc-getCXX))
|
||||
echo -DCMAKE_INSTALL_PREFIX=${PREFIX:-/usr}
|
||||
echo -DLIB_SUFFIX=${tmp_libdir/lib}
|
||||
echo -DLIB_INSTALL_DIR=${PREFIX:-/usr}/${tmp_libdir}
|
||||
[[ -n ${CMAKE_NO_COLOR} ]] && echo -DCMAKE_COLOR_MAKEFILE=OFF
|
||||
}
|
||||
#END OF FIXME
|
||||
|
||||
src_compile() {
|
||||
# This Plugin hard depends on libksane, deactivate it if use flag scanner is
|
||||
# not set.
|
||||
if ! use scanner; then
|
||||
sed -e '/acquireimages/ s:^:#DONOTCOMPILE :' -i "${S}"/CMakeLists.txt \
|
||||
|| die "Deactivating acquireimages plugin failed."
|
||||
fi
|
||||
|
||||
# Fix linkage
|
||||
sed -e '/KDE4_KDEUI_LIBS/ c\\${KDE4_KIO_LIBS}'\
|
||||
-i "${S}"/common/libkipiplugins/CMakeLists.txt \
|
||||
|| die "Fixing kipi-plugins linkage failed."
|
||||
|
||||
# FIXME: I know it's wrong and hackish, but package is carppy. I don't know cmake enough to fix it properly.
|
||||
|
||||
mycmakeargs="${mycmakeargs}
|
||||
$(cmake-utils_use_with opengl)
|
||||
$(cmake-utils_use_with scanner Sane)
|
||||
-DCMAKE_INSTALL_PREFIX=${PREFIX}
|
||||
-DKDE4_BUILD_TESTS=OFF
|
||||
-DKDE4_USE_ALWAYS_FULL_RPATH=ON
|
||||
-DCMAKE_INSTALL_PREFIX=${PREFIX}
|
||||
"
|
||||
|
||||
# FIXME: Remove lines below when cmake for that package will be fixed!
|
||||
QTEST_COLORED=1
|
||||
QT_PLUGIN_PATH=${KDEDIR}/$(get_libdir)/kde4/plugins/
|
||||
# FIXME: Remove lines below when cmake for that package will be fixed!
|
||||
|
||||
local cmakeargs="$(_common_configure_code) ${mycmakeargs} ${EXTRA_ECONF}"
|
||||
cmake ${cmakeargs} ./ || die "cmake failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
15
media-plugins/kipi-plugins/metadata.xml
Normal file
15
media-plugins/kipi-plugins/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer>
|
||||
<email>bugs@dev.gentooexperimental.org</email>
|
||||
<description>See AUTHORS.</description>
|
||||
</maintainer>
|
||||
<!-- <longdescription>This is for cases when the package's description is longer than 100 characters.</longdescription> -->
|
||||
<!--
|
||||
<use>
|
||||
<flag name='flag'>Kinda useless atm. useflag descriptions.</flag>
|
||||
</use>
|
||||
-->
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user