



Code: Select all
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-texturize/gimp-texturize-2.0.ebuild,v 1.2 2006/01/12 23:40:28 compnerd Exp $
inherit flag-o-matic libtool eutils fdo-mime alternatives
DESCRIPTION="Texturizer plugin for GNU Image Manipulation Program"
HOMEPAGE="http://www.gimp.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
S=${WORKDIR}/${PN}
LICENSE="GPL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=media-gfx/gimp"
DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
cd ${S}
}
src_compile() {
econf || die "configure failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR=${D} install || die "install failed"
}

Code: Select all
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/resynthesizer/resynthesizer-0.14.ebuild,v 1.2 2006/01/12 23:40:28 compnerd Exp $
inherit flag-o-matic libtool eutils fdo-mime alternatives
DESCRIPTION="Resynthesizer plugin for GNU Image Manipulation Program"
HOMEPAGE="http://www.gimp.org/"
SRC_URI="http://www.logarithmic.net/pfh-files/${PN}/${P}.tar.gz"
S=${WORKDIR}/${P}
LICENSE="GPL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=media-gfx/gimp"
DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
cd ${S}
sed -i -e "s/gimptool/gimptool-2.0/g" Makefile
sed -i -e "s/install-bin/install-admin-bin/g" Makefile
sed -i -e "s/install-script/install-admin-script/g" Makefile
}
src_compile() {
emake || die "emake failed"
}
src_install() {
make DESTDIR=${D} install || die "install failed"
}


Code: Select all
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/sharpconstruct/sharpconstruct-0.11.ebuild,v 1.3 2005/12/24 23:37:10 mattepiu Exp $
inherit gnome2 eutils
DESCRIPTION="3D Sculpting Application"
HOMEPAGE="http://sharp3d.sourceforge.net/mediawiki/index.php/Main_Page"
SRC_URI="mirror://sourceforge/sharp3d/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2 LGPL-2.1"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
>=dev-cpp/gtkglextmm-1.2.0
>=x11-libs/gtk+-2.8.0
>=dev-cpp/gtkmm-2.8.0
>=dev-cpp/libglademm-2.6.0"
src_unpack() {
unpack ${A}
cd ${S}
}
src_compile() {
./configure --prefix=/usr/ || die "failed to configure"
make || die "failed to compile"
}
src_install() {
make DESTDIR=${D} install || die "failed to install"
insinto /usr/share/icons/hicolor/64x64/apps
newins ${WORKDIR}/${P}/share/sharpconstruct/interface/icon.png sharpconstruct.png
}
Code: Select all
sharpconstruct

try it now.Matteo Azzali wrote:Nobody tried??????
...or... better.... :-////
please at least one reporting if it's working or not....




Code: Select all
ebuild /usr/local/portage/media-gfx/resynthesizer/resynthesizer-0.14.ebuild digest
You should search some "portage overlay" howto: portage is easy but you need to know some things....radagast wrote:hmm.
after two years i still don't really understand portage.
i've just tried your resynthesizer ebuild and i got
"No package manifest found"
that was it, thanks.01mf02 wrote:Code: Select all
ebuild /usr/local/portage/media-gfx/resynthesizer/resynthesizer-0.14.ebuild digest
Code: Select all
/usr/include/pango-1.0/pango/pangocairo.h:62: error: variable or field `pango_cairo_update_context' declared void
/usr/include/pango-1.0/pango/pangocairo.h:62: error: `cairo_t' was not declared in this scope
/usr/include/pango-1.0/pango/pangocairo.h:62: error: `cr' was not declared in this scope
/usr/include/pango-1.0/pango/pangocairo.h:63: error: expected primary-expression before '*' token
/usr/include/pango-1.0/pango/pangocairo.h:63: error: `context' was not declared in this scope
/usr/include/pango-1.0/pango/pangocairo.h:63: error: initializer expression list treated as compound expression
/usr/include/pango-1.0/pango/pangocairo.h:66: error: expected `,' or `...' before '*' token
/usr/include/pango-1.0/pango/pangocairo.h:66: error: ISO C++ forbids declaration of `cairo_font_options_t' with no type
/usr/include/pango-1.0/pango/pangocairo.h:67: error: expected init-declarator before '*' token
/usr/include/pango-1.0/pango/pangocairo.h:67: error: expected `,' or `;' before '*' token
< that error repeated eight more times >
In file included from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from resynth.cc:28:
/usr/include/gtk-2.0/gdk/gdkcairo.h:29: error: expected constructor, destructor, or type conversion before '*' token
/usr/include/gtk-2.0/gdk/gdkcairo.h:29: error: expected `,' or `;' before '*' token
/usr/include/gtk-2.0/gdk/gdkcairo.h:31: error: variable or field `gdk_cairo_set_source_color' declared void
/usr/include/gtk-2.0/gdk/gdkcairo.h:31: error: `cairo_t' was not declared in this scope
/usr/include/gtk-2.0/gdk/gdkcairo.h:31: error: `cr' was not declared in this scope/usr/include/gtk-2.0/gdk/gdkcairo.h:32: error: expected primary-expression before '*' token
< a very similar error repeated three more times >
/usr/include/gtk-2.0/gdk/gdkcairo.h:41: error: `region' was not declared in this scope
/usr/include/gtk-2.0/gdk/gdkcairo.h:41: error: initializer expression list treated as compound expression
In file included from /usr/include/gtk-2.0/gdk/gdk.h:35,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from resynth.cc:28:
/usr/include/gtk-2.0/gdk/gdkdrawable.h:196: error: ISO C++ forbids declaration of `cairo_surface_t' with no type
/usr/include/gtk-2.0/gdk/gdkdrawable.h:196: error: expected `;' before '*' token
In file included from /usr/include/gtk-2.0/gdk/gdk.h:50,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from resynth.cc:28:
/usr/include/gtk-2.0/gdk/gdkscreen.h:51: error: ISO C++ forbids declaration of `cairo_font_options_t' with no type
/usr/include/gtk-2.0/gdk/gdkscreen.h:51: error: expected `;' before '*' token
/usr/include/gtk-2.0/gdk/gdkscreen.h:106: error: expected `,' or `...' before '*' token
/usr/include/gtk-2.0/gdk/gdkscreen.h:106: error: ISO C++ forbids declaration of `cairo_font_options_t' with no type
/usr/include/gtk-2.0/gdk/gdkscreen.h:107: error: expected init-declarator before '*' token
/usr/include/gtk-2.0/gdk/gdkscreen.h:107: error: expected `,' or `;' before '*' token
resynth.cc:260: warning: 'void click_func(GtkWidget*, void*)' defined but not usedresynth.cc:265: warning: 'gint delete_func(GtkWidget*, GdkEvent*, void*)' defined but not used
make: *** [resynth] Error 1
!!! ERROR: media-gfx/resynthesizer-0.14 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Code: Select all
>ln -s /usr/include/cairo/cairo.h /usr/include/cairo.h
>ln -s /usr/include/cairo/cairo-features.h /usr/include/cairo-features.h

Code: Select all
equery b /usr/include/pango-1.0/pango/pangocairo.hyeah...Matteo Azzali wrote: Here it works fine but it's x86,maybe I should filter out AMD64...... Someone else tested with an AMD64 arch?
