parent
528b3f74c4
commit
27ad52d469
@ -1,141 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/e-uae/e-uae-0.8.29_rc4-r1.ebuild,v 1.3 2011/03/27 10:22:51 nirbheek Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils flag-o-matic pax-utils
|
||||
|
||||
DESCRIPTION="The Ubiquitous Amiga Emulator with an emulation core largely based on WinUAE"
|
||||
HOMEPAGE="http://www.rcdrummond.net/uae/"
|
||||
# We support _rcX for WIPX versions and _preYYYYMMDD for CVS snapshots.
|
||||
if [[ "${PV%%_rc*}" = "${PV}" ]] ; then
|
||||
# _pre is used, cvs version
|
||||
my_ver=${PV%%_pre*}
|
||||
snap_ver=${PV##*_pre}
|
||||
S="${WORKDIR}"/${PN}-${my_ver}-${snap_ver}
|
||||
SRC_URI="http://www.rcdrummond.net/uae/test/${snap_ver}/${PN}-${my_ver}-${snap_ver}.tar.bz2"
|
||||
else
|
||||
my_ver=${PV%%_rc*}
|
||||
WIP_ver=${PV##*_rc}
|
||||
S="${WORKDIR}"/${PN}-${my_ver}-WIP${WIP_ver}
|
||||
SRC_URI="http://www.rcdrummond.net/uae/${PN}-${my_ver}-WIP${WIP_ver}/${PN}-${my_ver}-WIP${WIP_ver}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="X dga ncurses sdl gtk alsa oss sdl-sound capslib"
|
||||
|
||||
# Note: opposed to ./configure --help zlib support required! Check
|
||||
# src/Makefile.am that includes zfile.c unconditionaly.
|
||||
RDEPEND="X? ( x11-libs/libXt
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXext
|
||||
dga? ( x11-libs/libXxf86dga
|
||||
x11-libs/libXxf86vm )
|
||||
)
|
||||
!X? ( sdl? ( media-libs/libsdl )
|
||||
!sdl? ( sys-libs/ncurses ) )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
!alsa? ( sdl-sound? ( media-libs/sdl-sound ) )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
capslib? ( >=games-emulation/caps-20060612 )
|
||||
sys-libs/zlib
|
||||
virtual/cdrtools"
|
||||
|
||||
DEPEND="$RDEPEND
|
||||
X? ( dga? ( x11-proto/xf86vidmodeproto
|
||||
x11-proto/xf86dgaproto ) )"
|
||||
|
||||
pkg_setup() {
|
||||
# Sound setup.
|
||||
if use alsa; then
|
||||
elog "Choosing alsa as sound target to use."
|
||||
myconf="--with-alsa --without-sdl-sound"
|
||||
elif use sdl-sound ; then
|
||||
if ! use sdl ; then
|
||||
ewarn "sdl-sound is not enabled because sdl USE flag is disabled. Leaving"
|
||||
ewarn "sound on oss autodetection."
|
||||
myconf="--without-alsa --without-sdl-sound"
|
||||
ebeep
|
||||
else
|
||||
elog "Choosing sdl-sound as sound target to use."
|
||||
ewarn "E-UAE with the SDL audio back-end doesn't work correctly in Linux."
|
||||
ewarn "Better use alsa... You've been warned ;)"
|
||||
ebeep
|
||||
myconf="--without-alsa --with-sdl-sound"
|
||||
fi
|
||||
elif use oss ; then
|
||||
elog "Choosing oss as sound target to use."
|
||||
ewarn "oss will be autodetected. See output of configure."
|
||||
myconf="--without-alsa --without-sdl-sound"
|
||||
else
|
||||
ewarn "There is no alsa, sdl-sound or oss in USE. Sound target disabled!"
|
||||
myconf="--disable-audio"
|
||||
fi
|
||||
|
||||
# VIDEO setup. X is autodetected (there is no --with-X option).
|
||||
if use X ; then
|
||||
elog "Using X11 for video output."
|
||||
ewarn "Fullscreen mode is not working in X11 currently. Use sdl."
|
||||
myconf="$myconf --without-curses --without-sdl-gfx"
|
||||
use dga && ewarn "To use dga you have to run e-uae as root."
|
||||
use dga && myconf="$myconf --enable-dga --enable-vidmode"
|
||||
elif use sdl ; then
|
||||
elog "Using sdl for video output."
|
||||
myconf="$myconf --with-sdl --with-sdl-gfx --without-curses"
|
||||
elif use ncurses; then
|
||||
elog "Using ncurses for video output."
|
||||
myconf="$myconf --with-curses --without-sdl-gfx"
|
||||
else
|
||||
ewarn "There is no X or sdl or ncurses in USE!"
|
||||
ewarn "Following upstream falling back on ncurses."
|
||||
myconf="$myconf --with-curses --without-sdl-gfx"
|
||||
ebeep
|
||||
fi
|
||||
|
||||
use gtk && myconf="$myconf --enable-ui --enable-threads"
|
||||
use gtk || myconf="$myconf --disable-ui"
|
||||
|
||||
myconf="$myconf $(use_with capslib caps)"
|
||||
|
||||
myconf="$myconf --with-zlib"
|
||||
|
||||
# And explicitly state defaults:
|
||||
myconf="$myconf --enable-aga"
|
||||
myconf="$myconf --enable-autoconfig --enable-scsi-device --enable-cdtv --enable-cd32"
|
||||
myconf="$myconf --enable-bsdsock"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# Fix for high cpu use when compiled with --disable-audio
|
||||
use alsa || use sdl-sound || use oss || epatch "${FILESDIR}"/${P}-high-cpu-usage.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
strip-flags
|
||||
|
||||
econf ${myconf} \
|
||||
--with-libscg-includedir=/usr/include/scsilib \
|
||||
|| die "./configure failed"
|
||||
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# The emulator needs to be able to create executable heap
|
||||
# - doesn't need trampoline emulation though.
|
||||
pax-mark me "${D}/usr/bin/uae"
|
||||
|
||||
# Rename it to e-uae
|
||||
mv "${D}/usr/bin/uae" "${D}/usr/bin/${PN}"
|
||||
mv "${D}/usr/bin/readdisk" "${D}/usr/bin/e-readdisk"
|
||||
|
||||
dodoc docs/* README ChangeLog
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST uae-0.8.26.tar.gz 1013196 SHA256 9da8f71f9fe1bfaf18f6ea227f31baadb89d12ba78cb7ac9ce6132f35055f868 SHA512 39c6752713d8e6bf84af760021e812cdb2670f86520b212470648a0b75fff667c57fd9c9671d3c882679f6441ba585c568bf24620ad6cc60ca965931ea64980a WHIRLPOOL 5f31439135bd71c1eb726a8a51d2382b471e8c509ced42ed6201bd874a680fc777ba1d655bf99730c7865e4e1fea665b7fb72ec4dc1551f68b158474cae31213
|
||||
DIST uae-0.8.29.tar.bz2 925508 SHA256 2463524b19b36ab44de158c5f24871878eda05230ea391343849959643634317 SHA512 2b8f362f9ba7171cf9ce71938b0a4f22c5d90d518524d50023792f4dc9f75a1b1e17e55966926e1138801b4d9ffbc2f1ae4c4b5dfa42e98a8e6ec688adb84064 WHIRLPOOL 0fcf540415b4434f59f8df97de6c49db03f088d219267eb19647afad483ffc99c48cba7cbf704e86e3d2f25ab184f19119d5a1c578df6dcbe53f7e6c25d1648c
|
||||
|
@ -1,33 +0,0 @@
|
||||
The program did't quit after closing the GUI window with the close button, so
|
||||
we force the backend to exit, just to make the user happy.
|
||||
|
||||
Antonio Ospite <ospite@studenti.unina.it>
|
||||
|
||||
diff -bpruN uae-0.8.25/src/gtkui.c uae-0.8.25_patched/src/gtkui.c
|
||||
--- uae-0.8.25/src/gtkui.c 2006-06-07 17:41:49.000000000 +0200
|
||||
+++ uae-0.8.25_patched/src/gtkui.c 2006-06-08 22:38:34.000000000 +0200
|
||||
@@ -557,7 +557,8 @@ static int my_idle (void)
|
||||
}
|
||||
}
|
||||
|
||||
- if (gtk_notebook_get_current_page (GTK_NOTEBOOK (notebook)) == 0) {
|
||||
+ int ret = gtk_notebook_get_current_page (GTK_NOTEBOOK (notebook));
|
||||
+ if (ret == 0) {
|
||||
for (i = 0; i < 5; i++) {
|
||||
unsigned int mask = 1 << i;
|
||||
unsigned int on = leds & mask;
|
||||
@@ -570,6 +571,14 @@ static int my_idle (void)
|
||||
}
|
||||
prevledstate = leds;
|
||||
}
|
||||
+
|
||||
+ /* XXX Ugly hack here:
|
||||
+ * exit if the gui gives error,
|
||||
+ * this happens when we close the window.
|
||||
+ */
|
||||
+ if (ret < 0)
|
||||
+ exit(0);
|
||||
+
|
||||
out:
|
||||
return 1;
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
The program did't save the changed version of the preferences structure.
|
||||
|
||||
Antonio Ospite <ospite@studenti.unina.it>
|
||||
|
||||
diff -bpruN uae-0.8.25/src/gtkui.c uae-0.8.25_patched/src/gtkui.c
|
||||
--- uae-0.8.25/src/gtkui.c 2006-06-08 23:57:36.000000000 +0200
|
||||
+++ uae-0.8.25_patched/src/gtkui.c 2006-06-09 09:31:08.000000000 +0200
|
||||
@@ -282,7 +282,7 @@ static void save_config (void)
|
||||
write_log ("Error saving options file!\n");
|
||||
return;
|
||||
}
|
||||
- save_options (f, &currprefs);
|
||||
+ save_options (f, &changed_prefs);
|
||||
fclose (f);
|
||||
}
|
||||
|
@ -1,16 +0,0 @@
|
||||
Do some more cleaning, so we can build packages from the pristine upstream
|
||||
source even after the very first build.
|
||||
|
||||
Antonio Ospite <ospite@studenti.unina.it>
|
||||
|
||||
diff -pruN uae-0.8.25.orig/Makefile.in uae-0.8.25/Makefile.in
|
||||
--- uae-0.8.25.orig/Makefile.in 2006-06-07 15:31:17.000000000 +0200
|
||||
+++ uae-0.8.25/Makefile.in 2006-06-07 16:12:12.000000000 +0200
|
||||
@@ -15,3 +15,7 @@ streifenfrei:
|
||||
cd src && $(MAKE) streifenfrei
|
||||
rm -f uae readdisk
|
||||
rm -f config.cache config.log config.status Makefile
|
||||
+ rm -f confdefs.h
|
||||
+ rm -f src/tools/Makefile src/tools/config.* \
|
||||
+ src/tools/cpudefs.c src/tools/sysconfig.h
|
||||
+ rm -f src/md-fpp.h
|
@ -1,29 +0,0 @@
|
||||
## 02_memory_leaks_in_gui.dpatch by Florian Ernst <florian@debian.org>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: Fix memory leaks in GUI code as mentioned in bug#201563
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad uae-0.8.25~/src/gtkui.c uae-0.8.25/src/gtkui.c
|
||||
--- uae-0.8.25~/src/gtkui.c 2005-07-02 18:24:02.000000000 +0200
|
||||
+++ uae-0.8.25/src/gtkui.c 2005-11-08 01:12:34.000000000 +0100
|
||||
@@ -798,7 +798,7 @@
|
||||
uae_sem_post (&gui_sem);
|
||||
write_comm_pipe_int (&from_gui_pipe, 1, 0);
|
||||
write_comm_pipe_int (&from_gui_pipe, filesel_active, 1);
|
||||
- gtk_label_set_text (GTK_LABEL (disk_text_widget[filesel_active]), strdup (s));
|
||||
+ gtk_label_set_text (GTK_LABEL (disk_text_widget[filesel_active]), s);
|
||||
filesel_active = -1;
|
||||
enable_disk_buttons (1);
|
||||
gtk_widget_destroy (disk_selector);
|
||||
diff -urNad uae-0.8.25~/src/xwin.c uae-0.8.25/src/xwin.c
|
||||
--- uae-0.8.25~/src/xwin.c 2005-07-02 18:24:06.000000000 +0200
|
||||
+++ uae-0.8.25/src/xwin.c 2005-11-08 01:13:01.000000000 +0100
|
||||
@@ -758,6 +758,7 @@
|
||||
hints->window_group = mywin;
|
||||
hints->flags = WindowGroupHint;
|
||||
XSetWMHints(display, mywin, hints);
|
||||
+ XFree(hints);
|
||||
|
||||
XMapRaised (display, mywin);
|
||||
XSync (display, 0);
|
@ -1,38 +0,0 @@
|
||||
--- ./src/gtkui.c.orig 2007-08-12 18:18:21.000000000 +0400
|
||||
+++ ./src/gtkui.c 2007-08-12 18:22:19.000000000 +0400
|
||||
@@ -752,8 +752,8 @@
|
||||
return;
|
||||
|
||||
write_comm_pipe_int (&from_gui_pipe, 0, 0);
|
||||
- write_comm_pipe_int (&from_gui_pipe, (int)data, 1);
|
||||
- gtk_label_set_text (GTK_LABEL (disk_text_widget[(int)data]), "");
|
||||
+ write_comm_pipe_int (&from_gui_pipe, GPOINTER_TO_INT(data), 1);
|
||||
+ gtk_label_set_text (GTK_LABEL (disk_text_widget[GPOINTER_TO_INT(data)]), "");
|
||||
}
|
||||
|
||||
static void pause_uae (void)
|
||||
@@ -841,7 +841,7 @@
|
||||
|
||||
static void did_insert (GtkWidget *w, gpointer data)
|
||||
{
|
||||
- int n = (int)data;
|
||||
+ int n = GPOINTER_TO_INT(data);
|
||||
if (filesel_active != -1)
|
||||
return;
|
||||
filesel_active = n;
|
||||
@@ -1188,13 +1188,13 @@
|
||||
gtk_box_pack_start (GTK_BOX (buttonbox), thing, FALSE, TRUE, 0);
|
||||
gtk_widget_show (thing);
|
||||
disk_eject_widget[i] = thing;
|
||||
- gtk_signal_connect (GTK_OBJECT (thing), "clicked", (GtkSignalFunc) did_eject, (gpointer) i);
|
||||
+ gtk_signal_connect (GTK_OBJECT (thing), "clicked", (GtkSignalFunc) did_eject, GINT_TO_POINTER(i));
|
||||
|
||||
thing = gtk_button_new_with_label ("Insert");
|
||||
gtk_box_pack_start (GTK_BOX (buttonbox), thing, FALSE, TRUE, 0);
|
||||
gtk_widget_show (thing);
|
||||
disk_insert_widget[i] = thing;
|
||||
- gtk_signal_connect (GTK_OBJECT (thing), "clicked", (GtkSignalFunc) did_insert, (gpointer) i);
|
||||
+ gtk_signal_connect (GTK_OBJECT (thing), "clicked", (GtkSignalFunc) did_insert, GINT_TO_POINTER(i));
|
||||
}
|
||||
|
||||
add_empty_vbox (vbox);
|
@ -1,179 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/uae/uae-0.8.26-r1.ebuild,v 1.3 2011/03/27 10:31:29 nirbheek Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="The Umiquious Amiga Emulator"
|
||||
HOMEPAGE="http://www.freiburg.linux.de/~uae/"
|
||||
SRC_URI="ftp://ftp.coresystems.de/pub/uae/sources/develop/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~ppc ~amd64"
|
||||
IUSE="sdl X dga svga aalib oss alsa sdl-sound scsi ui"
|
||||
|
||||
DEPEND="sdl? ( media-libs/libsdl
|
||||
media-libs/sdl-gfx
|
||||
ui? ( x11-libs/gtk+:2 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
)
|
||||
!sdl? ( X? ( x11-libs/libXext
|
||||
dga? ( x11-libs/libXxf86dga
|
||||
x11-libs/libXxf86vm )
|
||||
ui? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
!X? ( svga? ( media-libs/svgalib
|
||||
ui? ( sys-libs/ncurses ) )
|
||||
!svga? ( aalib? ( media-libs/aalib
|
||||
ui? ( sys-libs/ncurses ) ) )
|
||||
!aalib? ( media-libs/libsdl
|
||||
ui? ( x11-libs/gtk+:2 ) ) )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
)
|
||||
scsi? ( app-cdr/cdrtools )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}"/uae-0.8.25-allow_spaces_in_zip_filenames.diff
|
||||
epatch "${FILESDIR}"/uae-0.8.25-close_window_hack.diff
|
||||
epatch "${FILESDIR}"/uae-0.8.25-fix_save_config.diff
|
||||
epatch "${FILESDIR}"/${P}-gtk-ui-cleanup.patch
|
||||
epatch "${FILESDIR}"/uae-0.8.25-makefile_more_cleaning.diff
|
||||
epatch "${FILESDIR}"/uae-0.8.25-memory_leaks_in_gui.diff
|
||||
epatch "${FILESDIR}"/uae-0.8.25-struct_uae_wrong_fields_name.diff
|
||||
epatch "${FILESDIR}"/${P}-uae_reset_args.diff
|
||||
cp "${FILESDIR}"/sdlgfx.h "${S}"/src
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# See configure.in for possible pathes of logic...
|
||||
echo
|
||||
elog "It was told by upstream developer Bernd Schmidt that sdl-sound is"
|
||||
elog "broken now and alsa driver seems to be not in best shape. So OSS"
|
||||
elog "(don't forget alsa emulation of OSS) is prefered, but it'll be"
|
||||
elog "autodetected and thus it's possible that uae misses it and you'll"
|
||||
elog "have no error but no sound too. Be carful and report this cases."
|
||||
echo
|
||||
if use sdl ; then
|
||||
elog "Enabling sdl for video output."
|
||||
my_config="$(use_with sdl) $(use_with sdl sdl-gfx)"
|
||||
# SELECT UI
|
||||
if use ui ; then
|
||||
elog "Using GTK+ for UI."
|
||||
my_config="${my_config} $(use_enable ui)"
|
||||
else
|
||||
elog "You do not have ui in USE. Disabling UI"
|
||||
my_config="${my_config} --disable-ui"
|
||||
fi
|
||||
if use oss ; then
|
||||
elog "Disabling alsa and sdl-sound and falling back on oss autodetection."
|
||||
elog "You'll have to be carefull: if that fails you'll have no audio."
|
||||
my_config="${my_config} --without-sdl-sound --without-alsa"
|
||||
elif use sdl-sound ; then
|
||||
elog "Enabling sdl-sound for sound output."
|
||||
my_config="${my_config} $(use_with sdl-sound)"
|
||||
elif use alsa ; then
|
||||
elog "Enabling alsa for sound output."
|
||||
my_config="${my_config} --without-sdl-sound $(use_with alsa)"
|
||||
else
|
||||
elog "You have not enabled alsa or sdl-sound in USE."
|
||||
elog "Using sound output to file."
|
||||
my_config="${my_config} --enable-file-sound"
|
||||
fi
|
||||
else
|
||||
elog "Disabling sdl for all (video and sound)."
|
||||
my_config="--without-sdl"
|
||||
if use X ; then
|
||||
elog "Enabling X11 for video output."
|
||||
# Disabling all other GFX to be sure that we'll have what we want.
|
||||
my_config="${my_config} --without-svgalib --without-asciiart $(use_with X x)"
|
||||
use dga && my_config="${my_config} $(use_enable dga) $(use_enable X vidmode)"
|
||||
# SELECT UI
|
||||
if use ui ; then
|
||||
elog "Using GTK+ for UI."
|
||||
my_config="${my_config} $(use_enable ui)"
|
||||
else
|
||||
elog "You do not have ui in USE. Disabling UI"
|
||||
my_config="${my_config} --disable-ui"
|
||||
fi
|
||||
else
|
||||
my_config="${my_config} --without-x"
|
||||
if use svga ; then
|
||||
elog "Enabling svga for video output."
|
||||
my_config="${my_config} $(use_with svga svgalib)"
|
||||
if use ui ; then
|
||||
elog "Using ncurses for UI."
|
||||
my_config="${my_config} $(use_enable ui)"
|
||||
else
|
||||
elog "You do not have ui in USE. Disabling UI"
|
||||
my_config="${my_config} --disable-ui"
|
||||
fi
|
||||
elif use aalib ; then
|
||||
elog "Enabling ASCII art for video output."
|
||||
my_config="${my_config} $(use_with aalib svgalib)"
|
||||
if use ui ; then
|
||||
einfo "Using ncurses for UI."
|
||||
my_config="${my_config} $(use_enable ui)"
|
||||
else
|
||||
elog "You do not have ui in USE. Disabling UI"
|
||||
my_config="${my_config} --disable-ui"
|
||||
fi
|
||||
else
|
||||
elog "You have not enabled sdl or X or svga or ncurses in USE!"
|
||||
elog "Video output is not selected. Falling back on sdl..."
|
||||
my_config="$(use_with sdl) $(use_with sdl sdl-gfx) $(use_with sdl-sound)"
|
||||
# SELECT UI
|
||||
if use ui ; then
|
||||
elog "Using GTK+ for UI."
|
||||
my_config="${my_config} $(use_enable ui)"
|
||||
else
|
||||
elog "You do not have ui in USE. Disabling UI"
|
||||
my_config="${my_config} --disable-ui"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if use oss ; then
|
||||
elog "Disabling alsa and sdl-sound and falling back on oss autodetection."
|
||||
elog "You'll have to be carefull: if that fails you'll have no audio."
|
||||
my_config="${my_config} --without-sdl-sound --without-alsa"
|
||||
elif use alsa ; then
|
||||
elog "Enabling alsa for sound output."
|
||||
my_config="${my_config} $(use_with alsa)"
|
||||
else
|
||||
use sdl-sound && ewarn "You can not have sdl-sound without sdl."
|
||||
elog "You have not enabled alsa in USE."
|
||||
elog "Using sound output to file."
|
||||
my_config="${my_config} --enable-file-sound"
|
||||
fi
|
||||
fi
|
||||
echo
|
||||
my_config="${my_config} $(use_enable scsi scsi-device)"
|
||||
my_config="${my_config} --enable-threads"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf ${my_config} || die "configure failed"
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin uae readdisk || die
|
||||
cp docs/unix/README docs/README.unix
|
||||
rm -r docs/{AmigaOS,BeOS,pOS,translated,unix}
|
||||
dodoc docs/*
|
||||
|
||||
insinto /usr/share/uae/amiga-tools
|
||||
doins amiga/{*hack,trans*,uae*}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Upstream recomends using SDL graphics (with an environment variable"
|
||||
elog "SDL_VIDEO_X11_XRANDR=1 for fullscreen support."
|
||||
echo
|
||||
}
|
@ -1,175 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/uae/uae-0.8.29.ebuild,v 1.2 2011/03/27 10:31:29 nirbheek Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="The Umiquious Amiga Emulator"
|
||||
HOMEPAGE="http://www.amigaemulator.org/"
|
||||
SRC_URI="ftp://ftp.amigaemulator.org/pub/uae/sources/develop/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~ppc ~amd64"
|
||||
IUSE="sdl X dga svga aalib oss alsa sdl-sound scsi ui"
|
||||
|
||||
DEPEND="sdl? ( media-libs/libsdl
|
||||
media-libs/sdl-gfx
|
||||
ui? ( x11-libs/gtk+:2 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
)
|
||||
!sdl? ( X? ( x11-libs/libXext
|
||||
dga? ( x11-libs/libXxf86dga
|
||||
x11-libs/libXxf86vm )
|
||||
ui? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
!X? ( svga? ( media-libs/svgalib
|
||||
ui? ( sys-libs/ncurses ) )
|
||||
!svga? ( aalib? ( media-libs/aalib
|
||||
ui? ( sys-libs/ncurses ) ) )
|
||||
!aalib? ( media-libs/libsdl
|
||||
ui? ( x11-libs/gtk+:2 ) ) )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
)
|
||||
scsi? ( app-cdr/cdrtools )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}"/uae-0.8.25-allow_spaces_in_zip_filenames.diff
|
||||
epatch "${FILESDIR}"/uae-0.8.25-struct_uae_wrong_fields_name.diff
|
||||
epatch "${FILESDIR}"/${PN}-0.8.26-uae_reset_args.diff
|
||||
cp "${FILESDIR}"/sdlgfx.h "${S}"/src
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# See configure.in for possible pathes of logic...
|
||||
echo
|
||||
elog "It was told by upstream developer Bernd Schmidt that sdl-sound is"
|
||||
elog "broken now and alsa driver seems to be not in best shape. So OSS"
|
||||
elog "(don't forget alsa emulation of OSS) is prefered, but it'll be"
|
||||
elog "autodetected and thus it's possible that uae misses it and you'll"
|
||||
elog "have no error but no sound too. Be carful and report this cases."
|
||||
echo
|
||||
if use sdl ; then
|
||||
elog "Enabling sdl for video output."
|
||||
my_config="$(use_with sdl) $(use_with sdl sdl-gfx)"
|
||||
# SELECT UI
|
||||
if use ui ; then
|
||||
elog "Using GTK+ for UI."
|
||||
my_config="${my_config} $(use_enable ui)"
|
||||
else
|
||||
elog "You do not have ui in USE. Disabling UI"
|
||||
my_config="${my_config} --disable-ui"
|
||||
fi
|
||||
if use oss ; then
|
||||
elog "Disabling alsa and sdl-sound and falling back on oss autodetection."
|
||||
elog "You'll have to be carefull: if that fails you'll have no audio."
|
||||
my_config="${my_config} --without-sdl-sound --without-alsa"
|
||||
elif use sdl-sound ; then
|
||||
elog "Enabling sdl-sound for sound output."
|
||||
my_config="${my_config} $(use_with sdl-sound)"
|
||||
elif use alsa ; then
|
||||
elog "Enabling alsa for sound output."
|
||||
my_config="${my_config} --without-sdl-sound $(use_with alsa)"
|
||||
else
|
||||
elog "You have not enabled alsa or sdl-sound in USE."
|
||||
elog "Using sound output to file."
|
||||
my_config="${my_config} --enable-file-sound"
|
||||
fi
|
||||
else
|
||||
elog "Disabling sdl for all (video and sound)."
|
||||
my_config="--without-sdl"
|
||||
if use X ; then
|
||||
elog "Enabling X11 for video output."
|
||||
# Disabling all other GFX to be sure that we'll have what we want.
|
||||
my_config="${my_config} --without-svgalib --without-asciiart $(use_with X x)"
|
||||
use dga && my_config="${my_config} $(use_enable dga) $(use_enable X vidmode)"
|
||||
# SELECT UI
|
||||
if use ui ; then
|
||||
elog "Using GTK+ for UI."
|
||||
my_config="${my_config} $(use_enable ui)"
|
||||
else
|
||||
elog "You do not have ui in USE. Disabling UI"
|
||||
my_config="${my_config} --disable-ui"
|
||||
fi
|
||||
else
|
||||
my_config="${my_config} --without-x"
|
||||
if use svga ; then
|
||||
elog "Enabling svga for video output."
|
||||
my_config="${my_config} $(use_with svga svgalib)"
|
||||
if use ui ; then
|
||||
elog "Using ncurses for UI."
|
||||
my_config="${my_config} $(use_enable ui)"
|
||||
else
|
||||
elog "You do not have ui in USE. Disabling UI"
|
||||
my_config="${my_config} --disable-ui"
|
||||
fi
|
||||
elif use aalib ; then
|
||||
elog "Enabling ASCII art for video output."
|
||||
my_config="${my_config} $(use_with aalib svgalib)"
|
||||
if use ui ; then
|
||||
einfo "Using ncurses for UI."
|
||||
my_config="${my_config} $(use_enable ui)"
|
||||
else
|
||||
elog "You do not have ui in USE. Disabling UI"
|
||||
my_config="${my_config} --disable-ui"
|
||||
fi
|
||||
else
|
||||
elog "You have not enabled sdl or X or svga or ncurses in USE!"
|
||||
elog "Video output is not selected. Falling back on sdl..."
|
||||
my_config="$(use_with sdl) $(use_with sdl sdl-gfx) $(use_with sdl-sound)"
|
||||
# SELECT UI
|
||||
if use ui ; then
|
||||
elog "Using GTK+ for UI."
|
||||
my_config="${my_config} $(use_enable ui)"
|
||||
else
|
||||
elog "You do not have ui in USE. Disabling UI"
|
||||
my_config="${my_config} --disable-ui"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if use oss ; then
|
||||
elog "Disabling alsa and sdl-sound and falling back on oss autodetection."
|
||||
elog "You'll have to be carefull: if that fails you'll have no audio."
|
||||
my_config="${my_config} --without-sdl-sound --without-alsa"
|
||||
elif use alsa ; then
|
||||
elog "Enabling alsa for sound output."
|
||||
my_config="${my_config} $(use_with alsa)"
|
||||
else
|
||||
use sdl-sound && ewarn "You can not have sdl-sound without sdl."
|
||||
elog "You have not enabled alsa in USE."
|
||||
elog "Using sound output to file."
|
||||
my_config="${my_config} --enable-file-sound"
|
||||
fi
|
||||
fi
|
||||
echo
|
||||
my_config="${my_config} $(use_enable scsi scsi-device)"
|
||||
my_config="${my_config} --enable-threads"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf ${my_config} || die "configure failed"
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin uae readdisk || die
|
||||
cp docs/unix/README docs/README.unix
|
||||
rm -r docs/{AmigaOS,BeOS,pOS,translated,unix}
|
||||
dodoc docs/*
|
||||
|
||||
insinto /usr/share/uae/amiga-tools
|
||||
doins amiga/{*hack,trans*,uae*}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Upstream recomends using SDL graphics (with an environment variable"
|
||||
elog "SDL_VIDEO_X11_XRANDR=1 for fullscreen support."
|
||||
echo
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST man-pages-fr-2.39.0.tar.bz2 893093 SHA256 0a9157868ef7f5be469a4252d0df08d0df0cf7b57b986a55e9e4e7592c212da2 SHA512 1c3d856a16cb42a55293d89806c176b6bd952119e1ca2300d1f4e66471147877a25dba9050e3998a6110592c7de6bcd36bd60f945b2f30d663248ccfc80274ea WHIRLPOOL d47fbdf9eb2e2164c7643fb2f91480c360b80f6338afcd74bde733d9b3a1e7a4279b509e2ac96befdd0e757eadd1adbf4ddb53773a03e90ae488c6397c407f04
|
||||
DIST man-pages-fr-3.40.1.tar.bz2 1136351 SHA256 0bab5b5f703c805139bfa38ceb2360173044aca5dd398bc1e307da9745e35988 SHA512 58027da7b78a442a84448ed6d7c6c89ccbe97fd811afb26a9c6580da2e15b86f7fae4c876d773f7ceca1fbe92c265693eae01b76ad4795b52c0298ba25ac1330 WHIRLPOOL dcf6a253a149e41d489fc4362e8430ce37b823f0d7804fc80f2aa97d0f4f9fe1def1804bad69f8f1de4e8ee79c1297b8a32e0b9a4449b4c2b64da4408fe28dbe
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-fr/man-pages-fr-3.40.1.ebuild,v 1.1 2013/02/15 20:56:36 pinkbyte Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A somewhat comprehensive collection of french Linux man pages"
|
||||
HOMEPAGE="http://traduc.org/perkamon"
|
||||
SRC_URI="http://alioth.debian.org/frs/download.php/3722/${P}.tar.bz2"
|
||||
|
||||
LICENSE="freedist"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/man"
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}/fr"
|
||||
|
||||
src_install() {
|
||||
dodoc README.fr
|
||||
doman -i18n=fr man*/*
|
||||
}
|
@ -0,0 +1,168 @@
|
||||
--- libreoffice-core-3.6.4.3-orig/comphelper/inc/comphelper/scoped_disposing_ptr.hxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/comphelper/inc/comphelper/scoped_disposing_ptr.hxx 2013-02-09 00:09:13.608271375 +1100
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
operator bool () const
|
||||
{
|
||||
- return m_aItem;
|
||||
+ return static_cast< bool >(m_aItem);
|
||||
}
|
||||
|
||||
virtual ~scoped_disposing_ptr()
|
||||
--- libreoffice-core-3.6.4.3-orig/slideshow/source/engine/animatedsprite.cxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/slideshow/source/engine/animatedsprite.cxx 2013-02-09 00:09:13.610271414 +1100
|
||||
@@ -160,7 +160,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- return mpSprite;
|
||||
+ return static_cast< bool >(mpSprite);
|
||||
}
|
||||
|
||||
void AnimatedSprite::setPixelOffset( const ::basegfx::B2DSize& rPixelOffset )
|
||||
--- libreoffice-core-3.6.4.3-orig/slideshow/source/inc/shapeattributelayer.hxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/slideshow/source/inc/shapeattributelayer.hxx 2013-02-09 00:09:13.613271472 +1100
|
||||
@@ -476,7 +476,7 @@
|
||||
// ShapeAttributeLayer(const ShapeAttributeLayer&);
|
||||
// ShapeAttributeLayer& operator=( const ShapeAttributeLayer& );
|
||||
|
||||
- bool haveChild() const { return mpChild; }
|
||||
+ bool haveChild() const { return static_cast< bool >(mpChild); }
|
||||
void updateStateIds();
|
||||
|
||||
template< typename T > T calcValue( const T& rCurrValue,
|
||||
--- libreoffice-core-3.6.4.3-orig/slideshow/source/inc/shapeattributelayerholder.hxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/slideshow/source/inc/shapeattributelayerholder.hxx 2013-02-09 00:09:13.615271511 +1100
|
||||
@@ -92,7 +92,7 @@
|
||||
if( mpShape )
|
||||
mpAttributeLayer = mpShape->createAttributeLayer();
|
||||
|
||||
- return mpAttributeLayer;
|
||||
+ return static_cast< bool >(mpAttributeLayer);
|
||||
}
|
||||
|
||||
ShapeAttributeLayerSharedPtr get() const
|
||||
--- libreoffice-core-3.6.4.3-orig/slideshow/source/engine/shapesubset.cxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/slideshow/source/engine/shapesubset.cxx 2013-02-09 00:09:13.617271550 +1100
|
||||
@@ -113,7 +113,7 @@
|
||||
maTreeNode );
|
||||
}
|
||||
|
||||
- return mpSubsetShape;
|
||||
+ return static_cast< bool >(mpSubsetShape);
|
||||
}
|
||||
|
||||
void ShapeSubset::disableSubsetShape()
|
||||
--- libreoffice-core-3.6.4.3-orig/slideshow/source/engine/shapes/viewshape.cxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/slideshow/source/engine/shapes/viewshape.cxx 2013-02-09 00:09:13.621271628 +1100
|
||||
@@ -187,7 +187,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- return io_rCacheEntry.mpRenderer;
|
||||
+ return static_cast< bool >(io_rCacheEntry.mpRenderer);
|
||||
}
|
||||
|
||||
bool ViewShape::draw( const ::cppcanvas::CanvasSharedPtr& rDestinationCanvas,
|
||||
--- libreoffice-core-3.6.4.3-orig/slideshow/source/engine/slide/slideanimations.cxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/slideshow/source/engine/slide/slideanimations.cxx 2013-02-09 00:09:13.623271666 +1100
|
||||
@@ -83,7 +83,7 @@
|
||||
|
||||
SHOW_NODE_TREE( mpRootNode );
|
||||
|
||||
- return mpRootNode;
|
||||
+ return static_cast< bool >(mpRootNode);
|
||||
}
|
||||
|
||||
bool SlideAnimations::isAnimated() const
|
||||
--- libreoffice-core-3.6.4.3-orig/sc/source/core/data/colorscale.cxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/sc/source/core/data/colorscale.cxx 2013-02-09 00:09:13.627271744 +1100
|
||||
@@ -219,7 +219,7 @@
|
||||
|
||||
bool ScColorScaleEntry::HasFormula() const
|
||||
{
|
||||
- return mpCell;
|
||||
+ return static_cast< bool >(mpCell);
|
||||
}
|
||||
|
||||
void ScColorScaleEntry::SetMin(bool bMin)
|
||||
--- libreoffice-core-3.6.4.3-orig/sw/source/core/inc/bookmrk.hxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/sw/source/core/inc/bookmrk.hxx 2013-02-09 00:09:13.629271783 +1100
|
||||
@@ -84,7 +84,7 @@
|
||||
|
||||
virtual bool IsCoveringPosition(const SwPosition& rPos) const;
|
||||
virtual bool IsExpanded() const
|
||||
- { return m_pPos2; }
|
||||
+ { return static_cast< bool >(m_pPos2); }
|
||||
|
||||
virtual void SetName(const ::rtl::OUString& rName)
|
||||
{ m_aName = rName; }
|
||||
--- libreoffice-core-3.6.4.3-orig/sd/source/ui/slidesorter/view/SlsButtonBar.cxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/sd/source/ui/slidesorter/view/SlsButtonBar.cxx 2013-02-09 00:09:13.632271841 +1100
|
||||
@@ -401,7 +401,7 @@
|
||||
|
||||
bool ButtonBar::IsMouseOverButton (void) const
|
||||
{
|
||||
- return mpButtonUnderMouse;
|
||||
+ return static_cast< bool >(mpButtonUnderMouse);
|
||||
}
|
||||
|
||||
|
||||
--- libreoffice-core-3.6.4.3-orig/writerfilter/source/dmapper/StyleSheetTable.cxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/writerfilter/source/dmapper/StyleSheetTable.cxx 2013-02-09 00:10:20.949580346 +1100
|
||||
@@ -169,7 +169,7 @@
|
||||
pStack->push_back(pEntry);
|
||||
|
||||
TableStyleSheetEntry* pParent = static_cast<TableStyleSheetEntry *>( pEntry.get( ) );
|
||||
- pProps->insert( pParent->GetProperties( nMask ), pStack );
|
||||
+ pProps->insert( pParent->GetProperties( nMask ), static_cast< bool >(pStack) );
|
||||
|
||||
pStack->pop_back();
|
||||
}
|
||||
--- libreoffice-core-3.6.4.3-orig/sc/source/filter/excel/xechart.cxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/sc/source/filter/excel/xechart.cxx 2013-02-09 00:09:13.645272093 +1100
|
||||
@@ -691,7 +691,7 @@
|
||||
|
||||
bool XclExpChEscherFormat::IsValid() const
|
||||
{
|
||||
- return maData.mxEscherSet;
|
||||
+ return static_cast< bool >(maData.mxEscherSet);
|
||||
}
|
||||
|
||||
void XclExpChEscherFormat::Save( XclExpStream& rStrm )
|
||||
--- libreoffice-core-3.6.4.3-orig/sc/source/filter/excel/xehelper.cxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/sc/source/filter/excel/xehelper.cxx 2013-02-09 00:09:13.648272151 +1100
|
||||
@@ -312,7 +312,7 @@
|
||||
if( GetBiff() == EXC_BIFF8 ) // no HLINK records in BIFF2-BIFF7
|
||||
{
|
||||
// there was/is already a HLINK record
|
||||
- mbMultipleUrls = mxLinkRec;
|
||||
+ mbMultipleUrls = static_cast< bool >(mxLinkRec);
|
||||
|
||||
mxLinkRec.reset( new XclExpHyperlink( GetRoot(), rUrlField, maScPos ) );
|
||||
|
||||
--- libreoffice-core-3.6.4.3-orig/sc/source/filter/excel/xichart.cxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/sc/source/filter/excel/xichart.cxx 2013-02-09 00:09:13.656272306 +1100
|
||||
@@ -2698,7 +2698,7 @@
|
||||
maType.Finalize( bStockChart );
|
||||
|
||||
// extended type info
|
||||
- maTypeInfo.Set( maType.GetTypeInfo(), mxChart3d, false );
|
||||
+ maTypeInfo.Set( maType.GetTypeInfo(), static_cast< bool >(mxChart3d), false );
|
||||
|
||||
// reverse series order for some unstacked 2D chart types
|
||||
if( maTypeInfo.mbReverseSeries && !Is3dChart() && !maType.IsStacked() && !maType.IsPercent() )
|
||||
--- libreoffice-core-3.6.4.3-orig/sc/source/filter/inc/xichart.hxx 2012-11-28 19:29:53.000000000 +1100
|
||||
+++ libreoffice-core-3.6.4.3/sc/source/filter/inc/xichart.hxx 2013-02-09 00:09:13.661272403 +1100
|
||||
@@ -1240,9 +1240,9 @@
|
||||
/** Returns true, if the axis contains caption labels. */
|
||||
inline bool HasLabels() const { return !mxTick || mxTick->HasLabels(); }
|
||||
/** Returns true, if the axis shows its major grid lines. */
|
||||
- inline bool HasMajorGrid() const { return mxMajorGrid; }
|
||||
+ inline bool HasMajorGrid() const { return static_cast< bool >(mxMajorGrid); }
|
||||
/** Returns true, if the axis shows its minor grid lines. */
|
||||
- inline bool HasMinorGrid() const { return mxMinorGrid; }
|
||||
+ inline bool HasMinorGrid() const { return static_cast< bool >(mxMinorGrid); }
|
||||
|
||||
/** Creates an API axis object. */
|
||||
XAxisRef CreateAxis( const XclImpChTypeGroup& rTypeGroup, const XclImpChAxis* pCrossingAxis ) const;
|
@ -0,0 +1,146 @@
|
||||
--- libreoffice-4.0.0.3-orig/comphelper/inc/comphelper/scoped_disposing_ptr.hxx 2013-01-31 21:54:53.000000000 +1100
|
||||
+++ libreoffice-4.0.0.3/comphelper/inc/comphelper/scoped_disposing_ptr.hxx 2013-02-16 00:09:02.325443592 +1100
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
operator bool () const
|
||||
{
|
||||
- return m_aItem;
|
||||
+ return static_cast< bool >(m_aItem);
|
||||
}
|
||||
|
||||
virtual ~scoped_disposing_ptr()
|
||||
--- libreoffice-4.0.0.3-orig/slideshow/source/engine/animatedsprite.cxx 2013-01-31 21:54:53.000000000 +1100
|
||||
+++ libreoffice-4.0.0.3/slideshow/source/engine/animatedsprite.cxx 2013-02-16 00:09:02.356444129 +1100
|
||||
@@ -151,7 +151,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- return mpSprite;
|
||||
+ return static_cast< bool >(mpSprite);
|
||||
}
|
||||
|
||||
void AnimatedSprite::setPixelOffset( const ::basegfx::B2DSize& rPixelOffset )
|
||||
--- libreoffice-4.0.0.3-orig/slideshow/source/inc/shapeattributelayer.hxx 2013-01-31 21:54:53.000000000 +1100
|
||||
+++ libreoffice-4.0.0.3/slideshow/source/inc/shapeattributelayer.hxx 2013-02-16 00:09:02.372444407 +1100
|
||||
@@ -467,7 +467,7 @@
|
||||
// ShapeAttributeLayer(const ShapeAttributeLayer&);
|
||||
// ShapeAttributeLayer& operator=( const ShapeAttributeLayer& );
|
||||
|
||||
- bool haveChild() const { return mpChild; }
|
||||
+ bool haveChild() const { return static_cast< bool >(mpChild); }
|
||||
void updateStateIds();
|
||||
|
||||
template< typename T > T calcValue( const T& rCurrValue,
|
||||
--- libreoffice-4.0.0.3-orig/slideshow/source/inc/shapeattributelayerholder.hxx 2013-01-31 21:54:53.000000000 +1100
|
||||
+++ libreoffice-4.0.0.3/slideshow/source/inc/shapeattributelayerholder.hxx 2013-02-16 00:09:02.374444442 +1100
|
||||
@@ -83,7 +83,7 @@
|
||||
if( mpShape )
|
||||
mpAttributeLayer = mpShape->createAttributeLayer();
|
||||
|
||||
- return mpAttributeLayer;
|
||||
+ return static_cast< bool >(mpAttributeLayer);
|
||||
}
|
||||
|
||||
ShapeAttributeLayerSharedPtr get() const
|
||||
--- libreoffice-4.0.0.3-orig/slideshow/source/engine/shapesubset.cxx 2013-01-31 21:54:53.000000000 +1100
|
||||
+++ libreoffice-4.0.0.3/slideshow/source/engine/shapesubset.cxx 2013-02-16 00:09:02.366444303 +1100
|
||||
@@ -104,7 +104,7 @@
|
||||
maTreeNode );
|
||||
}
|
||||
|
||||
- return mpSubsetShape;
|
||||
+ return static_cast< bool >(mpSubsetShape);
|
||||
}
|
||||
|
||||
void ShapeSubset::disableSubsetShape()
|
||||
--- libreoffice-4.0.0.3-orig/slideshow/source/engine/shapes/viewshape.cxx 2013-01-31 21:54:53.000000000 +1100
|
||||
+++ libreoffice-4.0.0.3/slideshow/source/engine/shapes/viewshape.cxx 2013-02-16 00:09:02.363444251 +1100
|
||||
@@ -178,7 +178,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- return io_rCacheEntry.mpRenderer;
|
||||
+ return static_cast< bool >(io_rCacheEntry.mpRenderer);
|
||||
}
|
||||
|
||||
bool ViewShape::draw( const ::cppcanvas::CanvasSharedPtr& rDestinationCanvas,
|
||||
--- libreoffice-4.0.0.3-orig/slideshow/source/engine/slide/slideanimations.cxx 2013-01-31 21:54:53.000000000 +1100
|
||||
+++ libreoffice-4.0.0.3/slideshow/source/engine/slide/slideanimations.cxx 2013-02-16 00:09:02.369444355 +1100
|
||||
@@ -74,7 +74,7 @@
|
||||
|
||||
SHOW_NODE_TREE( mpRootNode );
|
||||
|
||||
- return mpRootNode;
|
||||
+ return static_cast< bool >(mpRootNode);
|
||||
}
|
||||
|
||||
bool SlideAnimations::isAnimated() const
|
||||
--- libreoffice-4.0.0.3-orig/sw/source/core/inc/bookmrk.hxx 2013-01-31 21:54:53.000000000 +1100
|
||||
+++ libreoffice-4.0.0.3/sw/source/core/inc/bookmrk.hxx 2013-02-16 00:09:02.377444493 +1100
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
virtual bool IsCoveringPosition(const SwPosition& rPos) const;
|
||||
virtual bool IsExpanded() const
|
||||
- { return m_pPos2; }
|
||||
+ { return static_cast< bool >(m_pPos2); }
|
||||
|
||||
virtual void SetName(const ::rtl::OUString& rName)
|
||||
{ m_aName = rName; }
|
||||
--- libreoffice-4.0.0.3-orig/sc/source/filter/excel/xechart.cxx 2013-01-31 21:54:53.000000000 +1100
|
||||
+++ libreoffice-4.0.0.3/sc/source/filter/excel/xechart.cxx 2013-02-16 00:09:02.336443783 +1100
|
||||
@@ -682,7 +682,7 @@
|
||||
|
||||
bool XclExpChEscherFormat::IsValid() const
|
||||
{
|
||||
- return maData.mxEscherSet;
|
||||
+ return static_cast< bool >(maData.mxEscherSet);
|
||||
}
|
||||
|
||||
void XclExpChEscherFormat::Save( XclExpStream& rStrm )
|
||||
--- libreoffice-4.0.0.3-orig/sc/source/filter/excel/xehelper.cxx 2013-01-31 21:54:53.000000000 +1100
|
||||
+++ libreoffice-4.0.0.3/sc/source/filter/excel/xehelper.cxx 2013-02-16 00:09:02.341443869 +1100
|
||||
@@ -303,7 +303,7 @@
|
||||
if( GetBiff() == EXC_BIFF8 ) // no HLINK records in BIFF2-BIFF7
|
||||
{
|
||||
// there was/is already a HLINK record
|
||||
- mbMultipleUrls = mxLinkRec;
|
||||
+ mbMultipleUrls = static_cast< bool >(mxLinkRec);
|
||||
|
||||
mxLinkRec.reset( new XclExpHyperlink( GetRoot(), rUrlField, maScPos ) );
|
||||
|
||||
--- libreoffice-4.0.0.3-orig/sc/source/filter/excel/xichart.cxx 2013-01-31 21:54:53.000000000 +1100
|
||||
+++ libreoffice-4.0.0.3/sc/source/filter/excel/xichart.cxx 2013-02-16 00:09:02.348443991 +1100
|
||||
@@ -2688,7 +2688,7 @@
|
||||
maType.Finalize( bStockChart );
|
||||
|
||||
// extended type info
|
||||
- maTypeInfo.Set( maType.GetTypeInfo(), mxChart3d, false );
|
||||
+ maTypeInfo.Set( maType.GetTypeInfo(), static_cast< bool >(mxChart3d), false );
|
||||
|
||||
// reverse series order for some unstacked 2D chart types
|
||||
if( maTypeInfo.mbReverseSeries && !Is3dChart() && !maType.IsStacked() && !maType.IsPercent() )
|
||||
--- libreoffice-4.0.0.3-orig/sc/source/filter/inc/xichart.hxx 2013-01-31 21:54:53.000000000 +1100
|
||||
+++ libreoffice-4.0.0.3/sc/source/filter/inc/xichart.hxx 2013-02-16 00:09:02.353444077 +1100
|
||||
@@ -1230,9 +1230,9 @@
|
||||
/** Returns true, if the axis contains caption labels. */
|
||||
inline bool HasLabels() const { return !mxTick || mxTick->HasLabels(); }
|
||||
/** Returns true, if the axis shows its major grid lines. */
|
||||
- inline bool HasMajorGrid() const { return mxMajorGrid; }
|
||||
+ inline bool HasMajorGrid() const { return static_cast< bool >(mxMajorGrid); }
|
||||
/** Returns true, if the axis shows its minor grid lines. */
|
||||
- inline bool HasMinorGrid() const { return mxMinorGrid; }
|
||||
+ inline bool HasMinorGrid() const { return static_cast< bool >(mxMinorGrid); }
|
||||
|
||||
/** Creates an API axis object. */
|
||||
XAxisRef CreateAxis( const XclImpChTypeGroup& rTypeGroup, const XclImpChAxis* pCrossingAxis ) const;
|
||||
--- libreoffice-4.0.0.3-orig/vcl/source/gdi/svgdata.cxx 2013-01-31 21:54:53.000000000 +1100
|
||||
+++ libreoffice-4.0.0.3/vcl/source/gdi/svgdata.cxx 2013-02-16 00:07:00.382345866 +1100
|
||||
@@ -166,7 +166,7 @@
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
SvgData::SvgData(const OUString& rPath):
|
||||
- maSvgDataArray(NULL),
|
||||
+ maSvgDataArray(static_cast< unsigned char * >(NULL)),
|
||||
mnSvgDataArrayLength(0),
|
||||
maPath(rPath),
|
||||
maRange(),
|
@ -0,0 +1,176 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/lyx/lyx-2.0.5.1-r1.ebuild,v 1.1 2013/02/15 20:44:53 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit gnome2-utils qt4-r2 eutils flag-o-matic font python toolchain-funcs
|
||||
|
||||
MY_P="${P/_}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
FONT_S="${S}/lib/fonts"
|
||||
FONT_SUFFIX="ttf"
|
||||
DESCRIPTION="WYSIWYM frontend for LaTeX, DocBook, etc."
|
||||
HOMEPAGE="http://www.lyx.org/"
|
||||
SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/${P}.tar.xz"
|
||||
#SRC_URI="ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/rc3/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos"
|
||||
IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant"
|
||||
|
||||
LANGS="ar ca cs de da el en es eu fi fr gl he hu ia id it ja nb nn pl pt ro ru sk sr sv tr uk zh_CN zh_TW"
|
||||
|
||||
for X in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
COMMONDEPEND="x11-libs/qt-gui:4
|
||||
x11-libs/qt-core:4
|
||||
>=dev-libs/boost-1.34"
|
||||
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
dev-texlive/texlive-fontsextra
|
||||
|| ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] )
|
||||
cups? ( net-print/cups )
|
||||
latex? (
|
||||
app-text/texlive
|
||||
app-text/ghostscript-gpl
|
||||
app-text/noweb
|
||||
app-text/dvipng
|
||||
dev-tex/dvipost
|
||||
dev-tex/chktex
|
||||
app-text/ps2eps
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-science
|
||||
dev-texlive/texlive-genericextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
|| (
|
||||
dev-tex/latex2html
|
||||
dev-tex/tth
|
||||
dev-tex/hevea
|
||||
dev-tex/tex4ht
|
||||
)
|
||||
)
|
||||
html? ( dev-tex/html2latex )
|
||||
rtf? (
|
||||
dev-tex/latex2rtf
|
||||
app-text/unrtf
|
||||
dev-tex/html2latex
|
||||
)
|
||||
linguas_he? ( dev-tex/culmus-latex )
|
||||
docbook? ( app-text/sgmltools-lite )
|
||||
dot? ( media-gfx/graphviz )
|
||||
dia? ( app-office/dia )
|
||||
subversion? ( <dev-vcs/subversion-1.7.0 )
|
||||
rcs? ( dev-vcs/rcs )
|
||||
svg? ( || ( media-gfx/imagemagick[svg] media-gfx/graphicsmagick[svg] )
|
||||
|| ( gnome-base/librsvg media-gfx/inkscape )
|
||||
)
|
||||
gnumeric? ( app-office/gnumeric )
|
||||
hunspell? ( app-text/hunspell )
|
||||
aspell? ( app-text/aspell )
|
||||
enchant? ( app-text/enchant )"
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
sys-devel/bc
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
font_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/2.0-python.patch
|
||||
echo "#!/bin/sh" > config/py-compile
|
||||
sed "s:python -tt:$(PYTHON) -tt:g" -i lib/configure.py || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
#bug 221921
|
||||
export VARTEXFONTS=${T}/fonts
|
||||
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable monolithic-build) \
|
||||
$(use_with hunspell) \
|
||||
$(use_with aspell) \
|
||||
$(use_with enchant) \
|
||||
--without-included-boost \
|
||||
--disable-stdlib-debug \
|
||||
--with-packaging=posix
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc ANNOUNCE NEWS README RELEASE-NOTES UPGRADING "${FONT_S}"/*.txt || die
|
||||
|
||||
if use linguas_he ; then
|
||||
echo "\bind_file cua" > "${T}"/hebrew.bind
|
||||
echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
|
||||
|
||||
insinto /usr/share/lyx/bind
|
||||
doins "${T}"/hebrew.bind || die
|
||||
fi
|
||||
|
||||
newicon -s 32 "$S/development/Win32/packaging/icons/lyx_32x32.png" ${PN}.png
|
||||
make_desktop_entry ${PN} "LyX" "${PN}" "Office" "MimeType=application/x-lyx;"
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
dosym ../../../lyx/tex /usr/share/texmf/tex/latex/lyx || die
|
||||
fi
|
||||
|
||||
# fonts needed for proper math display, see also bug #15629
|
||||
font_src_install
|
||||
|
||||
python_convert_shebangs -r 2 "${ED}"/usr/share/${PN}
|
||||
|
||||
if use hunspell ; then
|
||||
dosym /usr/share/myspell /usr/share/lyx/dicts
|
||||
dosym /usr/share/myspell /usr/share/lyx/thes
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
font_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
texhash
|
||||
fi
|
||||
|
||||
# instructions for RTL support. See also bug 168331.
|
||||
if use linguas_he || use linguas_ar; then
|
||||
elog
|
||||
elog "Enabling RTL support in LyX:"
|
||||
elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
|
||||
elog "You must enable RTL support in LyX. To do so start LyX and go to"
|
||||
elog "Tools->Preferences->Language settings->Language"
|
||||
elog "and make sure the \"Right-to-left language support\" is checked"
|
||||
elog
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
|
||||
if use latex ; then
|
||||
texhash
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST gentoopm-0.2.5.tar.bz2 24450 SHA256 884ecf5507ad3f623c1f371e6a25b9e91c87511448921593c956c1ee1aca1f1d SHA512 479ae28ea799eb2300420caf823bb04a10bb03da8392366db6982dbde7b9913f0e9d87cfa1790ece2878686612adf9ff6098fdb20069526d224f0198c9a7c1c3 WHIRLPOOL 3e24c28067f2b097f111ed41b1e924cf861d28c5dbc09c1c61a89b483f7a5646df414e753a2782006ace8a8eab1086dccf37fae041c8c0473d7046cf046bee17
|
||||
DIST gentoopm-0.2.6.tar.bz2 24410 SHA256 8620e509a1fb186871a757353477857366883338a3be9e7bfa8d93e3e966157e SHA512 5818540eb847546953a3e313be653861f41a937a53fd65c00f4794361da68b257739cb5e1147e8267d17a16a7f86c88eb108bacdc5a86d45fbb91c9e4f992343 WHIRLPOOL 3422d08e10289ff4700cdacf8dd030bb23f81609ec514ac918f365a16dee6deffd59edb103977cdf9c719763d00ed946f14061ae3310d7864228449b5eaf10b6
|
||||
DIST gentoopm-0.2.7.tar.bz2 24530 SHA256 70857126302733d73f0d3593b5f38919684abab247a921fb898d0382aad2acb6 SHA512 b29eb92bcad4010c4daa68e248acffe8513104a8163a5af07dd126ad0657870eca86e14ea9f12d3a341044f92932d2b30e03e566d242ca3ed6cbc8152b0cd901 WHIRLPOOL 6b0ba340c596d4aeb708df12a7ce59a391ed3fca08db69500f52c082246dd330396b312e68e1d3e552901f70b47840f3402a90a40e7c37d3920015d1d0af70bc
|
||||
DIST gentoopm-0.2.8.tar.bz2 24540 SHA256 f5c0f032cf093a9a0f74df7eebc0909541f4f5ee7b82971351a404b2998094a9 SHA512 de0eaf7adf8e549f6659af9bf4fb1b51f978954fa791b623b4626069edfa8982facaddcc29030a94e774bdf64828ea1c4f16b616d43cf9cc6fd9b9b63dbbe21c WHIRLPOOL 0f113f20bd795685b876e9d98008c20faee1d28e2a38815fd0bb4e05366a6ccd1a91f410f69a8d6a3e7cd6f28ba13a1cf8e33c9a823b0cd2f742cf74ec169352
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoopm/gentoopm-0.2.8.ebuild,v 1.1 2013/02/16 11:58:45 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A common interface to Gentoo package managers"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/gentoopm/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="|| (
|
||||
sys-apps/pkgcore
|
||||
>=sys-apps/portage-2.1.10.3
|
||||
>=sys-apps/paludis-0.64.2[python-bindings] )"
|
||||
DEPEND="doc? ( dev-python/epydoc )"
|
||||
PDEPEND="app-admin/eselect-package-manager"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
python_export_best
|
||||
"${PYTHON}" setup.py doc || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/* )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST calibre-0.9.14.tar.xz 27947396 SHA256 e9df7052902a2c5447abe4305d7cee0c8b675b52f299d6a879d232d3901059a1 SHA512 bdb25750386d692ee909c5affe1845f4098444d340f80333a6002f6a1964477ebad0fc5f80bf1c499238986cab95733a75a8051dde937babf9065ca06fdb60b4 WHIRLPOOL bce5a0486eb9bd45aed16b14df78b8472cee0da2392958889e340f2b6f9eea8e965b4a7e8e5f1fee842d76e17b25d46feb68b9d8f415a55b1bd0862b71c5b223
|
||||
DIST calibre-0.9.17.tar.xz 28020076 SHA256 520dc6f46fc6984ce7882f3eb720313df38a3041dfd8275daa55c3a0a22e0ad9 SHA512 0c6d8331c8bbcea23987d8ab33b75247614a86ac048f4ad47a569d67f8ab8fda7b929cf477d2fcd2b20f9c67cec981518d4aeb2618fe3f45ee5f3129b1084031 WHIRLPOOL e948fc3b62ff7cc66a541d4f1df6d4bd5c5b430d3996b8962eb3d118999d2ad33c8ef41e88ed445e0bb887173187b38c7b0ba643c2942707308308c2bf0cf045
|
||||
DIST calibre-0.9.18.tar.xz 28052268 SHA256 aa02cdd764277d049b546e0715506ab9209399d4f3ff00bcfcba299f7b7bac8c SHA512 5949785e161c20ef74ff827ecf8ad840f0b595c337430bccce4e311b56caed43c2f5b743581788078a84b406986e95b565f309f3cfb314280b3693409b52508c WHIRLPOOL 99f18f9928ae4e8598d38b4a6cff54edb99447c623be13ae6297e7b1900173282264d9c431aec70e454b94785cb01e3213e5abd93a65e092bdc817e26aaa8235
|
||||
DIST calibre-0.9.19.tar.xz 28146824 SHA256 c913b8b45bcfc781cdc1a573ff6a57e6989abfcb17b8401d59cf0b9d5e8cf0d5 SHA512 00d52b9dde5d236632db7b3acb3ce68ba4aaf91bf3c10ee30554e76bf4414598bd3dd5d6472a923d7906cb5cea198a16e3c45f5ca292db396714844000a2ef82 WHIRLPOOL 056b02e08886e36706cd29859f3e9199dc049221bc7c0b49441bcfc0f5b6d7ff8277405112ff165e6690522062c69947321fdd9c47507c23542274dd5a73e5da
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/cuneiform/cuneiform-1.1.0.ebuild,v 1.1 2011/04/29 09:11:06 pva Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit cmake-utils versionator
|
||||
|
||||
PV_MAJ=$(get_version_component_range 1-2)
|
||||
MY_P=${PN}-linux-${PV}
|
||||
|
||||
DESCRIPTION="An enterprise quality optical character recognition (OCR) engine by Cognitive Technologies"
|
||||
HOMEPAGE="https://launchpad.net/cuneiform-linux"
|
||||
SRC_URI="http://launchpad.net/${PN}-linux/${PV_MAJ}/${PV_MAJ}/+download/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="debug +imagemagick"
|
||||
|
||||
RDEPEND="imagemagick? ( media-gfx/imagemagick )"
|
||||
DEPEND=">=dev-util/cmake-2.6.2
|
||||
${RDEPEND}"
|
||||
|
||||
DOCS="readme.txt"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare(){
|
||||
# respect LDFLAGS
|
||||
sed -i 's:\(set[(]CMAKE_SHARED_LINKER_FLAGS "[^"]*\):\1 $ENV{LDFLAGS}:' \
|
||||
"${S}/cuneiform_src/CMakeLists.txt" || die "failed to sed for LDFLAGS"
|
||||
# Fix automagic dependencies / linking
|
||||
if ! use imagemagick; then
|
||||
sed -i "s:find_package(ImageMagick COMPONENTS Magick++):#DONOTFIND:" \
|
||||
"${S}/cuneiform_src/CMakeLists.txt" \
|
||||
|| die "Sed for ImageMagick automagic dependency failed."
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST epspdf.0.5.3.tgz 436341 SHA256 71ecbaf5e7fc1e525e865fa98b2f64d64f3c084eafdfee8e3a23203a9c191eba SHA512 fa2a777c0036ba5b1b960064c13ec1dd8f9180258e4f92fd46a5703c90214b154c7e231faada29f6d0da3b02062e8262b20a8a535ccfc702032bf1c07d4131e2 WHIRLPOOL 46e36bdf55925584a66ab00f807a4fcd52df7ae5913aa58be2889a8c7d07bddd00f6c8de54c19b00a9f30063b3ba1dac6e267bb02223d7410d4d29d1a70c6110
|
||||
DIST epspdf.0.6.0.tgz 352989 SHA256 8cceb04f011d1583b7257c1d54c491701ccb76c8d7560923f5b24cb5f264b5f5 SHA512 44a7015fa0b7298429567e998068864419fd396f6b0781bf7877c6599d3bb2f254b7a0f976500655851a95d727880d106d9e1df9086306eef74db0b109a63506 WHIRLPOOL f47bb164d4ffb203cb2931921ba8bc04232568560882f1f3c7a5fb51db41e44f26b9c58178cdace2e1d608b3a79fd692ca15c0ca344008992b7109c973a98e49
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/epspdf/epspdf-0.6.0.ebuild,v 1.1 2013/02/15 21:24:37 aballier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit texlive-common eutils
|
||||
|
||||
DESCRIPTION="GUI and command-line converter for [e]ps and pdf"
|
||||
HOMEPAGE="http://tex.aanhet.net/epspdf/"
|
||||
SRC_URI="http://tex.aanhet.net/epspdf/${PN}.${PV}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc tk"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!<dev-texlive/texlive-pictures-2011-r1
|
||||
dev-tex/luatex
|
||||
app-text/ghostscript-gpl
|
||||
tk? ( dev-lang/tk )"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
INSTALLDIR=/usr/share/${PN}
|
||||
FILES="epspdf.tlu"
|
||||
TKFILES="epspdf.help epspdf.ico epspdftk.tcl"
|
||||
|
||||
src_install() {
|
||||
dodir ${INSTALLDIR}
|
||||
cp -p ${FILES} "${ED}/${INSTALLDIR}" || die
|
||||
if use tk ; then
|
||||
cp -p ${TKFILES} "${ED}/${INSTALLDIR}" || die
|
||||
fi
|
||||
dobin_texmf_scripts "${PN}/epspdf.tlu"
|
||||
use tk && dobin_texmf_scripts "${PN}/epspdftk.tcl"
|
||||
|
||||
doinfo doc/epspdf.info
|
||||
dodoc doc/Changelog
|
||||
if use doc ; then
|
||||
dodoc doc/epspdf.pdf
|
||||
dohtml -r doc
|
||||
fi
|
||||
|
||||
# give it a .desktop
|
||||
if use tk; then
|
||||
make_desktop_entry epspdftk epspdftk "${INSTALLDIR}/epspdf.ico" "Graphics;ImageProcessing"
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST mathtex-1.03.zip 143852 SHA256 e30c19faf9682694a9ef299359c17cf7e5f5fb3bf247799a2f494d6ac0c572a1 SHA512 dc83b3256471eda12bb71c9ad7b99889e66493e0d7e059efd54615c7f2856e812fdb5ee3f6c8de35ba6bf244c704ae02b92d9282a7e79a306a533fe544b0670d WHIRLPOOL 1f33ed370db7c6f35886b9a3ed3eeb7e04cc746256e7a20996ac10258eaf2451d2bfe23580b6a4c739e9077d21437a99d1fb43891672a2cff08669a34e54b866
|
||||
DIST mathtex-1.04.zip 148443 SHA256 f3bd3dc0491f37eb5de8bcd40b04cb11cd84581d2f16a6a2f61fc79622dd6adf SHA512 4b299a6dc503a01d6be3182ad982e38c0b6d926f09a09bd5169f8ad2c947c020ad532b15146379b4bc2158cfceec4cb4a0b7bf902423e0a8ad9b0b0190a99601 WHIRLPOOL 4c67b17a5d761e612ec12f372244665b0c41aea9066bb970bb263477a18407f76ef43786be50f41d645019165126219c39b22e6c67b2d2c60b70dc0b535040e2
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/mathtex/mathtex-1.03.ebuild,v 1.1 2009/12/21 20:34:57 pva Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="MathTeX lets you easily embed LaTeX math in your own html pages, blogs, wikis, etc"
|
||||
HOMEPAGE="http://www.forkosh.com/mathtex.html"
|
||||
SRC_URI="http://www.forkosh.com/${P}.zip"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-text/dvipng
|
||||
virtual/latex-base"
|
||||
DEPEND=""
|
||||
|
||||
einfo_run_command() {
|
||||
einfo "${@}"
|
||||
${@} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo_run_command $(tc-getCC) \
|
||||
${CFLAGS} ${LDFLAGS} \
|
||||
-DLATEX=\"/usr/bin/latex\" \
|
||||
-DDVIPNG=\"/usr/bin/dvipng\" \
|
||||
mathtex.c -o mathtex
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin mathtex || die
|
||||
dodoc README || die
|
||||
dohtml mathtex.html || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To use mathtex in your web-pages, just link /usr/bin/mathtex"
|
||||
elog "to your cgi-bin subdirectory!"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST yagf-0.8.7.tar.gz 188103 SHA256 a426b73652a0f051b70291429f0898698c275ac044a8a885993bc5ecbea18e3c SHA512 3e061deedcf92409b7942cf2f773c79731ca55db8bb8584eaac780e7a8e3011a3c2e7f45b22fafb5a993a1a851484ce481480351643f4864f225005ff16aa5a8 WHIRLPOOL 91b77d1709bab5a01ff0f4643d0ebaaee19148e719aa69f94f64aff02ecfe60530d7d0ff2e0c86efbf02e0c161e687a0a5198c0425ffe45bde7d7673758b345e
|
||||
DIST yagf-0.9.tar.gz 224788 SHA256 49767685cbcb9def268f86ed1a081446588081e0d1d1184be08e7b370e27860a SHA512 db1235dc479c902b9f72e1142f477537f421893975b2329a9c5e57af721c44a1e523c9c5a402b8849158cf68ddc94f7f2dc8c07050447bf6dc0b5dca564374eb WHIRLPOOL 7fbc435a97932405d05daf0b9ccaf2c54f3fd952d7453ac4392787e1fa50a4ec5dab00112d43879b217eef2a125ffa8ffa334b3361cc02f9049bf9de63845778
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/yagf/yagf-0.8.7.ebuild,v 1.3 2012/09/03 13:39:11 kensington Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Graphical front-end for cuneiform OCR tool"
|
||||
HOMEPAGE="http://symmetrica.net/cuneiform-linux/yagf-en.html"
|
||||
SRC_URI="http://symmetrica.net/cuneiform-linux/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="scanner +cuneiform tesseract pdf"
|
||||
|
||||
REQUIRED_USE="|| ( cuneiform tesseract )"
|
||||
|
||||
DEPEND=">=x11-libs/qt-gui-4.7:4
|
||||
app-text/aspell"
|
||||
RDEPEND="${DEPEND}
|
||||
cuneiform? ( app-text/cuneiform )
|
||||
tesseract? ( app-text/tesseract )
|
||||
scanner? ( media-gfx/xsane )
|
||||
pdf? ( || ( app-text/poppler[utils] app-text/ghostscript-gpl ) )"
|
||||
|
||||
DOCS="AUTHORS ChangeLog DESCRIPTION README"
|
||||
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
@ -1,2 +1 @@
|
||||
DIST gigabase-3.82.tar.gz 1746054 SHA256 b723692844d0e1ff9ade6bd645d87eb14042263b8811c946492eba5feaeacb40 SHA512 2f5585e280a6871dc00ebb1f9823c5e1e01ab3d2720fc1ab7b0906731c323e539ee3ccc7ca7086e4c43f02beac9e1d163737b5adec801f31cd804275dda59e06 WHIRLPOOL e68679f9b738cc79a90f716e868abe9921cfc4f0537c7b39a533741bfcb1363ee2830dc6e8d10a12e9b92ba26b946507c819e7ce87a1468704e2cec57254a52f
|
||||
DIST gigabase-3.83.tar.gz 1746301 SHA256 0d627fa41ce0b3336b08738bf00cfc41ef5ddc8eb91c11f6a621d0e6f2e65607 SHA512 df2eab9b8ceae831c24a25f010cf06ebdd38fdf2f7478116b0d769092d6e4575c5c95222562410752df462a8bf3cc2f205c05d3adfaeb1634e82f443529957e5 WHIRLPOOL 4be91ddc164b96346e8d69c00f1467c2c90676e5c3225f54a8d7d2436f59d5ef3cd41658e7061a41945e1a29c86bea5f33731c13df1442320210b1905f7d1778
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/gigabase/gigabase-3.82-r1.ebuild,v 1.4 2011/07/15 20:15:04 maekke Exp $
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="OO-DBMS with interfaces for C/C++/Java/PHP/Perl"
|
||||
HOMEPAGE="http://www.garret.ru/~knizhnik/gigabase.html"
|
||||
SRC_URI="mirror://sourceforge/gigabase/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="doc? ( app-doc/doxygen )"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}/gigabase
|
||||
|
||||
src_compile() {
|
||||
mf="${S}/Makefile"
|
||||
|
||||
econf
|
||||
sed -r -i -e 's/subsql([^\.]|$)/subsql-gdb\1/' ${mf}
|
||||
emake || die "compilation failed"
|
||||
use doc && { doxygen doxygen.cfg || die "doxygen failed"; }
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall || die "make install failed"
|
||||
|
||||
dodoc CHANGES
|
||||
use doc && dohtml GigaBASE.htm
|
||||
use doc && dohtml -r docs/html/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The subsql binary has been renamed to subsql-gdb,"
|
||||
elog "to avoid a name clash with the FastDB version of subsql"
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/gigabase/gigabase-3.83.ebuild,v 1.1 2011/10/02 09:17:21 pva Exp $
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="OO-DBMS with interfaces for C/C++/Java/PHP/Perl"
|
||||
HOMEPAGE="http://www.garret.ru/~knizhnik/gigabase.html"
|
||||
SRC_URI="mirror://sourceforge/gigabase/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="doc? ( app-doc/doxygen )"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}/gigabase
|
||||
|
||||
src_compile() {
|
||||
mf="${S}/Makefile"
|
||||
|
||||
econf
|
||||
sed -r -i -e 's/subsql([^\.]|$)/subsql-gdb\1/' ${mf}
|
||||
emake || die "compilation failed"
|
||||
use doc && { doxygen doxygen.cfg || die "doxygen failed"; }
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall || die "make install failed"
|
||||
|
||||
dodoc CHANGES
|
||||
use doc && dohtml GigaBASE.htm
|
||||
use doc && dohtml -r docs/html/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The subsql binary has been renamed to subsql-gdb,"
|
||||
elog "to avoid a name clash with the FastDB version of subsql"
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST guiloader-c++-2.15.0.tar.bz2 295897 SHA256 cda55404fc76a797f710fa5bf52b9151b5ce5c490a274674b4a3aa4dbbe94cb0 SHA512 3202fb5dc5928b4c421b961ce09d34148c4565ac4a3081d5ec283b5fe96a3b40c1906d9497d1dc268ddf8b208e74e7b1d79cc486663608095b6cf103c62994d2 WHIRLPOOL 89c22a179d06d06cef71addc56438a874551f0c225dabbb2a730faf347d86ffd2c5a7ed7516185c6875637fe818de73a16a737c898904de363223730fa26ef48
|
||||
DIST guiloader-c++-2.17.1.tar.bz2 300212 SHA256 b223f5ee030584c0bda26444f66bcfd688c3fcd83bb65399e35aa97a9caaeae2 SHA512 a06aba683345a5ce5f962d77c9ae52e099edd08347efa04ee7be6b57035a044acd02a2574523ab15065f1374ece29303e472254f4d5cf1b906fdbd0b35cdf00c WHIRLPOOL a04fe7cbc01bc1ba2ed072c9f56749de72ec85fafc68a761bded68965b59457b204572818c2c9d7bc183c72cd3feafdb7bd9cc32685e7d54e4a1203812def395
|
||||
DIST guiloader-c++-2.19.0.tar.bz2 302983 SHA256 8ce6af77df0d6b2bf21b874d31e52adc4980b0c3f4bd633a4d68ff9f8bddb567 SHA512 537e7abd446e2add4002214fc99efe814aed6cf04b827a136caeff68dde85d08f9025b3de6e19fe86d26b1c111d334a903c55bac4a92b57bad38494526db54fc WHIRLPOOL dfd6c9372cbcee3e1b1bab81ef11d0b0ea61f375fb4d0569f16af50c3979f108279bdab5e5a42f4df890121871dc3aabb468e52c1c79f34c24dec99f28eff394
|
||||
DIST guiloader-c++-2.21.0.tar.bz2 301239 SHA256 e8e9bfcf35ebca28b9cf725bbd54bbdc2bf427a16b80d907b91d9c2f91a7ece4 SHA512 5dcc412200dcec738c12b11873e6741505370a92f2b8a091f07bb0f3966bb542e07470932fc17c7c28b990ffd30cc935ac1569e312f26a859a936feae6c280de WHIRLPOOL 4a184eec8bc7445216f86d73af004e7060bb5a7b2d1105bc5d5d84fa5496bdb99ee069b563e406d06f5ab49c693763162ef34fc75767493c3aa473b914558df3
|
||||
DIST guiloader-c++-2.99.0.tar.xz 261316 SHA256 f08dcfac3d7e5ca7ce10041c4cf0f156549e713527d2e56a928b449dac33478c SHA512 dda4bbacc582012333fad949861e3d346645c90d7ba121974fe035d8fc4db50949c68c69bde7bf91463851eea6c781dda8b422a839d0f20331afc068ed014910 WHIRLPOOL 37359734b49b7cebda12a7673fdcc6216ab8259a9441f9446e0c7453d7ce83a2a4a57927d1f791322036155d77bd581d1237590ef2cd0d33c2538b658b3aebab
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/guiloader-c++/guiloader-c++-2.15.0.ebuild,v 1.6 2012/05/04 18:35:47 jdhore Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="C++ binding to GuiLoader library"
|
||||
HOMEPAGE="http://www.crowdesigner.org"
|
||||
SRC_URI="http://nothing-personal.googlecode.com/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND=">=dev-cpp/gtkmm-2.14.3:2.4
|
||||
>=dev-cpp/glibmm-2.18:2
|
||||
>=dev-libs/guiloader-2.15"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.17 )"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc doc/{authors.txt,news.en.txt,readme.en.txt} || die
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/guiloader-c++/guiloader-c++-2.17.1.ebuild,v 1.3 2012/05/04 18:35:47 jdhore Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
DESCRIPTION="C++ binding to GuiLoader library"
|
||||
HOMEPAGE="http://www.crowdesigner.org"
|
||||
SRC_URI="http://nothing-personal.googlecode.com/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
LANGS="ru"
|
||||
|
||||
RDEPEND=">=dev-libs/guiloader-2.17
|
||||
>=dev-cpp/gtkmm-2.18:2.4
|
||||
>=dev-cpp/glibmm-2.22:2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.17 )"
|
||||
|
||||
for x in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${x}"
|
||||
done
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install || die "make install failed"
|
||||
dodoc doc/{authors.txt,news.en.txt,readme.en.txt} || die
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/guiloader-c++/guiloader-c++-2.19.0.ebuild,v 1.3 2012/05/04 18:35:47 jdhore Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
DESCRIPTION="C++ binding to GuiLoader library"
|
||||
HOMEPAGE="http://www.crowdesigner.org"
|
||||
SRC_URI="http://nothing-personal.googlecode.com/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
LANGS="ru"
|
||||
|
||||
RDEPEND=">=dev-libs/guiloader-2.19
|
||||
>=dev-cpp/gtkmm-2.20:2.4
|
||||
>=dev-cpp/glibmm-2.24:2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.18 )"
|
||||
|
||||
for x in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${x}"
|
||||
done
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc doc/{authors.txt,news.en.txt,readme.en.txt} || die
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST guiloader-2.15.0.tar.bz2 287566 SHA256 0d919624cd057871720890a8755194a192c21c00fa7afc6fab008c08b491a17a SHA512 86906e2871914c193983303c68ffae74974f3de12c2279c8917ee1854722da92527bc3dafff732f4601fb160477f248d145eec38ffd10a8fdfd423cbfc75e893 WHIRLPOOL 2f4cd6a534ff9989ec1b406168f9a765b51119012cb54f28558b2ed5c57f5101924174079eecf7b83afb4dc60efcb757608d6e15435edc0eb0c98a40892d759c
|
||||
DIST guiloader-2.17.1.tar.bz2 291658 SHA256 ffb91e9fd16155136c9cee5da6e0b24654a90762e55b933a5aae90e6333c0eb9 SHA512 6cb984cb5f110ed72b074b0f4083e2d7a679184d37a3213402dec45f50f308eecbc2a3954c394fecd5643f8f8363bfbac219d10bb81b01eee731a3eaf5fdd356 WHIRLPOOL 983bcd12a68a2ede250677de1190c8e75a07cdbb91d3bd0c73d3d782dcdfe690c525a635c9b5f6dc9946325b297493a548965c536b887a540b1e5798559d98ed
|
||||
DIST guiloader-2.19.0.tar.bz2 298825 SHA256 8a8bda509dbcc072a95a16470659d16c9eebb2e2d75f083d300ff6f15af1531e SHA512 dcc60fb1225d1413a248d36fcd4cb78dc6518b654e3d226883f09d7f62bf38b936a1efc58dc0da93b7256931bafcd6c6027233da6905f56f1a6569672d0b3f7f WHIRLPOOL 8882b5a933feda7b02d3904743a8f7efd9a4f707181b889d9e2bb20b00f1dd364a3fe8aac3b3765c866627700f78e2469b85092a70cf193dd46fe1f6372b1ad8
|
||||
DIST guiloader-2.21.0.tar.bz2 306030 SHA256 149726e450d264c5f72754a68299f8740cdded9e205c0f4c8b94040be2d41d59 SHA512 247b80fcd6361bb9b76e67a006bae87c5a721d9a47fed61ac136bcff9e531da5dfe2251ad765dc9294862554d50702d58ac843f16200793f7ff94b70a24b349f WHIRLPOOL 2cdf9f332cb4f1f5e2d28dd1f1450845815ee84060e2408a11ed1777ac8d6780a69928a43e508c036ceab2e3e8abbf4d503aad31b6654b61ace36c95ae1c146e
|
||||
DIST guiloader-2.99.0.tar.xz 279816 SHA256 86c68b17150fcc7889000cbe5e71feee423970554a66ba77b89246edfc602ee2 SHA512 705c65b18fbbba2c10cc6835f8bd152d58ea0ebc1d87e0812051b65dd06123fdebdf2e67a040cc5dd4cce202fe2b6472781a5c29b46bfc5e122182ec49780a6e WHIRLPOOL b1c38c051b4b6f2b65060edc622c5152c0d723238473bf9a144069a38692b9d4907025a6c1fd66b39b586f165ed6b7661afd5d1f812192e2240efce327dddb73
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/guiloader/guiloader-2.15.0.ebuild,v 1.6 2012/05/04 18:35:45 jdhore Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
DESCRIPTION="library to create GTK+ interfaces from GuiXml at runtime"
|
||||
HOMEPAGE="http://www.crowdesigner.org"
|
||||
SRC_URI="http://nothing-personal.googlecode.com/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2.14.0:2
|
||||
>=dev-libs/glib-2.18.0:2"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.17 )"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc doc/{authors.txt,news.{ru,en}.txt,readme.{ru,en}.txt} || die
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/guiloader/guiloader-2.17.1.ebuild,v 1.2 2012/05/04 18:35:45 jdhore Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
DESCRIPTION="library to create GTK+ interfaces from GuiXml at runtime"
|
||||
HOMEPAGE="http://www.crowdesigner.org"
|
||||
SRC_URI="http://nothing-personal.googlecode.com/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
LANGS="ru"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2.18:2
|
||||
>=dev-libs/glib-2.22:2"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.17 )"
|
||||
|
||||
for x in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${x}"
|
||||
done
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install || die "make install failed"
|
||||
dodoc doc/{authors.txt,news.{ru,en}.txt,readme.{ru,en}.txt} || die
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/guiloader/guiloader-2.19.0.ebuild,v 1.2 2012/05/04 18:35:45 jdhore Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
DESCRIPTION="library to create GTK+ interfaces from GuiXml at runtime"
|
||||
HOMEPAGE="http://www.crowdesigner.org"
|
||||
SRC_URI="http://nothing-personal.googlecode.com/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
LANGS="ru"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2.20:2
|
||||
>=dev-libs/glib-2.24:2"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.18 )"
|
||||
|
||||
for x in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${x}"
|
||||
done
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc doc/{authors.txt,news.{ru,en}.txt,readme.{ru,en}.txt} || die
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcec/libcec-2.0.5-r1.ebuild,v 1.1 2013/02/15 16:59:15 thev00d00 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils linux-info vcs-snapshot
|
||||
|
||||
DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor"
|
||||
HOMEPAGE="http://libcec.pulse-eight.com"
|
||||
SRC_URI="http://github.com/Pulse-Eight/${PN}/tarball/${P} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug static-libs"
|
||||
|
||||
RDEPEND="virtual/udev"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/lockdev
|
||||
virtual/pkgconfig"
|
||||
|
||||
CONFIG_CHECK="~USB_ACM"
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/^CXXFLAGS/s:-fPIC::' configure.ac || die
|
||||
sed -i '/^CXXFLAGS/s:-Werror::' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static) \
|
||||
$(use_enable debug) \
|
||||
--enable-optimisation \
|
||||
--disable-rpi \
|
||||
--disable-cubox
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || find "${ED}" -name '*.la' -delete
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST mathjax-2.1.tar.gz 8834936 SHA256 f1a1aaa8b91ad5c749b3767ebd75294a7c305646f320d106899e2ea9227613d6 SHA512 b90399df7e06a77250fc76d9fd2de0c53c781e5897b85a01cf3a4ec033deea479e15d7d20ddad2730444d786fb6814ee88b5553ab89d7143fbf8f5b1b27fc330 WHIRLPOOL 499421b90f55ea34e379e3aa79fb37ef10c5704a8f019a775c59ff62172ee2de98e7a20576681b4976778117ca811eab221fa0d1af0dab9de86b0b712c41a323
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/mathjax/mathjax-2.1.ebuild,v 1.1 2013/02/16 14:57:45 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath"
|
||||
HOMEPAGE="http://www.mathjax.org/"
|
||||
SRC_URI="https://github.com/mathjax/MathJax/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples"
|
||||
|
||||
RESTRICT="binchecks"
|
||||
|
||||
S=${WORKDIR}/MathJax-${PV}
|
||||
|
||||
make_webconf() {
|
||||
# web server config file - should we really do this?
|
||||
cat > $1 <<-EOF
|
||||
Alias /MathJax/ ${EPREFIX}${webinstalldir}/
|
||||
Alias /mathjax/ ${EPREFIX}${webinstalldir}/
|
||||
|
||||
<Directory ${EPREFIX}${webinstalldir}>
|
||||
Options None
|
||||
AllowOverride None
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</Directory>
|
||||
EOF
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
find . -name .gitignore -delete || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README*
|
||||
use doc && dohtml -r docs/html/*
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r test/*
|
||||
fi
|
||||
rm -rf test docs LICENSE README* || die
|
||||
|
||||
webinstalldir=/usr/share/${PN}
|
||||
insinto ${webinstalldir}
|
||||
doins -r *
|
||||
|
||||
make_webconf MathJax.conf
|
||||
insinto /etc/httpd/conf.d
|
||||
doins MathJax.conf
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci</herd>
|
||||
<longdescription lang='en'>
|
||||
MathJax is an open-source JavaScript display engine for LaTeX and
|
||||
MathML that works in all modern browsers. It was designed with the
|
||||
goal of consolidating the recent advances in web technologies into a
|
||||
single, definitive, math-on-the-web platform supporting the major
|
||||
browsers and operating systems. It requires no setup on the part of
|
||||
the user (no plugins to downlaod or software to install), so the
|
||||
page author can write web documents that include mathematics and be
|
||||
confident that users will be able to view it naturally and
|
||||
easily. One simply includes MathJax and some mathematics in a web
|
||||
page, and MathJax does the rest.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.9.5.ebuild,v 1.1 2013/02/15 13:29:14 polynomial-c Exp $
|
||||
|
||||
EAPI=3
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit autotools eutils multilib toolchain-funcs versionator
|
||||
|
||||
MIN_PV="$(get_version_component_range 2)"
|
||||
|
||||
DESCRIPTION="Netscape Portable Runtime"
|
||||
HOMEPAGE="http://www.mozilla.org/projects/nspr/"
|
||||
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug"
|
||||
|
||||
src_prepare() {
|
||||
mkdir build inst
|
||||
epatch "${FILESDIR}"/${PN}-4.8-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
|
||||
# Patch needs updating
|
||||
#epatch "${FILESDIR}"/${PN}-4.8.3-aix-soname.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
|
||||
|
||||
# We must run eautoconf to regenerate configure
|
||||
cd "${S}"/mozilla/nsprpub
|
||||
eautoconf
|
||||
|
||||
# make sure it won't find Perl out of Prefix
|
||||
sed -i -e "s/perl5//g" "${S}"/mozilla/nsprpub/configure || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
|
||||
"${S}"/mozilla/nsprpub/config/rules.mk || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${S}"/build
|
||||
|
||||
# We use the standard BUILD_xxx but nspr uses HOST_xxx
|
||||
tc-export_build_env BUILD_CC
|
||||
export HOST_CC=${BUILD_CC} HOST_CFLAGS=${BUILD_CFLAGS} HOST_LDFLAGS=${BUILD_LDFLAGS}
|
||||
tc-export AR CC CXX RANLIB
|
||||
[[ ${CBUILD} != ${CHOST} ]] \
|
||||
&& export CROSS_COMPILE=1 \
|
||||
|| unset CROSS_COMPILE
|
||||
|
||||
local myconf
|
||||
echo > "${T}"/test.c
|
||||
${CC} ${CFLAGS} ${CPPFLAGS} -c "${T}"/test.c -o "${T}"/test.o || die
|
||||
case $(file "${T}"/test.o) in
|
||||
*32-bit*x86-64*|*64-bit*|*ppc64*|*x86_64*) myconf+=" --enable-64bit";;
|
||||
*32-bit*|*ppc*|*i386*) ;;
|
||||
*) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
|
||||
esac
|
||||
|
||||
# Ancient autoconf needs help finding the right tools.
|
||||
LC_ALL="C" ECONF_SOURCE="../mozilla/nsprpub" \
|
||||
ac_cv_path_AR="${AR}" \
|
||||
econf \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
$(use_enable debug) \
|
||||
$(use_enable !debug optimize) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/build
|
||||
emake || die "failed to build"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Their build system is royally confusing, as usual
|
||||
MINOR_VERSION=${MIN_PV} # Used for .so version
|
||||
cd "${S}"/build
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
cd "${ED}"/usr/$(get_libdir)
|
||||
einfo "removing static libraries as upstream has requested!"
|
||||
rm -f *.a || die "failed to remove static libraries."
|
||||
|
||||
local n=
|
||||
# aix-soname.patch does this already
|
||||
[[ ${CHOST} == *-aix* ]] ||
|
||||
for file in *$(get_libname); do
|
||||
n=${file%$(get_libname)}$(get_libname ${MINOR_VERSION})
|
||||
mv ${file} ${n} || die "failed to mv files around"
|
||||
ln -s ${n} ${file} || die "failed to symlink files."
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${n}" ${n} || die
|
||||
fi
|
||||
done
|
||||
|
||||
# install nspr-config
|
||||
dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
|
||||
|
||||
# Remove stupid files in /usr/bin
|
||||
rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
--- nss-3.14.2/mozilla/security/coreconf/SunOS5.mk
|
||||
+++ nss-3.14.2/mozilla/security/coreconf/SunOS5.mk
|
||||
@@ -5,6 +5,9 @@
|
||||
|
||||
include $(CORE_DEPTH)/coreconf/UNIX.mk
|
||||
|
||||
+NS_USE_GCC = 1
|
||||
+GCC_USE_GNU_LD = 1
|
||||
+
|
||||
# Sun's WorkShop defines v8, v8plus and v9 architectures.
|
||||
# gcc on Solaris defines v8 and v9 "cpus".
|
||||
# gcc's v9 is equivalent to Workshop's v8plus.
|
||||
@@ -71,11 +74,6 @@
|
||||
NOMD_OS_CFLAGS += $(DSO_CFLAGS) $(OS_DEFINES) $(SOL_CFLAGS)
|
||||
|
||||
MKSHLIB = $(CC) $(DSO_LDOPTS) $(RPATH)
|
||||
-ifdef NS_USE_GCC
|
||||
-ifeq (GNU,$(findstring GNU,$(shell `$(CC) -print-prog-name=ld` -v 2>&1)))
|
||||
- GCC_USE_GNU_LD = 1
|
||||
-endif
|
||||
-endif
|
||||
ifdef MAPFILE
|
||||
ifdef NS_USE_GCC
|
||||
ifdef GCC_USE_GNU_LD
|
@ -0,0 +1,19 @@
|
||||
Index: mozilla/security/nss/lib/softoken/sdb.c
|
||||
===================================================================
|
||||
RCS file: /cvsroot/mozilla/security/nss/lib/softoken/sdb.c,v
|
||||
retrieving revision 1.30
|
||||
diff -u -u -r1.30 sdb.c
|
||||
--- mozilla/security/nss/lib/softoken/sdb.c 16 Jan 2013 18:13:25 -0000 1.30
|
||||
+++ mozilla/security/nss/lib/softoken/sdb.c 4 Feb 2013 19:15:58 -0000
|
||||
@@ -254,6 +254,10 @@
|
||||
#error "sdb_getFallbackTempDir not implemented"
|
||||
#endif
|
||||
|
||||
+#ifndef SQLITE_FCNTL_TEMPFILENAME
|
||||
+#define SQLITE_FCNTL_TEMPFILENAME 16
|
||||
+#endif
|
||||
+
|
||||
static char *
|
||||
sdb_getTempDir(sqlite3 *sqlDB)
|
||||
{
|
||||
|
@ -0,0 +1,66 @@
|
||||
--- nss-3.14.2/mozilla/security/coreconf/Linux.mk
|
||||
+++ nss-3.14.2/mozilla/security/coreconf/Linux.mk
|
||||
@@ -50,21 +50,28 @@
|
||||
else
|
||||
ifeq ($(OS_TEST),alpha)
|
||||
OS_REL_CFLAGS = -D_ALPHA_
|
||||
CPU_ARCH = alpha
|
||||
else
|
||||
ifeq ($(OS_TEST),x86_64)
|
||||
ifeq ($(USE_64),1)
|
||||
CPU_ARCH = x86_64
|
||||
+ ARCHFLAG = -m64
|
||||
+else
|
||||
+ifeq ($(USE_x32),1)
|
||||
+ OS_REL_CFLAGS = -Di386
|
||||
+ CPU_ARCH = x86
|
||||
+ ARCHFLAG = -mx32
|
||||
else
|
||||
OS_REL_CFLAGS = -Di386
|
||||
CPU_ARCH = x86
|
||||
ARCHFLAG = -m32
|
||||
endif
|
||||
+endif
|
||||
else
|
||||
ifeq ($(OS_TEST),sparc64)
|
||||
CPU_ARCH = sparc
|
||||
else
|
||||
ifeq (,$(filter-out arm% sa110,$(OS_TEST)))
|
||||
CPU_ARCH = arm
|
||||
else
|
||||
ifeq (,$(filter-out parisc%,$(OS_TEST)))
|
||||
--- nss-3.14.2/mozilla/security/nss/lib/freebl/Makefile
|
||||
+++ nss-3.14.2/mozilla/security/nss/lib/freebl/Makefile
|
||||
@@ -188,22 +188,26 @@
|
||||
# comment the next two lines to turn off intel HW accelleration
|
||||
DEFINES += -DUSE_HW_AES
|
||||
ASFILES += intel-aes.s intel-gcm.s
|
||||
EXTRA_SRCS += intel-gcm-wrap.c
|
||||
INTEL_GCM = 1
|
||||
MPI_SRCS += mpi_amd64.c mp_comba.c
|
||||
endif
|
||||
ifeq ($(CPU_ARCH),x86)
|
||||
- ASFILES = mpi_x86.s
|
||||
- DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE
|
||||
- DEFINES += -DMP_ASSEMBLY_DIV_2DX1D
|
||||
- DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN
|
||||
- # The floating point ECC code doesn't work on Linux x86 (bug 311432).
|
||||
- #ECL_USE_FP = 1
|
||||
+ ifeq ($(USE_x32),1)
|
||||
+ DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN
|
||||
+ else
|
||||
+ ASFILES = mpi_x86.s
|
||||
+ DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE
|
||||
+ DEFINES += -DMP_ASSEMBLY_DIV_2DX1D
|
||||
+ DEFINES += -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN
|
||||
+ # The floating point ECC code doesn't work on Linux x86 (bug 311432).
|
||||
+ #ECL_USE_FP = 1
|
||||
+ endif
|
||||
endif
|
||||
ifeq ($(CPU_ARCH),arm)
|
||||
DEFINES += -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE
|
||||
DEFINES += -DMP_USE_UINT_DIGIT
|
||||
DEFINES += -DSHA_NO_LONG_LONG # avoid 64-bit arithmetic in SHA512
|
||||
MPI_SRCS += mpi_arm.c
|
||||
endif
|
||||
endif # Linux
|
@ -0,0 +1,272 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/nss-3.14.2.ebuild,v 1.1 2013/02/15 13:30:12 polynomial-c Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
NSPR_VER="4.9.5"
|
||||
RTM_NAME="NSS_${PV//./_}_RTM"
|
||||
|
||||
DESCRIPTION="Mozilla's Network Security Services library that implements PKI support"
|
||||
HOMEPAGE="http://www.mozilla.org/projects/security/pki/nss/"
|
||||
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz
|
||||
http://dev.gentoo.org/~anarchy/patches/${PN}-3.14.1-add_spi+cacerts_ca_certs.patch
|
||||
http://dev.gentoo.org/~anarchy/patches/${PN}-3.13.3_pem.support"
|
||||
|
||||
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="utils"
|
||||
|
||||
DEPEND="virtual/pkgconfig
|
||||
>=dev-libs/nspr-${NSPR_VER}"
|
||||
|
||||
RDEPEND=">=dev-libs/nspr-${NSPR_VER}
|
||||
>=dev-db/sqlite-3.5
|
||||
sys-libs/zlib"
|
||||
|
||||
src_setup() {
|
||||
export LC_ALL="C"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Custom changes for gentoo
|
||||
epatch "${FILESDIR}/${PN}-3.14.1-gentoo-fixups.patch"
|
||||
epatch "${FILESDIR}/${PN}-3.12.6-gentoo-fixup-warnings.patch"
|
||||
epatch "${DISTDIR}/${PN}-3.14.1-add_spi+cacerts_ca_certs.patch"
|
||||
epatch "${DISTDIR}/${PN}-3.13.3_pem.support"
|
||||
epatch "${FILESDIR}/${PN}-3.14.2-x32.patch"
|
||||
epatch "${FILESDIR}/${PN}-3.14.2-sqlite.patch"
|
||||
|
||||
cd "${S}"/mozilla/security/coreconf || die
|
||||
# hack nspr paths
|
||||
echo 'INCLUDES += -I$(DIST)/include/dbm' \
|
||||
>> headers.mk || die "failed to append include"
|
||||
|
||||
# modify install path
|
||||
sed -e 's:SOURCE_PREFIX = $(CORE_DEPTH)/\.\./dist:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \
|
||||
-i source.mk || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk || die
|
||||
|
||||
# Ensure we stay multilib aware
|
||||
sed -i -e "s:gentoo\/nss:$(get_libdir):" "${S}"/mozilla/security/nss/config/Makefile || die "Failed to fix for multilib"
|
||||
|
||||
# Fix pkgconfig file for Prefix
|
||||
sed -i -e "/^PREFIX =/s:= /usr:= ${EPREFIX}/usr:" \
|
||||
"${S}"/mozilla/security/nss/config/Makefile || die
|
||||
|
||||
epatch "${FILESDIR}/nss-3.14.2-solaris-gcc.patch"
|
||||
|
||||
# use host shlibsign if need be #436216
|
||||
if tc-is-cross-compiler ; then
|
||||
sed -i \
|
||||
-e 's:"${2}"/shlibsign:shlibsign:' \
|
||||
"${S}"/mozilla/security/nss/cmd/shlibsign/sign.sh || die
|
||||
fi
|
||||
|
||||
# dirty hack
|
||||
cd "${S}"/mozilla/security/nss || die
|
||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../freebl/\$(OBJDIR):" \
|
||||
lib/ssl/config.mk || die
|
||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../../lib/freebl/\$(OBJDIR):" \
|
||||
cmd/platlibs.mk || die
|
||||
}
|
||||
|
||||
nssarch() {
|
||||
# Most of the arches are the same as $ARCH
|
||||
local t=${1:-${CHOST}}
|
||||
case ${t} in
|
||||
hppa*) echo "parisc";;
|
||||
i?86*) echo "i686";;
|
||||
x86_64*) echo "x86_64";;
|
||||
*) tc-arch ${t};;
|
||||
esac
|
||||
}
|
||||
|
||||
nssbits() {
|
||||
echo > "${T}"/test.c || die
|
||||
${!1} ${CPPFLAGS} ${CFLAGS} -c "${T}"/test.c -o "${T}"/test.o || die
|
||||
case $(file "${T}"/test.o) in
|
||||
*32-bit*x86-64*) echo USE_x32=1;;
|
||||
*64-bit*|*ppc64*|*x86_64*) echo USE_64=1;;
|
||||
*32-bit*|*ppc*|*i386*) ;;
|
||||
*) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
|
||||
esac
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
strip-flags
|
||||
|
||||
tc-export AR RANLIB {BUILD_,}{CC,PKG_CONFIG}
|
||||
local makeargs=(
|
||||
CC="${CC}"
|
||||
AR="${AR} rc \$@"
|
||||
RANLIB="${RANLIB}"
|
||||
OPTIMIZER=
|
||||
$(nssbits CC)
|
||||
)
|
||||
|
||||
# Take care of nspr settings #436216
|
||||
append-cppflags $(${PKG_CONFIG} nspr --cflags)
|
||||
append-ldflags $(${PKG_CONFIG} nspr --libs-only-L)
|
||||
unset NSPR_INCLUDE_DIR
|
||||
export NSPR_LIB_DIR=${T}/fake-dir
|
||||
|
||||
# Do not let `uname` be used.
|
||||
if use kernel_linux ; then
|
||||
makeargs+=(
|
||||
OS_TARGET=Linux
|
||||
OS_RELEASE=2.6
|
||||
OS_TEST="$(nssarch)"
|
||||
)
|
||||
fi
|
||||
|
||||
export BUILD_OPT=1
|
||||
export NSS_USE_SYSTEM_SQLITE=1
|
||||
export NSDISTMODE=copy
|
||||
export NSS_ENABLE_ECC=1
|
||||
export XCFLAGS="${CFLAGS} ${CPPFLAGS}"
|
||||
export FREEBL_NO_DEPEND=1
|
||||
export ASFLAGS=""
|
||||
|
||||
local d
|
||||
|
||||
# Build the host tools first.
|
||||
LDFLAGS="${BUILD_LDFLAGS}" \
|
||||
XCFLAGS="${BUILD_CFLAGS}" \
|
||||
emake -j1 -C mozilla/security/coreconf \
|
||||
CC="${BUILD_CC}" \
|
||||
$(nssbits BUILD_CC) \
|
||||
|| die
|
||||
makeargs+=( NSINSTALL="${PWD}/$(find -type f -name nsinstall)" )
|
||||
|
||||
# Then build the target tools.
|
||||
for d in dbm nss ; do
|
||||
emake -j1 "${makeargs[@]}" -C mozilla/security/${d} || die "${d} make failed"
|
||||
done
|
||||
}
|
||||
|
||||
# Altering these 3 libraries breaks the CHK verification.
|
||||
# All of the following cause it to break:
|
||||
# - stripping
|
||||
# - prelink
|
||||
# - ELF signing
|
||||
# http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn6.html
|
||||
# Either we have to NOT strip them, or we have to forcibly resign after
|
||||
# stripping.
|
||||
#local_libdir="$(get_libdir)"
|
||||
#export STRIP_MASK="
|
||||
# */${local_libdir}/libfreebl3.so*
|
||||
# */${local_libdir}/libnssdbm3.so*
|
||||
# */${local_libdir}/libsoftokn3.so*"
|
||||
|
||||
export NSS_CHK_SIGN_LIBS="freebl3 nssdbm3 softokn3"
|
||||
|
||||
generate_chk() {
|
||||
local shlibsign="$1"
|
||||
local libdir="$2"
|
||||
einfo "Resigning core NSS libraries for FIPS validation"
|
||||
shift 2
|
||||
local i
|
||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
local libname=lib${i}.so
|
||||
local chkname=lib${i}.chk
|
||||
"${shlibsign}" \
|
||||
-i "${libdir}"/${libname} \
|
||||
-o "${libdir}"/${chkname}.tmp \
|
||||
&& mv -f \
|
||||
"${libdir}"/${chkname}.tmp \
|
||||
"${libdir}"/${chkname} \
|
||||
|| die "Failed to sign ${libname}"
|
||||
done
|
||||
}
|
||||
|
||||
cleanup_chk() {
|
||||
local libdir="$1"
|
||||
shift 1
|
||||
local i
|
||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
local libfname="${libdir}/lib${i}.so"
|
||||
# If the major version has changed, then we have old chk files.
|
||||
[ ! -f "${libfname}" -a -f "${libfname}.chk" ] \
|
||||
&& rm -f "${libfname}.chk"
|
||||
done
|
||||
}
|
||||
|
||||
src_install () {
|
||||
MINOR_VERSION=12
|
||||
cd "${S}"/mozilla/security/dist || die
|
||||
|
||||
dodir /usr/$(get_libdir) || die
|
||||
cp -L */lib/*$(get_libname) "${ED}"/usr/$(get_libdir) || die "copying shared libs failed"
|
||||
# We generate these after stripping the libraries, else they don't match.
|
||||
#cp -L */lib/*.chk "${ED}"/usr/$(get_libdir) || die "copying chk files failed"
|
||||
cp -L */lib/libcrmf.a "${ED}"/usr/$(get_libdir) || die "copying libs failed"
|
||||
|
||||
# Install nss-config and pkgconfig file
|
||||
dodir /usr/bin || die
|
||||
cp -L */bin/nss-config "${ED}"/usr/bin || die
|
||||
dodir /usr/$(get_libdir)/pkgconfig || die
|
||||
cp -L */lib/pkgconfig/nss.pc "${ED}"/usr/$(get_libdir)/pkgconfig || die
|
||||
|
||||
# all the include files
|
||||
insinto /usr/include/nss
|
||||
doins public/nss/*.h || die
|
||||
cd "${ED}"/usr/$(get_libdir) || die
|
||||
local n file
|
||||
for file in *$(get_libname); do
|
||||
n=${file%$(get_libname)}$(get_libname ${MINOR_VERSION})
|
||||
mv ${file} ${n} || die
|
||||
ln -s ${n} ${file} || die
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${n}" ${n} || die
|
||||
fi
|
||||
done
|
||||
|
||||
local f nssutils
|
||||
# Always enabled because we need it for chk generation.
|
||||
nssutils="shlibsign"
|
||||
if use utils; then
|
||||
# The tests we do not need to install.
|
||||
#nssutils_test="bltest crmftest dbtest dertimetest
|
||||
#fipstest remtest sdrtest"
|
||||
nssutils="addbuiltin atob baddbdir btoa certcgi certutil checkcert
|
||||
cmsutil conflict crlutil derdump digest makepqg mangle modutil multinit
|
||||
nonspr10 ocspclnt oidcalc p7content p7env p7sign p7verify pk11mode
|
||||
pk12util pp rsaperf selfserv shlibsign signtool signver ssltap strsclnt
|
||||
symkeyutil tstclnt vfychain vfyserv"
|
||||
fi
|
||||
cd "${S}"/mozilla/security/dist/*/bin/ || die
|
||||
for f in $nssutils; do
|
||||
dobin ${f} || die
|
||||
done
|
||||
|
||||
# Prelink breaks the CHK files. We don't have any reliable way to run
|
||||
# shlibsign after prelink.
|
||||
local l libs=()
|
||||
for l in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
libs+=("${EPREFIX}/usr/$(get_libdir)/lib${l}.so")
|
||||
done
|
||||
OLD_IFS="${IFS}" IFS=":" ; liblist="${libs[*]}" ; IFS="${OLD_IFS}"
|
||||
echo -e "PRELINK_PATH_MASK=${liblist}" >"${T}/90nss" || die
|
||||
unset libs liblist
|
||||
doenvd "${T}/90nss" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# We must re-sign the libraries AFTER they are stripped.
|
||||
local shlibsign="${EROOT}/usr/bin/shlibsign"
|
||||
# See if we can execute it (cross-compiling & such). #436216
|
||||
"${shlibsign}" -h >&/dev/null
|
||||
if [[ $? -gt 1 ]] ; then
|
||||
shlibsign="shlibsign"
|
||||
fi
|
||||
generate_chk "${shlibsign}" "${EROOT}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
cleanup_chk "${EROOT}"/usr/$(get_libdir)
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST xmlrpc-c-1.28.03.tar.gz 751969 SHA256 6bc078a7fa7ea41bce40df490b0a670f9014678566acef3cd1ea0ce605fee422 SHA512 e729cad61de76ab38e234e3f2db0c6a8a45423fae992a7fe0c6e6e9f887fc89d08104ce1c7b4920a2f8089f919daf29cc2174a4951dd6868aeb838ee8a30abff WHIRLPOOL 3440aed117feeda88f2feaeac39869c7d3dc9bce76cee5ab1f0a989ccad31921e93ad1ed0d1590e415c05079d6c0951206f64010564c92afa356d1ef457be3d6
|
||||
DIST xmlrpc-c-1.29.02.tar.gz 754030 SHA256 dd4933b55de8ca9ee752337831ff8e710b58c585e5d46185b59c420099478c48 SHA512 8ea10a56c5796cf803f553bf4265c7a51773c50bf77c75071c7cbcc5aae48740bb29ac9685e30c289fc5402802d1456450c644fb14c6603c3a40b334f68b5e2c WHIRLPOOL 816cc99257517d4aadf81a3322771049f280311bc7fdadc0ea3c41750245b19849b272756dba64fc904e1721d6aadc8830f757fc79d9958ebb7cc00c49d1c15c
|
||||
DIST xmlrpc-c-1.32.05.tar.gz 769040 SHA256 cefd25dcb90556c90358cb44013a644f1aeafd37d2e18be37e66a3355b5ae0d2 SHA512 40813ad97010684e346ce4f286d9d7314547572f8681cf99d4c3c36cb7aa38b1cb72b84d63ab46e44282dc2bd95b85dbb022e3039700caa939469c6f7bf08d1f WHIRLPOOL 1e6ebbc1b3caa78e1e22210d81a61b74d71f61a33d1ea97f96ef250a5277d3cbe6d532d286bed8bb57e1ba4ccb54fd38bdf51f8d3bdbba00225bb5678de17292
|
||||
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.29.02.ebuild,v 1.3 2012/10/31 02:49:16 ottxor Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
# Maintainer notes: Take a look at http://xmlrpc-c.sourceforge.net/release.html
|
||||
# We use "advanced" branch, so for the current release revision take look here:
|
||||
# http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced/version.mk?view=log
|
||||
# e.g. for 1.27.05 corresponds following revision 2182 and thus following URL:
|
||||
# http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced.tar.gz?view=tar&pathrev=2182
|
||||
# Note: autogenerated tarball checksum changes every download, thus download it
|
||||
# manually and distribute on mirrors.
|
||||
# It's possible to build net-libs/libwww without ssl support, but taking into
|
||||
# account that libwww is not really well maintained and upstream is dead we
|
||||
# better use it only in case ssl is required.
|
||||
|
||||
DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
|
||||
HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ppc-aix ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="abyss +cgi +curl +cxx +libxml2 static-libs threads tools"
|
||||
|
||||
REQUIRED_USE="test? ( static-libs abyss curl cxx )"
|
||||
|
||||
DEPEND="
|
||||
tools? ( dev-perl/frontier-rpc
|
||||
sys-libs/readline )
|
||||
curl? ( net-misc/curl )
|
||||
libxml2? ( dev-libs/libxml2 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/advanced"
|
||||
|
||||
pkg_setup() {
|
||||
use curl || ewarn "Curl support disabled: No client library will be be built"
|
||||
}
|
||||
|
||||
#Bug 214137: We need to filter this.
|
||||
unset SRCDIR
|
||||
|
||||
# Bug 255440
|
||||
export LC_ALL=C
|
||||
export LANG=C
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/CFLAGS_COMMON/s|-g -O3$||" \
|
||||
-e "/CXXFLAGS_COMMON/s|-g$||" \
|
||||
"${S}"/common.mk || die
|
||||
|
||||
export LADD=${LDFLAGS} # Respect the user's LDFLAGS.
|
||||
|
||||
use static-libs || { sed \
|
||||
-e '/\(^TARGET_STATIC_LIBRARIES =\)/{s:\(^TARGET_STATIC_LIBRARIES =\).*:\1:;P;N;d;}' \
|
||||
-i common.mk || die; }
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
#Disable libwww support due GBZ #409549 and #320253
|
||||
|
||||
econf --disable-wininet-client \
|
||||
$(use_enable libxml2 libxml2-backend) \
|
||||
--disable-libwww-client \
|
||||
--disable-libwww-ssl \
|
||||
$(use_enable tools) \
|
||||
$(use_enable threads abyss-threads) \
|
||||
$(use_enable cgi cgi-server) \
|
||||
$(use_enable abyss abyss-server) \
|
||||
$(use_enable cxx cplusplus) \
|
||||
$(use_enable curl curl-client)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -r
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset LDFLAGS LADD SRCDIR
|
||||
cd "${S}"/test/
|
||||
einfo "Building general tests"
|
||||
make || die "Make of general tests failed"
|
||||
einfo "Running general tests"
|
||||
./test || die "General tests failed"
|
||||
cd "${S}"/test/cpp/
|
||||
einfo "Running C++ tests"
|
||||
./test || die "C++ tests failed"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue