parent
ff9ed3828c
commit
5b6db3961a
@ -0,0 +1,11 @@
|
||||
--- htmldoc/ps-pdf.cxx 2006-08-01 18:58:50.000000000 +0200
|
||||
+++ htmldoc/ps-pdf.cxx 2008-04-26 21:19:49.000000000 +0200
|
||||
@@ -3624,7 +3624,7 @@
|
||||
* Get the width of the page number, leave room for three dots...
|
||||
*/
|
||||
|
||||
- if (heading >= 0)
|
||||
+ if (heading >= 0 && heading < num_headings)
|
||||
{
|
||||
hpage = heading_pages[heading];
|
||||
numberwidth = get_width((uchar *)pages[hpage].page_text,
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/htmldoc/htmldoc-1.8.27-r3.ebuild,v 1.1 2012/02/11 12:50:14 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Convert HTML pages into a PDF document"
|
||||
SRC_URI="mirror://easysw/htmldoc/${PV}/${P}-source.tar.bz2"
|
||||
HOMEPAGE="http://www.easysw.com/htmldoc/"
|
||||
|
||||
IUSE="fltk ssl"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
DEPEND=">=media-libs/libpng-1.4
|
||||
virtual/jpeg
|
||||
fltk? ( x11-libs/fltk:1 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6e )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# this needs to be figured out, since htmldoc looks for all three libs
|
||||
# right now there's no virtual/ssl
|
||||
#
|
||||
# --enable-openssl use OpenSSL for SSL/TLS support, default=yes
|
||||
# --enable-gnutls use GNU TLS for SSL/TLS support, default=yes
|
||||
# --enable-cdsassl use CDSA for SSL/TLS support, default=yes
|
||||
|
||||
src_prepare() {
|
||||
# make sure not to use the libs htmldoc ships with
|
||||
mkdir foo ; mv jpeg foo/ ; mv png foo/ ; mv zlib foo/
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-sscanf-overflows.patch \
|
||||
"${FILESDIR}"/${PN}-fortify-fail.patch \
|
||||
"${FILESDIR}"/${PN}-libpng15.patch \
|
||||
"${FILESDIR}"/${P}-crash.patch
|
||||
|
||||
sed -i "s:^#define DOCUMENTATION \"\$prefix/share/doc/htmldoc\":#define DOCUMENTATION \"\$prefix/share/doc/${PF}/html\":" \
|
||||
configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="$(use_enable ssl openssl) $(use_with fltk gui)"
|
||||
econf ${myconf}
|
||||
# Add missing -lfltk_images to LIBS
|
||||
if use fltk; then
|
||||
sed -i 's:-lfltk :-lfltk -lfltk_images :g' Makedefs || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall bindir="${D}/usr/bin"
|
||||
|
||||
# Minor cleanups
|
||||
mv "${D}/usr/share/doc/htmldoc" "${D}/usr/share/doc/${PF}"
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
mv "${D}"/usr/share/doc/${PF}/*.html "${D}/usr/share/doc/${PF}/html"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST ecl-10.2.1.tgz 5899336 RMD160 0c88d6e26af4ea1890c88d6723c9c7d1bfb5da13 SHA1 ee565d14778d00a443ef8d3f40736022583c0579 SHA256 72a591eca23e6037679b3c86cd7d62432a5cff8117f21562438fd126283e21f9
|
||||
DIST ecl-10.4.1.tar.gz 5835953 RMD160 8e39f5f4da6dd872ab3ec04669e57215809731dd SHA1 044c579b7f0c42d15e05b662c433488e8da85020 SHA256 505dcfe8f26aca352271225ad5a7f117b9bef0f6e7f7a7abaf7b7f11f7c63c6c
|
||||
DIST ecl-11.1.1.tar.gz 5898523 RMD160 e15dd8cf02cd6ad78ef35293df014363615fd4ad SHA1 9c4c88683f6186f8152866033e6850e19eb8cc1f SHA256 28acce874e264a9e7182a2424bb7a1a3f7d834a8f2e1346ec0ef7156d4ed3b07
|
||||
DIST ecl-12.2.1.tgz 8974948 RMD160 3a616c049773794249da56cc2d01e4b73fe46e98 SHA1 916d9991f17f644565e100a51fa4364840b377e1 SHA256 dbb3f83c27f3d2565ca22c1c6b4ab497bbfdd0d0a7b09dee76338f378621f091
|
||||
DIST ecl-9.12.3.tgz 5758828 RMD160 10deb139394edffce8f1f7f4b1c682b9a86f93d9 SHA1 cf293b029f33b0b0f9539e9163618a9d31df6f30 SHA256 f4f2e9d584130db9bb61bd09a676ad67c5d0f1ca8096ed781b50a2ae99c5e682
|
||||
|
@ -0,0 +1,34 @@
|
||||
This bug can be seen very clearly with e.g. mplayer -vo aa -monitoraspect 3
|
||||
in which case a big part of the picture is missing or there is even completely
|
||||
black output.
|
||||
|
||||
The reason for this is, when drawing only a part of the picture via aarender()
|
||||
the first X coordinate is used for the loop count, but it is not applied to the
|
||||
destination and source image index, thus instead of (re)drawing the middle part
|
||||
of the image, it draws always the left part.
|
||||
|
||||
Actual Results:
|
||||
only the left part of the image is draw (depending on the video, only the left
|
||||
black bar might be draw, so you will see nothing at all - if so use a slightly
|
||||
smaller value for -monitoraspect).
|
||||
|
||||
Expected Results:
|
||||
All of the image should be drawn, and -monitoraspect should only squeeze the
|
||||
image, not cause part of it to miss.
|
||||
|
||||
Gentoo-bug: http://bugs.gentoo.org/id=214142
|
||||
Reported-by: Reimar Döffinger
|
||||
Fixed-by: Reimar Döffinger
|
||||
--- src/aarender.c.orig 2008-03-18 23:55:32.000000000 +0100
|
||||
+++ src/aarender.c 2008-03-18 23:55:50.000000000 +0100
|
||||
@@ -94,8 +94,8 @@
|
||||
gamma = randomval / 2;
|
||||
mval = (c->parameters[c->filltable[255]].p[4]);
|
||||
for (y = y1; y < y2; y++) {
|
||||
- pos = 2 * y * wi;
|
||||
- pos1 = y * aa_scrwidth(c);
|
||||
+ pos = 2 * (y * wi + x1);
|
||||
+ pos1 = y * aa_scrwidth(c) + x1;
|
||||
esum = 0;
|
||||
for (x = x1; x < x2; x++) {
|
||||
i1 = table[((((int) c->imagebuffer[pos])))];
|
@ -0,0 +1,22 @@
|
||||
>=media-libs/libpng-1.4 virtual/jpeg fltk? ( x11-libs/fltk:1 ) ssl? ( >=dev-libs/openssl-0.9.6e )
|
||||
>=media-libs/libpng-1.4 virtual/jpeg fltk? ( x11-libs/fltk:1 ) ssl? ( >=dev-libs/openssl-0.9.6e )
|
||||
0
|
||||
mirror://easysw/htmldoc/1.8.27/htmldoc-1.8.27-source.tar.bz2
|
||||
|
||||
http://www.easysw.com/htmldoc/
|
||||
GPL-2
|
||||
Convert HTML pages into a PDF document
|
||||
~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86
|
||||
eutils multilib portability toolchain-funcs user
|
||||
fltk ssl
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
configure install prepare
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,20 +1,20 @@
|
||||
dev-libs/gmp virtual/libffi >=dev-libs/boehm-gc-7.1[threads?]
|
||||
dev-libs/gmp virtual/libffi >=dev-libs/boehm-gc-7.1[threads?] app-text/texi2html emacs? ( virtual/emacs >=app-admin/eselect-emacs-1.12 )
|
||||
dev-libs/gmp virtual/libffi >=dev-libs/boehm-gc-7.1[threads?]
|
||||
0
|
||||
mirror://sourceforge/ecls/ecl-10.2.1.tgz
|
||||
mirror://sourceforge/ecls/ecl-12.2.1.tgz
|
||||
|
||||
http://common-lisp.net/project/ecl/
|
||||
BSD LGPL-2
|
||||
ECL is an embeddable Common Lisp implementation.
|
||||
~amd64 ~ppc ~sparc ~x86
|
||||
eutils multilib portability toolchain-funcs user
|
||||
debug doc precisegc +threads +unicode X
|
||||
debug emacs gengc precisegc threads +unicode X
|
||||
|
||||
dev-lisp/gentoo-init
|
||||
|
||||
3
|
||||
|
||||
compile configure install prepare
|
||||
compile configure install prepare setup
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
x11-libs/qt-gui amd64? ( app-emulation/emul-linux-x86-qtlibs )
|
||||
x11-libs/qt-gui amd64? ( app-emulation/emul-linux-x86-qtlibs ) net-im/skype
|
||||
0
|
||||
http://dev.gentoo.org/~slyfox/skypetab-ng-0.4.9_pre20111124.tar.gz
|
||||
|
||||
http://github.com/kekekeks/skypetab-ng
|
||||
LGPL-3
|
||||
An LD_PRELOAD wrapper that adds tabs to Skype for Linux
|
||||
-* ~x86 ~amd64
|
||||
base eutils multilib portability qt4-r2 toolchain-funcs user
|
||||
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install prepare setup unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
x11-libs/qt-gui amd64? ( app-emulation/emul-linux-x86-qtlibs ) dev-vcs/git
|
||||
x11-libs/qt-gui amd64? ( app-emulation/emul-linux-x86-qtlibs ) net-im/skype
|
||||
0
|
||||
|
||||
|
||||
http://github.com/kekekeks/skypetab-ng
|
||||
LGPL-3
|
||||
An LD_PRELOAD wrapper that adds tabs to Skype for Linux
|
||||
|
||||
base eutils git-2 multilib portability qt4-r2 toolchain-funcs user
|
||||
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install prepare setup unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
0
|
||||
ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/ipx-1.1.tar.gz
|
||||
|
||||
ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/
|
||||
Caldera
|
||||
The IPX Utilities
|
||||
~amd64 ~ppc64 ~s390 ~sparc ~x86
|
||||
eutils multilib portability toolchain-funcs user
|
||||
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
install prepare
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
x11-libs/wxGTK:2.8[X] sci-electronics/electronics-menu
|
||||
x11-libs/wxGTK:2.8[X] sci-electronics/electronics-menu || ( sci-electronics/ngspice sci-electronics/gnucap ) waveform? ( sci-electronics/gwave ) schematics? ( sci-electronics/geda )
|
||||
0
|
||||
mirror://sourceforge/gspiceui/gspiceui-v1.0.00.tar.gz
|
||||
|
||||
http://www.geda.seul.org/tools/gspiceui/
|
||||
GPL-2
|
||||
GUI frontend for Ngspice and Gnucap
|
||||
~amd64 ~x86
|
||||
eutils multilib portability toolchain-funcs user wxwidgets
|
||||
examples schematics waveform
|
||||
|
||||
|
||||
|
||||
2
|
||||
|
||||
install postinst prepare
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
net-dns/avahi || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 sys-devel/libtool
|
||||
net-dns/avahi
|
||||
0
|
||||
http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-0.10.tar.gz
|
||||
|
||||
http://0pointer.de/lennart/projects/nss-mdns/
|
||||
GPL-2
|
||||
Name Service Switch module for Multicast DNS
|
||||
~amd64 ~hppa ~mips ~ppc ~x86
|
||||
autotools eutils libtool multilib portability toolchain-funcs user
|
||||
search-domains
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
configure install postinst prepare
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
avahi? ( net-dns/avahi )
|
||||
avahi? ( net-dns/avahi )
|
||||
0
|
||||
http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-0.8.tar.gz
|
||||
|
||||
http://0pointer.de/lennart/projects/nss-mdns/
|
||||
GPL-2
|
||||
Name Service Switch module for Multicast DNS
|
||||
amd64 ppc x86
|
||||
eutils multilib portability toolchain-funcs user
|
||||
avahi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
compile install postinst
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
net-dns/avahi =sys-devel/automake-1.9* >=sys-devel/autoconf-2.61 sys-devel/libtool
|
||||
net-dns/avahi
|
||||
0
|
||||
http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-0.9.tar.gz
|
||||
|
||||
http://0pointer.de/lennart/projects/nss-mdns/
|
||||
GPL-2
|
||||
Name Service Switch module for Multicast DNS
|
||||
amd64 ~hppa ppc x86
|
||||
autotools eutils libtool multilib portability toolchain-funcs user
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
compile install postinst unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,22 +0,0 @@
|
||||
|
||||
|
||||
0
|
||||
http://download.httrack.com/httrack-3.44.1.tar.gz
|
||||
|
||||
http://www.httrack.com/
|
||||
GPL-2
|
||||
HTTrack Website Copier, Open Source Offline Browser
|
||||
~amd64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux
|
||||
eutils multilib portability toolchain-funcs user versionator
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
compile install
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
>=sys-apps/sed-4 app-arch/xz-utils >=sys-apps/sed-4
|
||||
media-libs/fontconfig media-libs/freetype sys-apps/util-linux sys-libs/zlib virtual/opengl x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXext x11-libs/libXft x11-libs/libXrender x11-libs/libXt gtk? ( dev-libs/atk dev-libs/glib:2 x11-libs/cairo x11-libs/gdk-pixbuf gtk? ( x11-libs/gtk+:2 ) gtk3? ( x11-libs/gtk+:3 ) x11-libs/pango x11-libs/pixman ) gtk3? ( dev-libs/atk dev-libs/glib:2 x11-libs/cairo x11-libs/gdk-pixbuf gtk? ( x11-libs/gtk+:2 ) gtk3? ( x11-libs/gtk+:3 ) x11-libs/pango x11-libs/pixman ) kde? ( kde-base/kdelibs x11-libs/qt-core x11-libs/qt-gui ) gstreamer? ( dev-libs/glib:2 dev-libs/libxml2 media-libs/gst-plugins-base media-libs/gstreamer media-plugins/gst-plugins-meta )
|
||||
0
|
||||
x86? ( http://snapshot.opera.com/unix/freckles_11.62-1273/opera-11.62-1273.i386.linux.tar.xz ) x86-fbsd? ( http://snapshot.opera.com/unix/freckles_11.62-1273/opera-11.62-1273.i386.freebsd.tar.xz )
|
||||
|
||||
http://www.opera.com/
|
||||
OPERA-11 LGPL-2 LGPL-3
|
||||
A fast and secure web browser and Internet suite
|
||||
~x86 ~x86-fbsd
|
||||
eutils fdo-mime gnome2-utils multilib pax-utils portability toolchain-funcs user versionator
|
||||
elibc_FreeBSD gtk gtk3 kde +gstreamer linguas_af linguas_az linguas_be linguas_bg linguas_bn linguas_cs linguas_da linguas_de linguas_el linguas_en_GB linguas_es_ES linguas_es_LA linguas_et linguas_fi linguas_fr linguas_fr_CA linguas_fy linguas_gd linguas_hi linguas_hr linguas_hu linguas_id linguas_it linguas_ja linguas_ka linguas_ko linguas_lt linguas_me linguas_mk linguas_ms linguas_nb linguas_nl linguas_nn linguas_pa linguas_pl linguas_pt linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sr linguas_sv linguas_sw linguas_ta linguas_te linguas_th linguas_tl linguas_tr linguas_uk linguas_uz linguas_vi linguas_zh_CN linguas_zh_TW linguas_zu
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
install postinst postrm preinst prepare unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
>=sys-apps/sed-4 app-arch/xz-utils >=sys-apps/sed-4
|
||||
media-libs/fontconfig media-libs/freetype sys-apps/util-linux sys-libs/zlib virtual/opengl x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXext x11-libs/libXft x11-libs/libXrender x11-libs/libXt gtk? ( dev-libs/atk dev-libs/glib:2 x11-libs/cairo x11-libs/gdk-pixbuf gtk? ( x11-libs/gtk+:2 ) gtk3? ( x11-libs/gtk+:3 ) x11-libs/pango x11-libs/pixman ) gtk3? ( dev-libs/atk dev-libs/glib:2 x11-libs/cairo x11-libs/gdk-pixbuf gtk? ( x11-libs/gtk+:2 ) gtk3? ( x11-libs/gtk+:3 ) x11-libs/pango x11-libs/pixman ) kde? ( kde-base/kdelibs x11-libs/qt-core x11-libs/qt-gui ) gstreamer? ( dev-libs/glib:2 dev-libs/libxml2 media-libs/gst-plugins-base media-libs/gstreamer media-plugins/gst-plugins-meta )
|
||||
0
|
||||
amd64? ( http://snapshot.opera.com/unix/freckles_11.62-1273/opera-11.62-1274.x86_64.linux.tar.xz )
|
||||
|
||||
http://www.opera.com/
|
||||
OPERA-11 LGPL-2 LGPL-3
|
||||
A fast and secure web browser and Internet suite
|
||||
~amd64
|
||||
eutils fdo-mime gnome2-utils multilib pax-utils portability toolchain-funcs user versionator
|
||||
elibc_FreeBSD gtk gtk3 kde +gstreamer linguas_af linguas_az linguas_be linguas_bg linguas_bn linguas_cs linguas_da linguas_de linguas_el linguas_en_GB linguas_es_ES linguas_es_LA linguas_et linguas_fi linguas_fr linguas_fr_CA linguas_fy linguas_gd linguas_hi linguas_hr linguas_hu linguas_id linguas_it linguas_ja linguas_ka linguas_ko linguas_lt linguas_me linguas_mk linguas_ms linguas_nb linguas_nl linguas_nn linguas_pa linguas_pl linguas_pt linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sr linguas_sv linguas_sw linguas_ta linguas_te linguas_th linguas_tl linguas_tr linguas_uk linguas_uz linguas_vi linguas_zh_CN linguas_zh_TW linguas_zu
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
install postinst postrm preinst prepare unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
>=sys-apps/sed-4 app-arch/xz-utils >=sys-apps/sed-4
|
||||
media-libs/fontconfig media-libs/freetype sys-apps/util-linux sys-libs/zlib virtual/opengl x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXext x11-libs/libXft x11-libs/libXrender x11-libs/libXt gtk? ( dev-libs/atk dev-libs/glib:2 x11-libs/cairo x11-libs/gdk-pixbuf gtk? ( x11-libs/gtk+:2 ) gtk3? ( x11-libs/gtk+:3 ) x11-libs/pango x11-libs/pixman ) gtk3? ( dev-libs/atk dev-libs/glib:2 x11-libs/cairo x11-libs/gdk-pixbuf gtk? ( x11-libs/gtk+:2 ) gtk3? ( x11-libs/gtk+:3 ) x11-libs/pango x11-libs/pixman ) kde? ( kde-base/kdelibs x11-libs/qt-core x11-libs/qt-gui ) gstreamer? ( dev-libs/glib:2 dev-libs/libxml2 media-libs/gst-plugins-base media-libs/gstreamer media-plugins/gst-plugins-meta )
|
||||
0
|
||||
amd64? ( http://snapshot.opera.com/unix/1133_11.62-1297/opera-11.62-1298.x86_64.linux.tar.xz )
|
||||
|
||||
http://www.opera.com/
|
||||
OPERA-11 LGPL-2 LGPL-3
|
||||
A fast and secure web browser and Internet suite
|
||||
~amd64
|
||||
eutils fdo-mime gnome2-utils multilib pax-utils portability toolchain-funcs user versionator
|
||||
elibc_FreeBSD gtk gtk3 kde +gstreamer linguas_af linguas_az linguas_be linguas_bg linguas_bn linguas_cs linguas_da linguas_de linguas_el linguas_en_GB linguas_es_ES linguas_es_LA linguas_et linguas_fi linguas_fr linguas_fr_CA linguas_fy linguas_gd linguas_hi linguas_hr linguas_hu linguas_id linguas_it linguas_ja linguas_ka linguas_ko linguas_lt linguas_me linguas_mk linguas_ms linguas_nb linguas_nl linguas_nn linguas_pa linguas_pl linguas_pt linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sr linguas_sv linguas_sw linguas_ta linguas_te linguas_th linguas_tl linguas_tr linguas_uk linguas_uz linguas_vi linguas_zh_CN linguas_zh_TW linguas_zu
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
install postinst postrm preinst prepare unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
>=sys-apps/sed-4 app-arch/xz-utils >=sys-apps/sed-4
|
||||
media-libs/fontconfig media-libs/freetype sys-apps/util-linux sys-libs/zlib virtual/opengl x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXext x11-libs/libXft x11-libs/libXrender x11-libs/libXt gtk? ( dev-libs/atk dev-libs/glib:2 x11-libs/cairo x11-libs/gdk-pixbuf gtk? ( x11-libs/gtk+:2 ) gtk3? ( x11-libs/gtk+:3 ) x11-libs/pango x11-libs/pixman ) gtk3? ( dev-libs/atk dev-libs/glib:2 x11-libs/cairo x11-libs/gdk-pixbuf gtk? ( x11-libs/gtk+:2 ) gtk3? ( x11-libs/gtk+:3 ) x11-libs/pango x11-libs/pixman ) kde? ( kde-base/kdelibs x11-libs/qt-core x11-libs/qt-gui ) gstreamer? ( dev-libs/glib:2 dev-libs/libxml2 media-libs/gst-plugins-base media-libs/gstreamer media-plugins/gst-plugins-meta )
|
||||
0
|
||||
x86? ( http://snapshot.opera.com/unix/1133_11.62-1297/opera-11.62-1297.i386.linux.tar.xz ) x86-fbsd? ( http://snapshot.opera.com/unix/1133_11.62-1297/opera-11.62-1297.i386.freebsd.tar.xz )
|
||||
amd64? ( http://snapshot.opera.com/unix/1313_11.62-1302/opera-11.62-1302.x86_64.linux.tar.xz ) x86? ( http://snapshot.opera.com/unix/1313_11.62-1302/opera-11.62-1302.i386.linux.tar.xz ) x86-fbsd? ( http://snapshot.opera.com/unix/1313_11.62-1302/opera-11.62-1302.i386.freebsd.tar.xz )
|
||||
|
||||
http://www.opera.com/
|
||||
OPERA-11 LGPL-2 LGPL-3
|
||||
A fast and secure web browser and Internet suite
|
||||
~x86 ~x86-fbsd
|
||||
~amd64 ~x86 ~x86-fbsd
|
||||
eutils fdo-mime gnome2-utils multilib pax-utils portability toolchain-funcs user versionator
|
||||
elibc_FreeBSD gtk gtk3 kde +gstreamer linguas_af linguas_az linguas_be linguas_bg linguas_bn linguas_cs linguas_da linguas_de linguas_el linguas_en_GB linguas_es_ES linguas_es_LA linguas_et linguas_fi linguas_fr linguas_fr_CA linguas_fy linguas_gd linguas_hi linguas_hr linguas_hu linguas_id linguas_it linguas_ja linguas_ka linguas_ko linguas_lt linguas_me linguas_mk linguas_ms linguas_nb linguas_nl linguas_nn linguas_pa linguas_pl linguas_pt linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sr linguas_sv linguas_sw linguas_ta linguas_te linguas_th linguas_tl linguas_tr linguas_uk linguas_uz linguas_vi linguas_zh_CN linguas_zh_TW linguas_zu
|
||||
|
@ -0,0 +1,22 @@
|
||||
pcre? ( >=dev-libs/libpcre-4.2 ) ssl? ( dev-libs/openssl ) http-cache? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_geo? ( dev-libs/geoip ) nginx_modules_http_gzip? ( sys-libs/zlib ) nginx_modules_http_gzip_static? ( sys-libs/zlib ) nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] ) nginx_modules_http_perl? ( >=dev-lang/perl-5.8 ) nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 ) nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt ) arm? ( dev-libs/libatomic_ops ) libatomic? ( dev-libs/libatomic_ops ) ssl? ( dev-libs/openssl )
|
||||
pcre? ( >=dev-libs/libpcre-4.2 ) ssl? ( dev-libs/openssl ) http-cache? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_geo? ( dev-libs/geoip ) nginx_modules_http_gzip? ( sys-libs/zlib ) nginx_modules_http_gzip_static? ( sys-libs/zlib ) nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] ) nginx_modules_http_perl? ( >=dev-lang/perl-5.8 ) nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 ) nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
0
|
||||
http://nginx.org/download/nginx-1.0.12.tar.gz nginx_modules_http_upload_progress? ( http://github.com/masterzen/nginx-upload-progress-module/tarball/v0.8.3 -> ngx_upload_progress-0.8.3.tar.gz ) nginx_modules_http_headers_more? ( http://github.com/agentzh/headers-more-nginx-module/tarball/v0.15 -> ngx_http_headers_more-0.15.tar.gz ) nginx_modules_http_push? ( http://pushmodule.slact.net/downloads/nginx_http_push_module-0.692.tar.gz ) nginx_modules_http_cache_purge? ( http://labs.frickle.com/files/ngx_cache_purge-1.4.tar.gz ) nginx_modules_http_upload? ( http://www.grid.net.ru/nginx/download/nginx_upload_module-2.2.0.tar.gz ) nginx_modules_http_slowfs_cache? ( http://labs.frickle.com/files/ngx_slowfs_cache-1.6.tar.gz )
|
||||
|
||||
http://nginx.org
|
||||
as-is BSD BSD-2 GPL-2 MIT
|
||||
Robust, small and high performance http and reverse proxy server
|
||||
~amd64 ~ppc ~x86 ~x86-fbsd
|
||||
base eutils flag-o-matic multilib perl-module portability ssl-cert toolchain-funcs user
|
||||
aio debug +http +http-cache ipv6 libatomic +pcre ssl vim-syntax +nginx_modules_http_access +nginx_modules_http_auth_basic +nginx_modules_http_autoindex +nginx_modules_http_browser +nginx_modules_http_charset +nginx_modules_http_empty_gif +nginx_modules_http_fastcgi +nginx_modules_http_geo +nginx_modules_http_gzip +nginx_modules_http_limit_req +nginx_modules_http_limit_zone +nginx_modules_http_map +nginx_modules_http_memcached +nginx_modules_http_proxy +nginx_modules_http_referer +nginx_modules_http_rewrite +nginx_modules_http_scgi +nginx_modules_http_ssi +nginx_modules_http_split_clients +nginx_modules_http_upstream_ip_hash +nginx_modules_http_userid +nginx_modules_http_uwsgi nginx_modules_http_addition nginx_modules_http_dav nginx_modules_http_degradation nginx_modules_http_flv nginx_modules_http_geoip nginx_modules_http_gzip_static nginx_modules_http_image_filter nginx_modules_http_mp4 nginx_modules_http_perl nginx_modules_http_random_index nginx_modules_http_realip nginx_modules_http_secure_link nginx_modules_http_stub_status nginx_modules_http_sub nginx_modules_http_xslt nginx_modules_mail_imap nginx_modules_mail_pop3 nginx_modules_mail_smtp nginx_modules_http_upload_progress nginx_modules_http_headers_more nginx_modules_http_passenger nginx_modules_http_push nginx_modules_http_cache_purge nginx_modules_http_upload nginx_modules_http_slowfs_cache ssl
|
||||
|
||||
vim-syntax? ( app-vim/nginx-syntax )
|
||||
|
||||
4
|
||||
|
||||
compile configure install postinst prepare setup test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
pcre? ( >=dev-libs/libpcre-4.2 ) ssl? ( dev-libs/openssl ) http-cache? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_geo? ( dev-libs/geoip ) nginx_modules_http_gzip? ( sys-libs/zlib ) nginx_modules_http_gzip_static? ( sys-libs/zlib ) nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] ) nginx_modules_http_perl? ( >=dev-lang/perl-5.8 ) nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 ) nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt ) arm? ( dev-libs/libatomic_ops ) libatomic? ( dev-libs/libatomic_ops ) ssl? ( dev-libs/openssl )
|
||||
pcre? ( >=dev-libs/libpcre-4.2 ) ssl? ( dev-libs/openssl ) http-cache? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_geo? ( dev-libs/geoip ) nginx_modules_http_gzip? ( sys-libs/zlib ) nginx_modules_http_gzip_static? ( sys-libs/zlib ) nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] ) nginx_modules_http_perl? ( >=dev-lang/perl-5.8 ) nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 ) nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) ) nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
0
|
||||
http://nginx.org/download/nginx-1.1.12.tar.gz nginx_modules_http_upload_progress? ( http://github.com/masterzen/nginx-upload-progress-module/tarball/v0.8.3 -> ngx_upload_progress-0.8.3.tar.gz ) nginx_modules_http_headers_more? ( http://github.com/agentzh/headers-more-nginx-module/tarball/v0.15 -> ngx_http_headers_more-0.15.tar.gz ) nginx_modules_http_push? ( http://pushmodule.slact.net/downloads/nginx_http_push_module-0.692.tar.gz ) nginx_modules_http_cache_purge? ( http://labs.frickle.com/files/ngx_cache_purge-1.5.tar.gz ) nginx_modules_http_upload? ( http://www.grid.net.ru/nginx/download/nginx_upload_module-2.2.0.tar.gz ) nginx_modules_http_slowfs_cache? ( http://labs.frickle.com/files/ngx_slowfs_cache-1.6.tar.gz )
|
||||
http://nginx.org/download/nginx-1.1.14.tar.gz nginx_modules_http_upload_progress? ( http://github.com/masterzen/nginx-upload-progress-module/tarball/v0.8.3 -> ngx_upload_progress-0.8.3.tar.gz ) nginx_modules_http_headers_more? ( http://github.com/agentzh/headers-more-nginx-module/tarball/v0.15 -> ngx_http_headers_more-0.15.tar.gz ) nginx_modules_http_push? ( http://pushmodule.slact.net/downloads/nginx_http_push_module-0.692.tar.gz ) nginx_modules_http_cache_purge? ( http://labs.frickle.com/files/ngx_cache_purge-1.5.tar.gz ) nginx_modules_http_upload? ( http://www.grid.net.ru/nginx/download/nginx_upload_module-2.2.0.tar.gz ) nginx_modules_http_slowfs_cache? ( http://labs.frickle.com/files/ngx_slowfs_cache-1.6.tar.gz )
|
||||
|
||||
http://nginx.org
|
||||
as-is BSD BSD-2 GPL-2 MIT
|
@ -0,0 +1,22 @@
|
||||
>=dev-libs/glib-2.24 >=x11-libs/gtk+-2.20:2 dev-util/pkgconfig >=sys-apps/sed-4
|
||||
>=dev-libs/glib-2.24 >=x11-libs/gtk+-2.20:2
|
||||
0
|
||||
mirror://xfce/src/xfce/gtk-xfce-engine/2.99/gtk-xfce-engine-2.99.1.tar.bz2
|
||||
|
||||
http://www.xfce.org/projects/
|
||||
GPL-2
|
||||
A port of Xfce engine to GTK+-2.x
|
||||
~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris
|
||||
autotools base eutils fdo-mime gnome2-utils libtool multilib portability toolchain-funcs user xfconf
|
||||
debug
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install postinst postrm preinst prepare setup unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
>=dev-libs/glib-2.24 x11-libs/gtk+:3 dev-util/pkgconfig >=sys-apps/sed-4
|
||||
>=dev-libs/glib-2.24 x11-libs/gtk+:3
|
||||
3
|
||||
mirror://xfce/src/xfce/gtk-xfce-engine/2.99/gtk-xfce-engine-2.99.1.tar.bz2
|
||||
|
||||
http://www.xfce.org/projects/
|
||||
GPL-2
|
||||
A port of Xfce engine to GTK+-3.x
|
||||
~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris
|
||||
autotools base eutils fdo-mime gnome2-utils libtool multilib portability toolchain-funcs user xfconf
|
||||
debug
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install postinst postrm preinst prepare setup unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Sat, 11 Feb 2012 09:36:46 +0000
|
||||
Sat, 11 Feb 2012 15:06:47 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sat, 11 Feb 2012 09:36:47 +0000
|
||||
Sat, 11 Feb 2012 15:06:47 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sat, 11 Feb 2012 09:36:48 +0000
|
||||
Sat, 11 Feb 2012 15:06:49 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sat Feb 11 09:36:46 UTC 2012
|
||||
Sat Feb 11 15:06:47 UTC 2012
|
||||
|
@ -1 +1 @@
|
||||
Sat, 11 Feb 2012 10:00:01 +0000
|
||||
Sat, 11 Feb 2012 15:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1328952901 Sat Feb 11 09:35:01 2012 UTC
|
||||
1328972701 Sat Feb 11 15:05:01 2012 UTC
|
||||
|
@ -0,0 +1 @@
|
||||
DIST skypetab-ng-0.4.9_pre20111124.tar.gz 46685 RMD160 9663ecf6624c6fd5ac70888b17d62cd8f06af53d SHA1 890282ff3069ae81797625081065a5fdecb1d174 SHA256 d2b09a97e415265ca48e13d831f3d4e1ddac48c77df4e2a84fb0093a86a30f68
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>slyfox@gentoo.org</email>
|
||||
<name>Sergei Trofimovich</name>
|
||||
<description>Primary Maintainer</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-im/skypetab-ng/skypetab-ng-0.4.9_pre20111124.ebuild,v 1.1 2012/02/11 10:47:39 slyfox Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://github.com/kekekeks/skypetab-ng.git"
|
||||
LIVE_ECLASSES="git-2"
|
||||
LIVE_EBUILD=yes
|
||||
fi
|
||||
MY_P=${P/_pre*//}
|
||||
|
||||
inherit qt4-r2 multilib ${LIVE_ECLASSES}
|
||||
|
||||
if [[ -z ${LIVE_EBUILD} ]]; then
|
||||
KEYWORDS="-* ~x86 ~amd64"
|
||||
SRC_URI="http://dev.gentoo.org/~slyfox/${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An LD_PRELOAD wrapper that adds tabs to Skype for Linux"
|
||||
HOMEPAGE="http://github.com/kekekeks/skypetab-ng"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
x11-libs/qt-gui
|
||||
amd64? ( app-emulation/emul-linux-x86-qtlibs )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
net-im/skype
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
use amd64 && multilib_toolchain_setup x86
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-im/skypetab-ng/skypetab-ng-9999.ebuild,v 1.1 2012/02/11 10:47:39 slyfox Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://github.com/kekekeks/skypetab-ng.git"
|
||||
LIVE_ECLASSES="git-2"
|
||||
LIVE_EBUILD=yes
|
||||
fi
|
||||
MY_P=${P/_pre*//}
|
||||
|
||||
inherit qt4-r2 multilib ${LIVE_ECLASSES}
|
||||
|
||||
if [[ -z ${LIVE_EBUILD} ]]; then
|
||||
KEYWORDS="-* ~x86 ~amd64"
|
||||
SRC_URI="http://dev.gentoo.org/~slyfox/${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An LD_PRELOAD wrapper that adds tabs to Skype for Linux"
|
||||
HOMEPAGE="http://github.com/kekekeks/skypetab-ng"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
x11-libs/qt-gui
|
||||
amd64? ( app-emulation/emul-linux-x86-qtlibs )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
net-im/skype
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
use amd64 && multilib_toolchain_setup x86
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/ipx-utils/files/ipx.init-r1,v 1.1 2012/02/11 14:32:31 pacho Exp $
|
||||
|
||||
#NB: Config is in /etc/conf.d/ipx
|
||||
|
||||
depend() {
|
||||
use net
|
||||
}
|
||||
|
||||
start() {
|
||||
local retval=0
|
||||
|
||||
ebegin "Bringing IPX up"
|
||||
if [ ${IPX_INTERNAL_NET} = "yes" ]
|
||||
then
|
||||
/sbin/ipx_internal_net add ${IPX_NETNUM} ${IPX_NODENUM}
|
||||
retval=$?
|
||||
else
|
||||
/sbin/ipx_interface add -p ${IPX_DEVICE} \
|
||||
${IPX_FRAME} ${IPX_NETNUM}
|
||||
retval=$?
|
||||
fi
|
||||
|
||||
ipx_configure \
|
||||
--auto_primary=${IPX_AUTO_PRIMARY} \
|
||||
--auto_interface=${IPX_AUTO_INTERFACE}
|
||||
retval=$(( $retval + $? ))
|
||||
eend ${retval} "Failed to bring IPX up"
|
||||
}
|
||||
|
||||
stop() {
|
||||
local retval=0
|
||||
|
||||
ebegin "Bringing IPX down"
|
||||
/bin/umount -v -a -tncpfs
|
||||
/sbin/ipx_configure --auto_primary=off --auto_interface=off
|
||||
retval=$?
|
||||
/sbin/ipx_interface delall
|
||||
retval=$(( $retval + $? ))
|
||||
eend ${retval} "Failed to down IPX"
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/ipx-utils/ipx-utils-1.1-r3.ebuild,v 1.1 2012/02/11 14:32:30 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="The IPX Utilities"
|
||||
HOMEPAGE="ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/"
|
||||
SRC_URI="ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/${P/-utils}.tar.gz"
|
||||
|
||||
LICENSE="Caldera"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
S=${WORKDIR}/${P/-utils}
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s:-O2 -Wall:${CFLAGS}:" "${S}"/Makefile
|
||||
epatch "${FILESDIR}"/${P}-makefile.patch
|
||||
epatch "${FILESDIR}"/${P}-proc.patch #67642
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /sbin /usr/share/man/man8
|
||||
dodoc "${S}"/README
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
newconfd "${FILESDIR}"/ipx.confd ipx
|
||||
newinitd "${FILESDIR}"/ipx.init-r1 ipx
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST gspiceui-v0.9.99.tar.gz 574595 RMD160 5e8078ff3864a5ea0d5d811db5ad3bbbd296e5b3 SHA1 5d258093a3d3ea81be1fb2ab5dc13aa93164f90e SHA256 9d76db157c4b3f0d4b7bba289653f6646da5183eb7cdc08c9f1056aa7d3f9533
|
||||
DIST gspiceui-v1.0.00.tar.gz 612517 RMD160 9eba82f8d87044b9a0fbba2cd41671e7e7e9dd4d SHA1 eda07e6ea5ee20c06a4a95d42c91782f5a0148e0 SHA256 ff8d38b9bb10bf695c00a0660dcbd14a43072e93851c5100a85133919736d5da
|
||||
|
@ -0,0 +1,28 @@
|
||||
# drop -Ofast option understood only from gcc-4.6 on
|
||||
# and make it respect LDFLAGS and CXXFLAGS
|
||||
--- src/Makefile.old 2012-02-11 13:29:27.000000000 +0100
|
||||
+++ src/Makefile 2012-02-11 13:31:13.000000000 +0100
|
||||
@@ -59,13 +59,7 @@
|
||||
INSTALLDIR = /usr/local/bin
|
||||
|
||||
# Compiler options
|
||||
-ifeq ($(GSPICEUI_DBG),0)
|
||||
- # Options for release (not using -Wall since it's GCC specific)
|
||||
- CXXFLAGS := -Ofast -pipe $(shell $(WXCFG) --cxxflags)
|
||||
-else
|
||||
- # Options for development
|
||||
- CXXFLAGS := -Wall -g -pipe $(shell $(WXCFG) --cxxflags)
|
||||
-endif
|
||||
+ CXXFLAGS += $(shell $(WXCFG) --cxxflags)
|
||||
|
||||
# Includes
|
||||
INCLUDES = -I/usr/include -I/usr/X11R6/include -I.
|
||||
@@ -106,7 +100,7 @@
|
||||
# -o specify the output file name
|
||||
|
||||
$(BINDIR)/$(PROG) : $(OBJS)
|
||||
- $(CC) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LIBS)
|
||||
+ $(CC) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LDFLAGS) $(LIBS)
|
||||
ifeq ($(ROOT)/GSpiceUI.app,$(wildcard $(ROOT)/GSpiceUI.app))
|
||||
cp $(BINDIR)/$(PROG) $(ROOT)/GSpiceUI.app/Contents/MacOS/gspiceui
|
||||
endif
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/gspiceui-1.0.0.ebuild,v 1.1 2012/02/11 13:50:23 tomjbe Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
inherit eutils wxwidgets
|
||||
|
||||
MY_P="${PN}-v${PV}0"
|
||||
|
||||
DESCRIPTION="GUI frontend for Ngspice and Gnucap"
|
||||
HOMEPAGE="http://www.geda.seul.org/tools/gspiceui/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples schematics waveform"
|
||||
|
||||
DEPEND="x11-libs/wxGTK:2.8[X]
|
||||
sci-electronics/electronics-menu"
|
||||
RDEPEND="${DEPEND}
|
||||
|| ( sci-electronics/ngspice sci-electronics/gnucap )
|
||||
waveform? ( sci-electronics/gwave )
|
||||
schematics? ( sci-electronics/geda )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# Use Gentoo LDFLAGS and CXXFLAGS
|
||||
epatch "${FILESDIR}/${P}-flags.patch"
|
||||
|
||||
# Adjusting the doc path at src/main/HelpTasks.cpp
|
||||
sed -i -e \
|
||||
"s:/share/gspiceui/html/User-Manual.html:/share/doc/${PF}/html/User-Manual.html:g" \
|
||||
src/main/HelpTasks.cpp || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/gspiceui || die
|
||||
dodoc ChangeLog ReadMe ToDo || die
|
||||
doman gspiceui.1 || die
|
||||
newicon src/icons/gspiceui-48x48.xpm gspiceui.xpm || die
|
||||
|
||||
dohtml html/*.html html/*.jpg || die
|
||||
|
||||
# installing examples and according model and symbol files
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/sch
|
||||
doins -r sch/* || die
|
||||
insinto /usr/share/doc/${PF}/lib
|
||||
doins -r lib/* || die
|
||||
fi
|
||||
|
||||
make_desktop_entry gspiceui "GNU Spice GUI" gspiceui "Electronics"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use examples ; then
|
||||
elog "If you want to use the examples, copy from"
|
||||
elog "/usr/share/doc/${PF} the sch and lib directory"
|
||||
elog "side by side to your home directory to be able"
|
||||
elog "to generate the netlists as normal user."
|
||||
fi
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
--- src/Makefile.am 2006-12-30 01:00:22.000000000 -0600
|
||||
+++ src/Makefile.am 2006-12-30 01:01:11.000000000 -0600
|
||||
@@ -20,7 +20,7 @@
|
||||
AM_CFLAGS = \
|
||||
-DMDNS_ALLOW_FILE=\"$(sysconfdir)/mdns.allow\" \
|
||||
-DRESOLV_CONF_FILE=\"$(sysconfdir)/resolv.conf\" \
|
||||
- -DAVAHI_SOCKET=\"$(localstatedir)/run/avahi-daemon/socket\"
|
||||
+ -DAVAHI_SOCKET=\"$(ROOT)var/run/avahi-daemon/socket\"
|
||||
|
||||
#AM_CFLAGS += -DNDEBUG=1 -Os
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-mdns/nss-mdns-0.9-r1.ebuild,v 1.8 2009/03/20 04:14:55 jmbsvicetto Exp $
|
||||
|
||||
WANT_AUTOCONF="latest"
|
||||
WANT_AUTOMAKE="1.9"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Name Service Switch module for Multicast DNS"
|
||||
HOMEPAGE="http://0pointer.de/lennart/projects/nss-mdns/"
|
||||
SRC_URI="http://0pointer.de/lennart/projects/nss-mdns/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="net-dns/avahi"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}/${PN}-0.8-avahi-socket.patch"
|
||||
eautomake
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf --enable-search-domains --enable-avahi || die "configure failed"
|
||||
emake || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "install failed"
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}/mdns.allow"
|
||||
|
||||
dodoc README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn
|
||||
ewarn "You must modify your name service switch look up file to enable"
|
||||
ewarn "multicast DNS lookups. If you wish to resolve only IPv6 addresses"
|
||||
ewarn "use mdns6. For IPv4 addresses only, use mdns4. To resolve both"
|
||||
ewarn "use mdns. Keep in mind that mdns will be slower if there are no"
|
||||
ewarn "IPv6 addresses published via mDNS on the network. There are also"
|
||||
ewarn "minimal (mdns?_minimal) libraries which only lookup .local hosts"
|
||||
ewarn "and 169.254.x.x addresses."
|
||||
ewarn
|
||||
ewarn "Add the appropriate mdns into the hosts line in /etc/nsswitch.conf"
|
||||
ewarn "An example line looks like:"
|
||||
einfo "hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4"
|
||||
ewarn
|
||||
ewarn "If you want to perform mDNS lookups for domains other than the ones"
|
||||
ewarn "ending in .local, add them to /etc/mdns.allow"
|
||||
ewarn
|
||||
ebeep 5
|
||||
epause 10
|
||||
}
|
@ -0,0 +1,337 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-client/firefox/firefox-10.0.1.ebuild,v 1.1 2012/02/11 14:17:56 anarchy Exp $
|
||||
|
||||
EAPI="3"
|
||||
VIRTUALX_REQUIRED="pgo"
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
# This list can be updated with scripts/get_langs.sh from the mozilla overlay
|
||||
MOZ_LANGS=(af ak ar as ast be bg bn-BD bn-IN br bs ca cs csb cy da de el en
|
||||
en-GB en-US en-ZA eo es-AR es-CL es-ES es-MX et eu fa fi fr fy-NL ga-IE gd gl
|
||||
gu-IN he hi-IN hr hu hy-AM id is it ja kk kn ko ku lg lt lv mai mk ml mr nb-NO
|
||||
nl nn-NO nso or pa-IN pl pt-BR pt-PT rm ro ru si sk sl son sq sr sv-SE ta ta-LK
|
||||
te th tr uk vi zh-CN zh-TW zu)
|
||||
|
||||
# Convert the ebuild version to the upstream mozilla version, used by mozlinguas
|
||||
MOZ_PV="${PV/_alpha/a}" # Handle alpha for SRC_URI
|
||||
MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
|
||||
MOZ_PV="${MOZ_PV/_rc/rc}" # Handle rc for SRC_URI
|
||||
|
||||
# Changeset for alpha snapshot
|
||||
CHANGESET="e56ecd8b3a68"
|
||||
# Patch version
|
||||
PATCH="${PN}-10.0-patches-0.5"
|
||||
# Upstream ftp release URI that's used by mozlinguas.eclass
|
||||
# We don't use the http mirror because it deletes old tarballs.
|
||||
MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/${PN}/releases/"
|
||||
|
||||
inherit check-reqs flag-o-matic toolchain-funcs eutils gnome2-utils mozconfig-3 multilib pax-utils fdo-mime autotools python virtualx nsplugins mozlinguas
|
||||
|
||||
DESCRIPTION="Firefox Web Browser"
|
||||
HOMEPAGE="http://www.mozilla.com/firefox"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
|
||||
IUSE="bindist +crashreporter +ipc +minimal pgo selinux system-sqlite +webm"
|
||||
|
||||
# More URIs appended below...
|
||||
SRC_URI="${SRC_URI}
|
||||
http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCH}.tar.xz"
|
||||
|
||||
ASM_DEPEND=">=dev-lang/yasm-1.1"
|
||||
|
||||
# Mesa 7.10 needed for WebGL + bugfixes
|
||||
RDEPEND="
|
||||
>=sys-devel/binutils-2.16.1
|
||||
>=dev-libs/nss-3.13.1
|
||||
>=dev-libs/nspr-4.8.8
|
||||
>=dev-libs/glib-2.26:2
|
||||
>=media-libs/mesa-7.10
|
||||
media-libs/libpng[apng]
|
||||
virtual/libffi
|
||||
system-sqlite? ( >=dev-db/sqlite-3.7.7.1[fts3,secure-delete,threadsafe,unlock-notify,debug=] )
|
||||
webm? ( >=media-libs/libvpx-0.9.7
|
||||
media-libs/alsa-lib )
|
||||
crashreporter? ( net-misc/curl )
|
||||
selinux? ( sec-policy/selinux-mozilla )"
|
||||
# We don't use PYTHON_DEPEND/PYTHON_USE_WITH for some silly reason
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
pgo? (
|
||||
=dev-lang/python-2*[sqlite]
|
||||
>=sys-devel/gcc-4.5 )
|
||||
webm? ( x86? ( ${ASM_DEPEND} )
|
||||
amd64? ( ${ASM_DEPEND} ) )"
|
||||
|
||||
# No source releases for alpha|beta
|
||||
if [[ ${PV} =~ alpha ]]; then
|
||||
SRC_URI="${SRC_URI}
|
||||
http://dev.gentoo.org/~anarchy/mozilla/firefox/firefox-${MOZ_PV}_${CHANGESET}.source.tar.bz2"
|
||||
S="${WORKDIR}/mozilla-central"
|
||||
elif [[ ${PV} =~ beta ]]; then
|
||||
SRC_URI="${SRC_URI}
|
||||
${MOZ_FTP_URI}/${MOZ_PV}/source/firefox-${MOZ_PV}.source.tar.bz2"
|
||||
S="${WORKDIR}/mozilla-beta"
|
||||
else
|
||||
SRC_URI="${SRC_URI}
|
||||
${MOZ_FTP_URI}/${MOZ_PV}/source/firefox-${MOZ_PV}.source.tar.bz2"
|
||||
S="${WORKDIR}/mozilla-release"
|
||||
fi
|
||||
|
||||
QA_PRESTRIPPED="usr/$(get_libdir)/${PN}/firefox"
|
||||
|
||||
pkg_setup() {
|
||||
moz_pkgsetup
|
||||
|
||||
# Avoid PGO profiling problems due to enviroment leakage
|
||||
# These should *always* be cleaned up anyway
|
||||
unset DBUS_SESSION_BUS_ADDRESS \
|
||||
DISPLAY \
|
||||
ORBIT_SOCKETDIR \
|
||||
SESSION_MANAGER \
|
||||
XDG_SESSION_COOKIE \
|
||||
XAUTHORITY
|
||||
|
||||
if ! use bindist; then
|
||||
einfo
|
||||
elog "You are enabling official branding. You may not redistribute this build"
|
||||
elog "to any users on your network or the internet. Doing so puts yourself into"
|
||||
elog "a legal problem with Mozilla Foundation"
|
||||
elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag"
|
||||
fi
|
||||
|
||||
if use pgo; then
|
||||
einfo
|
||||
ewarn "You will do a double build for profile guided optimization."
|
||||
ewarn "This will result in your build taking at least twice as long as before."
|
||||
fi
|
||||
|
||||
# Ensure we have enough disk space to compile
|
||||
if use pgo || use debug || use test ; then
|
||||
CHECKREQS_DISK_BUILD="8G"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="4G"
|
||||
fi
|
||||
check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Unpack language packs
|
||||
mozlinguas_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Apply our patches
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}/firefox"
|
||||
|
||||
# Allow user to apply any additional patches without modifing ebuild
|
||||
epatch_user
|
||||
|
||||
# Enable gnomebreakpad
|
||||
if use debug ; then
|
||||
sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \
|
||||
"${S}"/build/unix/run-mozilla.sh || die "sed failed!"
|
||||
fi
|
||||
|
||||
# Disable gnomevfs extension
|
||||
sed -i -e "s:gnomevfs::" "${S}/"browser/confvars.sh \
|
||||
-e "s:gnomevfs::" "${S}/"xulrunner/confvars.sh \
|
||||
|| die "Failed to remove gnomevfs extension"
|
||||
|
||||
# Ensure that are plugins dir is enabled as default
|
||||
sed -i -e "s:/usr/lib/mozilla/plugins:/usr/$(get_libdir)/nsbrowser/plugins:" \
|
||||
"${S}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path!"
|
||||
|
||||
# Fix sandbox violations during make clean, bug 372817
|
||||
sed -e "s:\(/no-such-file\):${T}\1:g" \
|
||||
-i "${S}"/config/rules.mk \
|
||||
-i "${S}"/js/src/config/rules.mk \
|
||||
-i "${S}"/nsprpub/configure{.in,} \
|
||||
|| die
|
||||
|
||||
#Fix compilation with curl-7.21.7 bug 376027
|
||||
sed -e '/#include <curl\/types.h>/d' \
|
||||
-i "${S}"/toolkit/crashreporter/google-breakpad/src/common/linux/http_upload.cc \
|
||||
-i "${S}"/toolkit/crashreporter/google-breakpad/src/common/linux/libcurl_wrapper.cc \
|
||||
-i "${S}"/config/system-headers \
|
||||
-i "${S}"/js/src/config/system-headers || die "Sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
|
||||
MEXTENSIONS="default"
|
||||
|
||||
####################################
|
||||
#
|
||||
# mozconfig, CFLAGS and CXXFLAGS setup
|
||||
#
|
||||
####################################
|
||||
|
||||
mozconfig_init
|
||||
mozconfig_config
|
||||
|
||||
# It doesn't compile on alpha without this LDFLAGS
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
mozconfig_annotate '' --prefix="${EPREFIX}"/usr
|
||||
mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
|
||||
mozconfig_annotate '' --disable-gconf
|
||||
mozconfig_annotate '' --disable-mailnews
|
||||
mozconfig_annotate '' --enable-canvas
|
||||
mozconfig_annotate '' --enable-safe-browsing
|
||||
mozconfig_annotate '' --with-system-png
|
||||
mozconfig_annotate '' --enable-system-ffi
|
||||
|
||||
# Other ff-specific settings
|
||||
mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
|
||||
mozconfig_annotate '' --target="${CTARGET:-${CHOST}}"
|
||||
|
||||
mozconfig_use_enable system-sqlite
|
||||
|
||||
# Allow for a proper pgo build
|
||||
if use pgo; then
|
||||
echo "mk_add_options PROFILE_GEN_SCRIPT='\$(PYTHON) \$(OBJDIR)/_profile/pgo/profileserver.py'" >> "${S}"/.mozconfig
|
||||
fi
|
||||
|
||||
# Finalize and report settings
|
||||
mozconfig_final
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]]; then
|
||||
append-cxxflags -fno-stack-protector
|
||||
elif [[ $(gcc-major-version) -gt 4 || $(gcc-minor-version) -gt 3 ]]; then
|
||||
if use amd64 || use x86; then
|
||||
append-flags -mno-avx
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use pgo; then
|
||||
addpredict /root
|
||||
addpredict /etc/gconf
|
||||
# Reset and cleanup environment variables used by GNOME/XDG
|
||||
gnome2_environment_reset
|
||||
|
||||
# Firefox tries to use dri stuff when it's run, see bug 380283
|
||||
shopt -s nullglob
|
||||
cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${cards}"; then
|
||||
# FOSS drivers are fine
|
||||
addpredict "${cards}"
|
||||
else
|
||||
cards=$(echo -n /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g')
|
||||
if test -n "${cards}"; then
|
||||
# Binary drivers seem to cause access violations anyway, so
|
||||
# let's use indirect rendering so that the device files aren't
|
||||
# touched at all. See bug 394715.
|
||||
export LIBGL_ALWAYS_INDIRECT=1
|
||||
fi
|
||||
fi
|
||||
shopt -u nullglob
|
||||
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" \
|
||||
Xemake -f client.mk profiledbuild || die "Xemake failed"
|
||||
else
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" \
|
||||
emake -f client.mk || die "emake failed"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
|
||||
|
||||
# MOZ_BUILD_ROOT, and hence OBJ_DIR change depending on arch, compiler, pgo, etc.
|
||||
local obj_dir="$(echo */config.log)"
|
||||
obj_dir="${obj_dir%/*}"
|
||||
cd "${S}/${obj_dir}"
|
||||
|
||||
# Pax mark xpcshell for hardened support, only used for startupcache creation.
|
||||
pax-mark m "${S}/${obj_dir}"/dist/bin/xpcshell
|
||||
|
||||
# Add our default prefs for firefox + xulrunner
|
||||
cp "${FILESDIR}"/gentoo-default-prefs.js-1 \
|
||||
"${S}/${obj_dir}/dist/bin/defaults/pref/all-gentoo.js" || die
|
||||
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" \
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
# Install language packs
|
||||
mozlinguas_src_install
|
||||
|
||||
local size sizes icon_path icon name
|
||||
if use bindist; then
|
||||
sizes="16 32 48"
|
||||
icon_path="${S}/browser/branding/unofficial"
|
||||
# Firefox's new rapid release cycle means no more codenames
|
||||
# Let's just stick with this one...
|
||||
icon="tumucumaque"
|
||||
name="Tumucumaque"
|
||||
else
|
||||
sizes="16 22 24 32 256"
|
||||
icon_path="${S}/browser/branding/official"
|
||||
icon="${PN}"
|
||||
name="Mozilla Firefox"
|
||||
fi
|
||||
|
||||
# Install icons and .desktop for menu entry
|
||||
for size in ${sizes}; do
|
||||
insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
|
||||
newins "${icon_path}/default${size}.png" "${icon}.png" || die
|
||||
done
|
||||
# The 128x128 icon has a different name
|
||||
insinto "/usr/share/icons/hicolor/128x128/apps"
|
||||
newins "${icon_path}/mozicon128.png" "${icon}.png" || die
|
||||
# Install a 48x48 icon into /usr/share/pixmaps for legacy DEs
|
||||
newicon "${icon_path}/content/icon48.png" "${icon}.png" || die
|
||||
newmenu "${FILESDIR}/icon/${PN}.desktop" "${PN}.desktop" || die
|
||||
sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \
|
||||
"${ED}/usr/share/applications/${PN}.desktop" || die
|
||||
|
||||
# Add StartupNotify=true bug 237317
|
||||
if use startup-notification ; then
|
||||
echo "StartupNotify=true" >> "${ED}/usr/share/applications/${PN}.desktop"
|
||||
fi
|
||||
|
||||
# Required in order to use plugins and even run firefox on hardened.
|
||||
pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/{firefox,firefox-bin,plugin-container}
|
||||
|
||||
# Plugins dir
|
||||
share_plugins_dir
|
||||
|
||||
if use minimal; then
|
||||
rm -rf "${ED}"/usr/include "${ED}${MOZILLA_FIVE_HOME}"/{idl,include,lib,sdk} || \
|
||||
die "Failed to remove sdk and headers"
|
||||
fi
|
||||
|
||||
# very ugly hack to make firefox not sigbus on sparc
|
||||
# FIXME: is this still needed??
|
||||
use sparc && { sed -e 's/Firefox/FirefoxGentoo/g' \
|
||||
-i "${ED}/${MOZILLA_FIVE_HOME}/application.ini" || \
|
||||
die "sparc sed failed"; }
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update mimedb for the new .desktop file
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST httrack-3.42-3.tar.gz 1664057 RMD160 1e8df088ff0a2978715161b8f77f871bef3787e8 SHA1 6d4fae72290f8fdd424878e99ba4261741af1a8d SHA256 a6a91f7dfc90d625c58d0043a17af3c27a99369a76203c4e964e850e81913e3d
|
||||
DIST httrack-3.44.1.tar.gz 1664216 RMD160 04644ba0300b92392a255965d1c7191fe4f186fc SHA1 5bdbc0b294b25929e52bc932e076c9e349a18fa9 SHA256 af95a730eff665d8275770951e8816bb29def5dc66d9faeaad91f93f686c9ddd
|
||||
DIST httrack-3.44.5.tar.gz 1664721 RMD160 c358d01823fc0a0c9ba0e483518350806a828e90 SHA1 fc6d7427f5b1931f15cd13adfee226edb4c908b1 SHA256 172a873db42b83b6694ac53714743246aeaf0faed514b3a1b517ba1609b5e403
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-client/httrack/httrack-3.44.1.ebuild,v 1.1 2011/04/21 16:40:31 vanquirius Exp $
|
||||
|
||||
inherit versionator
|
||||
|
||||
DESCRIPTION="HTTrack Website Copier, Open Source Offline Browser"
|
||||
HOMEPAGE="http://www.httrack.com/"
|
||||
SRC_URI="http://download.httrack.com/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
econf || die
|
||||
# won't compile in parallel
|
||||
emake -j1 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS README greetings.txt history.txt
|
||||
dohtml httrack-doc.html
|
||||
}
|
@ -1,9 +1,6 @@
|
||||
DIST opera-11.61-1250.i386.freebsd.tar.xz 11542444 RMD160 985a7bf4e82b09e8da3cb529019df78f227bac21 SHA1 154e73851169f1a1150bcf0256529c6b05cce42e SHA256 36edb035a3b77ca1a4e63d54eb9d3aa05579443f29390bdfdb87f136bf5d1b8b
|
||||
DIST opera-11.61-1250.i386.linux.tar.xz 11490920 RMD160 7715b98548457260a838944b30b8e16de6915cec SHA1 504f05eeab4e2ef07b82ce8090c30bf49d108237 SHA256 cc4b814cd23c20e076a579b74ade72eb49c3b5e236ebd3cd95ca04251a2c853d
|
||||
DIST opera-11.61-1250.x86_64.linux.tar.xz 12319616 RMD160 36b8fe9df9717673a1252b0a1ecd72c18d36ad0f SHA1 32256a638430a8298fea12fd909c773431063430 SHA256 e5a7de9bc0092fcd8213e50d887c127b0933127dcc167d1848720f07d4085f91
|
||||
DIST opera-11.62-1273.i386.freebsd.tar.xz 11546652 RMD160 b8d44291c12aff22f6f9611781363631498dcb1b SHA1 2b8d87f09db682014714e12c5933ed9ef557eeb4 SHA256 8ee11f6df48420b3df96ff3a8280421c35c667dbce30a6a2e67b30cb5b6bb6bb
|
||||
DIST opera-11.62-1273.i386.linux.tar.xz 11488708 RMD160 54f146d25fe7375fbb697f8242281ad40b77bae1 SHA1 055e62ab24f9d9153ffc56c687d6f6438d85fc75 SHA256 243c95a39ccd7d5f2bf69d117ac5aca72fde8ceb0b18de0671fcc4581e8040fc
|
||||
DIST opera-11.62-1274.x86_64.linux.tar.xz 12317696 RMD160 7f8938ebf8185e8fadb8d93325dd286e00f03f8e SHA1 9641eee4a56e45a7eca9d80b8df8e809e810d81a SHA256 29d1a4fb2dac26ab051e430aaf21785ef377ef938d2a06d59844f5f8e5e8c7d8
|
||||
DIST opera-11.62-1297.i386.freebsd.tar.xz 11545856 RMD160 0ef01b59fe6abb7d4c6308af1226e05c121e5b9f SHA1 0583b5d24116cb31709f5b37dbcce04b24d6ec86 SHA256 ea8afc0b8e48d31a87ec4a674ed10ae780ce398812aa8ac02c28032c98bb800b
|
||||
DIST opera-11.62-1297.i386.linux.tar.xz 11481596 RMD160 3a831e09131ed166e71378e0aba9939b239fe6b6 SHA1 5ac4204a934c2f6b382957ddacc59970cd7ac7f9 SHA256 16503872f476565eb48c927ceefae7ec6136402c21d1ed9510c8f8ee5397257a
|
||||
DIST opera-11.62-1298.x86_64.linux.tar.xz 12321256 RMD160 d7755463eb727a9f7bf1aa4c5dc550eb4089cc46 SHA1 27ae0bd9baffed090ba8420c0288f0a387b6a0d0 SHA256 1fef5aabad80b2d367bde8985feb17e10af8e6eef1f9d5b9ab569d4405e87814
|
||||
DIST opera-11.62-1302.i386.freebsd.tar.xz 11547924 RMD160 6bb4f599645bc01d79fe64a5d728c457d7897a1c SHA1 d2507e29c36141f172d15123c71ec9f08793fa84 SHA256 38ebd26d56e0a3386a98a1bc39b8991a804b96320513c8cf05139ddd6c6ce1f5
|
||||
DIST opera-11.62-1302.i386.linux.tar.xz 11487300 RMD160 054c6eb3a76dabbb00e0623c303612c5d4b1e340 SHA1 3f8633c251197dc55c501d749ee53e5e83fd8727 SHA256 6e4f2225f76da461a736253a26af8fe477a1a3e2386410bb46a325526a886c49
|
||||
DIST opera-11.62-1302.x86_64.linux.tar.xz 12321020 RMD160 51524e09e3ae1658e09b04cfacc1afac68e408dd SHA1 6d5dfc909e1e11541139d59f60410ba4d1427a82 SHA256 3b7b70ef18adc51c7a1828de0d7ef65b8b7daa8066a137856c3018a7b0ccb234
|
||||
|
@ -1,221 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.62.1274.ebuild,v 1.3 2012/02/07 19:31:53 jer Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils fdo-mime gnome2-utils multilib pax-utils versionator
|
||||
|
||||
DESCRIPTION="A fast and secure web browser and Internet suite"
|
||||
HOMEPAGE="http://www.opera.com/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="OPERA-11 LGPL-2 LGPL-3"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="elibc_FreeBSD gtk gtk3 kde +gstreamer"
|
||||
|
||||
O_V="$(get_version_component_range 1-2)" # Major version, i.e. 11.00
|
||||
O_B="$(get_version_component_range 3)" # Build version, i.e. 1156
|
||||
|
||||
O_D="freckles_${O_V}-1273"
|
||||
O_P="${PN}-${O_V}-${O_B}"
|
||||
O_U="http://snapshot.opera.com/unix/"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( ${O_U}${O_D}/${O_P}.x86_64.linux.tar.xz )
|
||||
"
|
||||
|
||||
OPREFIX="/usr/$(get_libdir)"
|
||||
|
||||
QA_DT_HASH="${OPREFIX}/${PN}/.*"
|
||||
QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
|
||||
|
||||
O_LINGUAS="af az be bg bn cs da de el en-GB es-ES es-LA et fi fr fr-CA fy gd hi
|
||||
hr hu id it ja ka ko lt me mk ms nb nl nn pa pl pt pt-BR ro ru sk sr sv sw ta te
|
||||
th tl tr uk uz vi zh-CN zh-TW zu"
|
||||
|
||||
for O_LINGUA in ${O_LINGUAS}; do
|
||||
IUSE="${IUSE} linguas_${O_LINGUA/-/_}"
|
||||
done
|
||||
|
||||
DEPEND="
|
||||
>=sys-apps/sed-4
|
||||
app-arch/xz-utils
|
||||
"
|
||||
GTKRDEPEND="
|
||||
dev-libs/atk
|
||||
dev-libs/glib:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
x11-libs/pango
|
||||
x11-libs/pixman
|
||||
"
|
||||
KDERDEPEND="
|
||||
kde-base/kdelibs
|
||||
x11-libs/qt-core
|
||||
x11-libs/qt-gui
|
||||
"
|
||||
GSTRDEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2
|
||||
media-libs/gst-plugins-base
|
||||
media-libs/gstreamer
|
||||
media-plugins/gst-plugins-meta
|
||||
"
|
||||
RDEPEND="
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
sys-apps/util-linux
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXft
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
gtk? ( ${GTKRDEPEND} )
|
||||
gtk3? ( ${GTKRDEPEND} )
|
||||
kde? ( ${KDERDEPEND} )
|
||||
gstreamer? ( ${GSTRDEPEND} )
|
||||
"
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv -v ${PN}* "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local LNGDIR="share/${PN}/locale"
|
||||
|
||||
# Count linguas
|
||||
count() { echo ${#}; }
|
||||
local lingua_count=$(count ${O_LINGUAS} en)
|
||||
local locale_count=$(count ${LNGDIR}/*)
|
||||
[[ ${lingua_count} = ${locale_count} ]] \
|
||||
|| die "Number of LINGUAS does not match number of locales"
|
||||
unset count
|
||||
|
||||
# Remove unwanted linguas
|
||||
einfo "Keeping these locales (linguas): ${LINGUAS}."
|
||||
for LINGUA in ${O_LINGUAS}; do
|
||||
if ! use linguas_${LINGUA/-/_}; then
|
||||
LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-})
|
||||
rm -r "${LINGUA}" || die "The list of linguas needs to be fixed"
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove doc directory but keep the LICENSE under another name (bug #315473)
|
||||
mv share/doc/${PN}/LICENSE share/${PN}/defaults/license.txt
|
||||
rm -rf share/doc
|
||||
for locale in share/${PN}/locale/*; do
|
||||
rm -f "${locale}/license.txt"
|
||||
ln -sn /usr/share/${PN}/defaults/license.txt "${locale}/license.txt" \
|
||||
|| die
|
||||
done
|
||||
|
||||
# Remove package directory
|
||||
rm -rf share/${PN}/package
|
||||
|
||||
# Optional libraries
|
||||
if ! use gtk; then
|
||||
rm lib/${PN}/liboperagtk2.so || die
|
||||
fi
|
||||
if ! use gtk3; then
|
||||
rm lib/${PN}/liboperagtk3.so || die
|
||||
fi
|
||||
if ! use kde; then
|
||||
rm lib/${PN}/liboperakde4.so || die
|
||||
fi
|
||||
if ! use gstreamer; then
|
||||
rm -r lib/${PN}/gstreamer || die
|
||||
fi
|
||||
|
||||
# Unzip the man pages before sedding
|
||||
gunzip share/man/man1/* || die
|
||||
|
||||
# Replace PREFIX, SUFFIX and PN in various files
|
||||
sed -i \
|
||||
-e "s:@@{PREFIX}:/usr:g" \
|
||||
-e "s:@@{SUFFIX}::g" \
|
||||
-e "s:@@{_SUFFIX}::g" \
|
||||
-e "s:@@{USUFFIX}::g" \
|
||||
-e "s:opera:${PN}:g" \
|
||||
share/man/man1/* \
|
||||
share/applications/${PN}-*.desktop \
|
||||
|| die
|
||||
|
||||
# Replace "Opera" with "Opera Next"
|
||||
if [[ ${PN} = opera-next ]]; then
|
||||
sed -i share/applications/${PN}-*.desktop \
|
||||
-e "/^Name=Opera\|^ Next/s:Opera:& Next:" || die
|
||||
fi
|
||||
|
||||
# Create /usr/bin/opera wrapper
|
||||
echo '#!/bin/sh' > ${PN}
|
||||
echo 'export OPERA_DIR="/usr/share/'"${PN}"'"' >> ${PN}
|
||||
echo 'export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-"${HOME}/.'${PN}'"}' \
|
||||
>> ${PN}
|
||||
echo 'exec '"${OPREFIX}/${PN}/${PN}"' "$@"' >> ${PN}
|
||||
|
||||
# Change libz.so.3 to libz.so.1 for gentoo/freebsd
|
||||
if use elibc_FreeBSD; then
|
||||
scanelf -qR -N libz.so.3 -F "#N" lib/${PN}/ | \
|
||||
while read i; do
|
||||
if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]];
|
||||
then
|
||||
export SANITY_CHECK_LIBZ_FAILED=1
|
||||
break
|
||||
fi
|
||||
sed -i \
|
||||
"$i" \
|
||||
-e 's/libz\.so\.3/libz.so.1/g'
|
||||
done
|
||||
[[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# We install into usr instead of opt as Opera does not support the latter
|
||||
dodir /usr
|
||||
mv lib/ "${D}/${OPREFIX}" || die
|
||||
mv share/ "${D}/usr/" || die
|
||||
|
||||
# Install startup scripts
|
||||
dobin ${PN}
|
||||
|
||||
# Stop revdep-rebuild from checking opera binaries
|
||||
dodir /etc/revdep-rebuild
|
||||
echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" \
|
||||
> "${D}"/etc/revdep-rebuild/90${PN}
|
||||
|
||||
# Set PaX markings for hardened/PaX (bug #344267)
|
||||
pax-mark m \
|
||||
"${D}/${OPREFIX}/${PN}/${PN}" \
|
||||
"${D}/${OPREFIX}/${PN}/operaplugincleaner" \
|
||||
"${D}/${OPREFIX}/${PN}/operapluginwrapper"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use elibc_FreeBSD; then
|
||||
elog
|
||||
elog "To improve shared memory usage please set:"
|
||||
elog "$ sysctl kern.ipc.shm_allow_removed=1"
|
||||
fi
|
||||
|
||||
# Update desktop file database and gtk icon cache (bug #334993)
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update desktop file database and gtk icon cache (bug #334993)
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,222 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.62.1297.ebuild,v 1.1 2012/02/09 16:21:10 jer Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils fdo-mime gnome2-utils multilib pax-utils versionator
|
||||
|
||||
DESCRIPTION="A fast and secure web browser and Internet suite"
|
||||
HOMEPAGE="http://www.opera.com/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="OPERA-11 LGPL-2 LGPL-3"
|
||||
KEYWORDS="~x86 ~x86-fbsd"
|
||||
IUSE="elibc_FreeBSD gtk gtk3 kde +gstreamer"
|
||||
|
||||
O_V="$(get_version_component_range 1-2)" # Major version, i.e. 11.00
|
||||
O_B="$(get_version_component_range 3)" # Build version, i.e. 1156
|
||||
|
||||
O_D="1133_${O_V}-${O_B}"
|
||||
O_P="${PN}-${O_V}-${O_B}"
|
||||
O_U="http://snapshot.opera.com/unix/"
|
||||
|
||||
SRC_URI="
|
||||
x86? ( ${O_U}${O_D}/${O_P}.i386.linux.tar.xz )
|
||||
x86-fbsd? ( ${O_U}${O_D}/${O_P}.i386.freebsd.tar.xz )
|
||||
"
|
||||
|
||||
OPREFIX="/usr/$(get_libdir)"
|
||||
|
||||
QA_DT_HASH="${OPREFIX}/${PN}/.*"
|
||||
QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
|
||||
|
||||
O_LINGUAS="af az be bg bn cs da de el en-GB es-ES es-LA et fi fr fr-CA fy gd hi
|
||||
hr hu id it ja ka ko lt me mk ms nb nl nn pa pl pt pt-BR ro ru sk sr sv sw ta te
|
||||
th tl tr uk uz vi zh-CN zh-TW zu"
|
||||
|
||||
for O_LINGUA in ${O_LINGUAS}; do
|
||||
IUSE="${IUSE} linguas_${O_LINGUA/-/_}"
|
||||
done
|
||||
|
||||
DEPEND="
|
||||
>=sys-apps/sed-4
|
||||
app-arch/xz-utils
|
||||
"
|
||||
GTKRDEPEND="
|
||||
dev-libs/atk
|
||||
dev-libs/glib:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
x11-libs/pango
|
||||
x11-libs/pixman
|
||||
"
|
||||
KDERDEPEND="
|
||||
kde-base/kdelibs
|
||||
x11-libs/qt-core
|
||||
x11-libs/qt-gui
|
||||
"
|
||||
GSTRDEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2
|
||||
media-libs/gst-plugins-base
|
||||
media-libs/gstreamer
|
||||
media-plugins/gst-plugins-meta
|
||||
"
|
||||
RDEPEND="
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
sys-apps/util-linux
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXft
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
gtk? ( ${GTKRDEPEND} )
|
||||
gtk3? ( ${GTKRDEPEND} )
|
||||
kde? ( ${KDERDEPEND} )
|
||||
gstreamer? ( ${GSTRDEPEND} )
|
||||
"
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv -v ${PN}* "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local LNGDIR="share/${PN}/locale"
|
||||
|
||||
# Count linguas
|
||||
count() { echo ${#}; }
|
||||
local lingua_count=$(count ${O_LINGUAS} en)
|
||||
local locale_count=$(count ${LNGDIR}/*)
|
||||
[[ ${lingua_count} = ${locale_count} ]] \
|
||||
|| die "Number of LINGUAS does not match number of locales"
|
||||
unset count
|
||||
|
||||
# Remove unwanted linguas
|
||||
einfo "Keeping these locales (linguas): ${LINGUAS}."
|
||||
for LINGUA in ${O_LINGUAS}; do
|
||||
if ! use linguas_${LINGUA/-/_}; then
|
||||
LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-})
|
||||
rm -r "${LINGUA}" || die "The list of linguas needs to be fixed"
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove doc directory but keep the LICENSE under another name (bug #315473)
|
||||
mv share/doc/${PN}/LICENSE share/${PN}/defaults/license.txt
|
||||
rm -rf share/doc
|
||||
for locale in share/${PN}/locale/*; do
|
||||
rm -f "${locale}/license.txt"
|
||||
ln -sn /usr/share/${PN}/defaults/license.txt "${locale}/license.txt" \
|
||||
|| die
|
||||
done
|
||||
|
||||
# Remove package directory
|
||||
rm -rf share/${PN}/package
|
||||
|
||||
# Optional libraries
|
||||
if ! use gtk; then
|
||||
rm lib/${PN}/liboperagtk2.so || die
|
||||
fi
|
||||
if ! use gtk3; then
|
||||
rm lib/${PN}/liboperagtk3.so || die
|
||||
fi
|
||||
if ! use kde; then
|
||||
rm lib/${PN}/liboperakde4.so || die
|
||||
fi
|
||||
if ! use gstreamer; then
|
||||
rm -r lib/${PN}/gstreamer || die
|
||||
fi
|
||||
|
||||
# Unzip the man pages before sedding
|
||||
gunzip share/man/man1/* || die
|
||||
|
||||
# Replace PREFIX, SUFFIX and PN in various files
|
||||
sed -i \
|
||||
-e "s:@@{PREFIX}:/usr:g" \
|
||||
-e "s:@@{SUFFIX}::g" \
|
||||
-e "s:@@{_SUFFIX}::g" \
|
||||
-e "s:@@{USUFFIX}::g" \
|
||||
-e "s:opera:${PN}:g" \
|
||||
share/man/man1/* \
|
||||
share/applications/${PN}-*.desktop \
|
||||
|| die
|
||||
|
||||
# Replace "Opera" with "Opera Next"
|
||||
if [[ ${PN} = opera-next ]]; then
|
||||
sed -i share/applications/${PN}-*.desktop \
|
||||
-e "/^Name=Opera\|^ Next/s:Opera:& Next:" || die
|
||||
fi
|
||||
|
||||
# Create /usr/bin/opera wrapper
|
||||
echo '#!/bin/sh' > ${PN}
|
||||
echo 'export OPERA_DIR="/usr/share/'"${PN}"'"' >> ${PN}
|
||||
echo 'export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-"${HOME}/.'${PN}'"}' \
|
||||
>> ${PN}
|
||||
echo 'exec '"${OPREFIX}/${PN}/${PN}"' "$@"' >> ${PN}
|
||||
|
||||
# Change libz.so.3 to libz.so.1 for gentoo/freebsd
|
||||
if use elibc_FreeBSD; then
|
||||
scanelf -qR -N libz.so.3 -F "#N" lib/${PN}/ | \
|
||||
while read i; do
|
||||
if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]];
|
||||
then
|
||||
export SANITY_CHECK_LIBZ_FAILED=1
|
||||
break
|
||||
fi
|
||||
sed -i \
|
||||
"$i" \
|
||||
-e 's/libz\.so\.3/libz.so.1/g'
|
||||
done
|
||||
[[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# We install into usr instead of opt as Opera does not support the latter
|
||||
dodir /usr
|
||||
mv lib/ "${D}/${OPREFIX}" || die
|
||||
mv share/ "${D}/usr/" || die
|
||||
|
||||
# Install startup scripts
|
||||
dobin ${PN}
|
||||
|
||||
# Stop revdep-rebuild from checking opera binaries
|
||||
dodir /etc/revdep-rebuild
|
||||
echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" \
|
||||
> "${D}"/etc/revdep-rebuild/90${PN}
|
||||
|
||||
# Set PaX markings for hardened/PaX (bug #344267)
|
||||
pax-mark m \
|
||||
"${D}/${OPREFIX}/${PN}/${PN}" \
|
||||
"${D}/${OPREFIX}/${PN}/operaplugincleaner" \
|
||||
"${D}/${OPREFIX}/${PN}/operapluginwrapper"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use elibc_FreeBSD; then
|
||||
elog
|
||||
elog "To improve shared memory usage please set:"
|
||||
elog "$ sysctl kern.ipc.shm_allow_removed=1"
|
||||
fi
|
||||
|
||||
# Update desktop file database and gtk icon cache (bug #334993)
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update desktop file database and gtk icon cache (bug #334993)
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,221 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.62.1298.ebuild,v 1.1 2012/02/09 16:21:10 jer Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils fdo-mime gnome2-utils multilib pax-utils versionator
|
||||
|
||||
DESCRIPTION="A fast and secure web browser and Internet suite"
|
||||
HOMEPAGE="http://www.opera.com/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="OPERA-11 LGPL-2 LGPL-3"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="elibc_FreeBSD gtk gtk3 kde +gstreamer"
|
||||
|
||||
O_V="$(get_version_component_range 1-2)" # Major version, i.e. 11.00
|
||||
O_B="$(get_version_component_range 3)" # Build version, i.e. 1156
|
||||
|
||||
O_D="1133_${O_V}-1297"
|
||||
O_P="${PN}-${O_V}-${O_B}"
|
||||
O_U="http://snapshot.opera.com/unix/"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( ${O_U}${O_D}/${O_P}.x86_64.linux.tar.xz )
|
||||
"
|
||||
|
||||
OPREFIX="/usr/$(get_libdir)"
|
||||
|
||||
QA_DT_HASH="${OPREFIX}/${PN}/.*"
|
||||
QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
|
||||
|
||||
O_LINGUAS="af az be bg bn cs da de el en-GB es-ES es-LA et fi fr fr-CA fy gd hi
|
||||
hr hu id it ja ka ko lt me mk ms nb nl nn pa pl pt pt-BR ro ru sk sr sv sw ta te
|
||||
th tl tr uk uz vi zh-CN zh-TW zu"
|
||||
|
||||
for O_LINGUA in ${O_LINGUAS}; do
|
||||
IUSE="${IUSE} linguas_${O_LINGUA/-/_}"
|
||||
done
|
||||
|
||||
DEPEND="
|
||||
>=sys-apps/sed-4
|
||||
app-arch/xz-utils
|
||||
"
|
||||
GTKRDEPEND="
|
||||
dev-libs/atk
|
||||
dev-libs/glib:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
x11-libs/pango
|
||||
x11-libs/pixman
|
||||
"
|
||||
KDERDEPEND="
|
||||
kde-base/kdelibs
|
||||
x11-libs/qt-core
|
||||
x11-libs/qt-gui
|
||||
"
|
||||
GSTRDEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2
|
||||
media-libs/gst-plugins-base
|
||||
media-libs/gstreamer
|
||||
media-plugins/gst-plugins-meta
|
||||
"
|
||||
RDEPEND="
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
sys-apps/util-linux
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXft
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
gtk? ( ${GTKRDEPEND} )
|
||||
gtk3? ( ${GTKRDEPEND} )
|
||||
kde? ( ${KDERDEPEND} )
|
||||
gstreamer? ( ${GSTRDEPEND} )
|
||||
"
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv -v ${PN}* "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local LNGDIR="share/${PN}/locale"
|
||||
|
||||
# Count linguas
|
||||
count() { echo ${#}; }
|
||||
local lingua_count=$(count ${O_LINGUAS} en)
|
||||
local locale_count=$(count ${LNGDIR}/*)
|
||||
[[ ${lingua_count} = ${locale_count} ]] \
|
||||
|| die "Number of LINGUAS does not match number of locales"
|
||||
unset count
|
||||
|
||||
# Remove unwanted linguas
|
||||
einfo "Keeping these locales (linguas): ${LINGUAS}."
|
||||
for LINGUA in ${O_LINGUAS}; do
|
||||
if ! use linguas_${LINGUA/-/_}; then
|
||||
LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-})
|
||||
rm -r "${LINGUA}" || die "The list of linguas needs to be fixed"
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove doc directory but keep the LICENSE under another name (bug #315473)
|
||||
mv share/doc/${PN}/LICENSE share/${PN}/defaults/license.txt
|
||||
rm -rf share/doc
|
||||
for locale in share/${PN}/locale/*; do
|
||||
rm -f "${locale}/license.txt"
|
||||
ln -sn /usr/share/${PN}/defaults/license.txt "${locale}/license.txt" \
|
||||
|| die
|
||||
done
|
||||
|
||||
# Remove package directory
|
||||
rm -rf share/${PN}/package
|
||||
|
||||
# Optional libraries
|
||||
if ! use gtk; then
|
||||
rm lib/${PN}/liboperagtk2.so || die
|
||||
fi
|
||||
if ! use gtk3; then
|
||||
rm lib/${PN}/liboperagtk3.so || die
|
||||
fi
|
||||
if ! use kde; then
|
||||
rm lib/${PN}/liboperakde4.so || die
|
||||
fi
|
||||
if ! use gstreamer; then
|
||||
rm -r lib/${PN}/gstreamer || die
|
||||
fi
|
||||
|
||||
# Unzip the man pages before sedding
|
||||
gunzip share/man/man1/* || die
|
||||
|
||||
# Replace PREFIX, SUFFIX and PN in various files
|
||||
sed -i \
|
||||
-e "s:@@{PREFIX}:/usr:g" \
|
||||
-e "s:@@{SUFFIX}::g" \
|
||||
-e "s:@@{_SUFFIX}::g" \
|
||||
-e "s:@@{USUFFIX}::g" \
|
||||
-e "s:opera:${PN}:g" \
|
||||
share/man/man1/* \
|
||||
share/applications/${PN}-*.desktop \
|
||||
|| die
|
||||
|
||||
# Replace "Opera" with "Opera Next"
|
||||
if [[ ${PN} = opera-next ]]; then
|
||||
sed -i share/applications/${PN}-*.desktop \
|
||||
-e "/^Name=Opera\|^ Next/s:Opera:& Next:" || die
|
||||
fi
|
||||
|
||||
# Create /usr/bin/opera wrapper
|
||||
echo '#!/bin/sh' > ${PN}
|
||||
echo 'export OPERA_DIR="/usr/share/'"${PN}"'"' >> ${PN}
|
||||
echo 'export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-"${HOME}/.'${PN}'"}' \
|
||||
>> ${PN}
|
||||
echo 'exec '"${OPREFIX}/${PN}/${PN}"' "$@"' >> ${PN}
|
||||
|
||||
# Change libz.so.3 to libz.so.1 for gentoo/freebsd
|
||||
if use elibc_FreeBSD; then
|
||||
scanelf -qR -N libz.so.3 -F "#N" lib/${PN}/ | \
|
||||
while read i; do
|
||||
if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]];
|
||||
then
|
||||
export SANITY_CHECK_LIBZ_FAILED=1
|
||||
break
|
||||
fi
|
||||
sed -i \
|
||||
"$i" \
|
||||
-e 's/libz\.so\.3/libz.so.1/g'
|
||||
done
|
||||
[[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# We install into usr instead of opt as Opera does not support the latter
|
||||
dodir /usr
|
||||
mv lib/ "${D}/${OPREFIX}" || die
|
||||
mv share/ "${D}/usr/" || die
|
||||
|
||||
# Install startup scripts
|
||||
dobin ${PN}
|
||||
|
||||
# Stop revdep-rebuild from checking opera binaries
|
||||
dodir /etc/revdep-rebuild
|
||||
echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" \
|
||||
> "${D}"/etc/revdep-rebuild/90${PN}
|
||||
|
||||
# Set PaX markings for hardened/PaX (bug #344267)
|
||||
pax-mark m \
|
||||
"${D}/${OPREFIX}/${PN}/${PN}" \
|
||||
"${D}/${OPREFIX}/${PN}/operaplugincleaner" \
|
||||
"${D}/${OPREFIX}/${PN}/operapluginwrapper"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use elibc_FreeBSD; then
|
||||
elog
|
||||
elog "To improve shared memory usage please set:"
|
||||
elog "$ sysctl kern.ipc.shm_allow_removed=1"
|
||||
fi
|
||||
|
||||
# Update desktop file database and gtk icon cache (bug #334993)
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update desktop file database and gtk icon cache (bug #334993)
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,341 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-1.0.12.ebuild,v 1.1 2012/02/11 10:17:30 hollow Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# Maintainer notes:
|
||||
# - http_rewrite-independent pcre-support makes sense for matching locations without an actual rewrite
|
||||
# - any http-module activates the main http-functionality and overrides USE=-http
|
||||
# - keep the following requirements in mind before adding external modules:
|
||||
# * alive upstream
|
||||
# * sane packaging
|
||||
# * builds cleanly
|
||||
# * does not need a patch for nginx core
|
||||
# - TODO: test the google-perftools module (included in vanilla tarball)
|
||||
|
||||
# prevent perl-module from adding automagic perl DEPENDs
|
||||
GENTOO_DEPEND_ON_PERL="no"
|
||||
|
||||
# http_uploadprogress (https://github.com/masterzen/nginx-upload-progress-module, BSD-2 license)
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_PV="0.8.3"
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_P="ngx_upload_progress-${HTTP_UPLOAD_PROGRESS_MODULE_PV}"
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_SHA1="c7c663f"
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_URI="http://github.com/masterzen/nginx-upload-progress-module/tarball/v${HTTP_UPLOAD_PROGRESS_MODULE_PV}"
|
||||
|
||||
# http_headers_more (http://github.com/agentzh/headers-more-nginx-module, BSD license)
|
||||
HTTP_HEADERS_MORE_MODULE_PV="0.15"
|
||||
HTTP_HEADERS_MORE_MODULE_P="ngx_http_headers_more-${HTTP_HEADERS_MORE_MODULE_PV}"
|
||||
HTTP_HEADERS_MORE_MODULE_SHA1="137855d"
|
||||
HTTP_HEADERS_MORE_MODULE_URI="http://github.com/agentzh/headers-more-nginx-module/tarball/v${HTTP_HEADERS_MORE_MODULE_PV}"
|
||||
|
||||
# http_push (http://pushmodule.slact.net/, MIT license)
|
||||
HTTP_PUSH_MODULE_PV="0.692"
|
||||
HTTP_PUSH_MODULE_P="nginx_http_push_module-${HTTP_PUSH_MODULE_PV}"
|
||||
HTTP_PUSH_MODULE_URI="http://pushmodule.slact.net/downloads/${HTTP_PUSH_MODULE_P}.tar.gz"
|
||||
|
||||
# http_cache_purge (http://labs.frickle.com/nginx_ngx_cache_purge/, BSD-2 license)
|
||||
HTTP_CACHE_PURGE_MODULE_PV="1.4"
|
||||
HTTP_CACHE_PURGE_MODULE_P="ngx_cache_purge-${HTTP_CACHE_PURGE_MODULE_PV}"
|
||||
HTTP_CACHE_PURGE_MODULE_URI="http://labs.frickle.com/files/${HTTP_CACHE_PURGE_MODULE_P}.tar.gz"
|
||||
|
||||
# HTTP Upload module from Valery Kholodkov
|
||||
# (http://www.grid.net.ru/nginx/upload.en.html, BSD license)
|
||||
HTTP_UPLOAD_MODULE_PV="2.2.0"
|
||||
HTTP_UPLOAD_MODULE_P="nginx_upload_module-${HTTP_UPLOAD_MODULE_PV}"
|
||||
HTTP_UPLOAD_MODULE_URI="http://www.grid.net.ru/nginx/download/${HTTP_UPLOAD_MODULE_P}.tar.gz"
|
||||
|
||||
# http_slowfs_cache (http://labs.frickle.com/nginx_ngx_slowfs_cache/, BSD-2 license)
|
||||
HTTP_SLOWFS_CACHE_MODULE_PV="1.6"
|
||||
HTTP_SLOWFS_CACHE_MODULE_P="ngx_slowfs_cache-${HTTP_SLOWFS_CACHE_MODULE_PV}"
|
||||
HTTP_SLOWFS_CACHE_MODULE_URI="http://labs.frickle.com/files/${HTTP_SLOWFS_CACHE_MODULE_P}.tar.gz"
|
||||
|
||||
inherit eutils ssl-cert toolchain-funcs perl-module flag-o-matic
|
||||
|
||||
DESCRIPTION="Robust, small and high performance http and reverse proxy server"
|
||||
HOMEPAGE="http://nginx.org"
|
||||
SRC_URI="http://nginx.org/download/${P}.tar.gz
|
||||
nginx_modules_http_upload_progress? ( ${HTTP_UPLOAD_PROGRESS_MODULE_URI} -> ${HTTP_UPLOAD_PROGRESS_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_headers_more? ( ${HTTP_HEADERS_MORE_MODULE_URI} -> ${HTTP_HEADERS_MORE_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_push? ( ${HTTP_PUSH_MODULE_URI} )
|
||||
nginx_modules_http_cache_purge? ( ${HTTP_CACHE_PURGE_MODULE_URI} )
|
||||
nginx_modules_http_upload? ( ${HTTP_UPLOAD_MODULE_URI} )
|
||||
nginx_modules_http_slowfs_cache? ( ${HTTP_SLOWFS_CACHE_MODULE_URI} )"
|
||||
|
||||
LICENSE="as-is BSD BSD-2 GPL-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
|
||||
NGINX_MODULES_STD="access auth_basic autoindex browser charset empty_gif fastcgi
|
||||
geo gzip limit_req limit_zone map memcached proxy referer rewrite scgi ssi
|
||||
split_clients upstream_ip_hash userid uwsgi"
|
||||
NGINX_MODULES_OPT="addition dav degradation flv geoip gzip_static image_filter
|
||||
mp4 perl random_index realip secure_link stub_status sub xslt"
|
||||
NGINX_MODULES_MAIL="imap pop3 smtp"
|
||||
NGINX_MODULES_3RD="
|
||||
http_upload_progress
|
||||
http_headers_more
|
||||
http_passenger
|
||||
http_push
|
||||
http_cache_purge
|
||||
http_upload
|
||||
http_slowfs_cache"
|
||||
|
||||
IUSE="aio debug +http +http-cache ipv6 libatomic +pcre ssl vim-syntax"
|
||||
|
||||
for mod in $NGINX_MODULES_STD; do
|
||||
IUSE="${IUSE} +nginx_modules_http_${mod}"
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_OPT; do
|
||||
IUSE="${IUSE} nginx_modules_http_${mod}"
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_MAIL; do
|
||||
IUSE="${IUSE} nginx_modules_mail_${mod}"
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_3RD; do
|
||||
IUSE="${IUSE} nginx_modules_${mod}"
|
||||
done
|
||||
|
||||
CDEPEND="
|
||||
pcre? ( >=dev-libs/libpcre-4.2 )
|
||||
ssl? ( dev-libs/openssl )
|
||||
http-cache? ( userland_GNU? ( dev-libs/openssl ) )
|
||||
nginx_modules_http_geo? ( dev-libs/geoip )
|
||||
nginx_modules_http_gzip? ( sys-libs/zlib )
|
||||
nginx_modules_http_gzip_static? ( sys-libs/zlib )
|
||||
nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] )
|
||||
nginx_modules_http_perl? ( >=dev-lang/perl-5.8 )
|
||||
nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 )
|
||||
nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) )
|
||||
nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt )"
|
||||
RDEPEND="${CDEPEND}"
|
||||
DEPEND="${CDEPEND}
|
||||
arm? ( dev-libs/libatomic_ops )
|
||||
libatomic? ( dev-libs/libatomic_ops )"
|
||||
PDEPEND="vim-syntax? ( app-vim/nginx-syntax )"
|
||||
|
||||
pkg_setup() {
|
||||
if use nginx_modules_http_passenger; then
|
||||
einfo
|
||||
einfo "Passenger support has been removed from the nginx ebuild to"
|
||||
einfo "get rid of file collisions, its broken build system and"
|
||||
einfo "incompatibilities between passenger 2 and 3."
|
||||
einfo
|
||||
einfo "Please switch to passenger-3 standalone or use the"
|
||||
einfo "unicorn gem which provides a sane nginx-like architecture"
|
||||
einfo "out of the box."
|
||||
einfo
|
||||
einfo "For more information on sane ruby deployments with"
|
||||
einfo "passenger-3/unicorn go to:"
|
||||
einfo
|
||||
einfo "https://rvm.beginrescueend.com"
|
||||
einfo
|
||||
die "nginx_modules_http_passenger still in IUSE"
|
||||
fi
|
||||
|
||||
ebegin "Creating nginx user and group"
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
eend $?
|
||||
|
||||
if use libatomic; then
|
||||
ewarn "GCC 4.1+ features built-in atomic operations."
|
||||
ewarn "Using libatomic_ops is only needed if using"
|
||||
ewarn "a different compiler or a GCC prior to 4.1"
|
||||
fi
|
||||
|
||||
if [[ -n $NGINX_ADD_MODULES ]]; then
|
||||
ewarn "You are building custom modules via \$NGINX_ADD_MODULES!"
|
||||
ewarn "This nginx installation is not supported!"
|
||||
ewarn "Make sure you can reproduce the bug without those modules"
|
||||
ewarn "_before_ reporting bugs."
|
||||
fi
|
||||
|
||||
if use !http; then
|
||||
ewarn "To actually disable all http-functionality you also have to disable"
|
||||
ewarn "all nginx http modules."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/ make/ \\$(MAKE)/' "${S}"/auto/lib/perl/make
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf= http_enabled= mail_enabled=
|
||||
|
||||
use aio && myconf+=" --with-file-aio --with-aio_module"
|
||||
use debug && myconf+=" --with-debug"
|
||||
use ipv6 && myconf+=" --with-ipv6"
|
||||
use libatomic && myconf+=" --with-libatomic"
|
||||
use pcre && myconf+=" --with-pcre"
|
||||
|
||||
# HTTP modules
|
||||
for mod in $NGINX_MODULES_STD; do
|
||||
if use nginx_modules_http_${mod}; then
|
||||
http_enabled=1
|
||||
else
|
||||
myconf+=" --without-http_${mod}_module"
|
||||
fi
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_OPT; do
|
||||
if use nginx_modules_http_${mod}; then
|
||||
http_enabled=1
|
||||
myconf+=" --with-http_${mod}_module"
|
||||
fi
|
||||
done
|
||||
|
||||
if use nginx_modules_http_fastcgi; then
|
||||
myconf+=" --with-http_realip_module"
|
||||
fi
|
||||
|
||||
# third-party modules
|
||||
if use nginx_modules_http_upload_progress; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${WORKDIR}/masterzen-nginx-upload-progress-module-${HTTP_UPLOAD_PROGRESS_MODULE_SHA1}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_headers_more; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${WORKDIR}/agentzh-headers-more-nginx-module-${HTTP_HEADERS_MORE_MODULE_SHA1}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_push; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${WORKDIR}/${HTTP_PUSH_MODULE_P}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_cache_purge; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${WORKDIR}/${HTTP_CACHE_PURGE_MODULE_P}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_upload; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${WORKDIR}/${HTTP_UPLOAD_MODULE_P}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_slowfs_cache; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${WORKDIR}/${HTTP_SLOWFS_CACHE_MODULE_P}"
|
||||
fi
|
||||
|
||||
if use http || use http-cache; then
|
||||
http_enabled=1
|
||||
fi
|
||||
|
||||
if [ $http_enabled ]; then
|
||||
use http-cache || myconf+=" --without-http-cache"
|
||||
use ssl && myconf+=" --with-http_ssl_module"
|
||||
else
|
||||
myconf+=" --without-http --without-http-cache"
|
||||
fi
|
||||
|
||||
# MAIL modules
|
||||
for mod in $NGINX_MODULES_MAIL; do
|
||||
if use nginx_modules_mail_${mod}; then
|
||||
mail_enabled=1
|
||||
else
|
||||
myconf+=" --without-mail_${mod}_module"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ $mail_enabled ]; then
|
||||
myconf+=" --with-mail"
|
||||
use ssl && myconf+=" --with-mail_ssl_module"
|
||||
fi
|
||||
|
||||
# custom modules
|
||||
for mod in $NGINX_ADD_MODULES; do
|
||||
myconf+=" --add-module=${mod}"
|
||||
done
|
||||
|
||||
# https://bugs.gentoo.org/286772
|
||||
export LANG=C LC_ALL=C
|
||||
tc-export CC
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sbin-path=/usr/sbin/nginx \
|
||||
--conf-path=/etc/${PN}/${PN}.conf \
|
||||
--error-log-path=/var/log/${PN}/error_log \
|
||||
--pid-path=/var/run/${PN}.pid \
|
||||
--lock-path=/var/lock/nginx.lock \
|
||||
--user=${PN} --group=${PN} \
|
||||
--with-cc-opt="-I${ROOT}usr/include" \
|
||||
--with-ld-opt="-L${ROOT}usr/lib" \
|
||||
--http-log-path=/var/log/${PN}/access_log \
|
||||
--http-client-body-temp-path=/var/tmp/${PN}/client \
|
||||
--http-proxy-temp-path=/var/tmp/${PN}/proxy \
|
||||
--http-fastcgi-temp-path=/var/tmp/${PN}/fastcgi \
|
||||
--http-scgi-temp-path=/var/tmp/${PN}/scgi \
|
||||
--http-uwsgi-temp-path=/var/tmp/${PN}/uwsgi \
|
||||
${myconf} || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# https://bugs.gentoo.org/286772
|
||||
export LANG=C LC_ALL=C
|
||||
emake LINK="${CC} ${LDFLAGS}" OTHERLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/${PN} /var/tmp/${PN}/{client,proxy,fastcgi,scgi,uwsgi}
|
||||
keepdir /var/www/localhost/htdocs
|
||||
|
||||
dosbin objs/nginx
|
||||
newinitd "${FILESDIR}"/nginx.initd nginx
|
||||
|
||||
cp "${FILESDIR}"/nginx.conf conf/nginx.conf
|
||||
rm conf/win-utf conf/koi-win conf/koi-utf
|
||||
|
||||
dodir /etc/${PN}
|
||||
insinto /etc/${PN}
|
||||
doins conf/*
|
||||
|
||||
doman man/nginx.8
|
||||
dodoc CHANGES* README
|
||||
|
||||
# logrotate
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/nginx.logrotate nginx
|
||||
|
||||
if use nginx_modules_http_perl; then
|
||||
cd "${S}"/objs/src/http/modules/perl/
|
||||
einstall DESTDIR="${D}" INSTALLDIRS=vendor || die "failed to install perl stuff"
|
||||
fixlocalpod
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_push; then
|
||||
docinto ${HTTP_PUSH_MODULE_P}
|
||||
dodoc "${WORKDIR}"/${HTTP_PUSH_MODULE_P}/{changelog.txt,protocol.txt,README}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_cache_purge; then
|
||||
docinto ${HTTP_CACHE_PURGE_MODULE_P}
|
||||
dodoc "${WORKDIR}"/${HTTP_CACHE_PURGE_MODULE_P}/{CHANGES,README.md,TODO.md}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_upload; then
|
||||
docinto ${HTTP_UPLOAD_MODULE_P}
|
||||
dodoc "${WORKDIR}"/${HTTP_UPLOAD_MODULE_P}/{Changelog,README}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_slowfs_cache; then
|
||||
docinto ${HTTP_SLOWFS_CACHE_MODULE_P}
|
||||
dodoc "${WORKDIR}"/${HTTP_SLOWFS_CACHE_MODULE_P}/{CHANGES,README}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ssl; then
|
||||
if [ ! -f "${ROOT}"/etc/ssl/${PN}/${PN}.key ]; then
|
||||
install_cert /etc/ssl/${PN}/${PN}
|
||||
chown ${PN}:${PN} "${ROOT}"/etc/ssl/${PN}/${PN}.{crt,csr,key,pem}
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST gtk-xfce-engine-2.99.0.tar.bz2 351088 RMD160 ce10d8e418ffc7f19dbc6448d3ff7a38a2a33532 SHA1 1261b9daeb618feb4d8de8e6ca989b9e3ade3e5c SHA256 27bee5a68527d214cfda9b99d4ba68d39b6d341202bc728d0ddd170a73cde154
|
||||
DIST gtk-xfce-engine-2.99.1.tar.bz2 360541 RMD160 48c902616c58c51745a42f57fee56e3a227075e2 SHA1 db0c4ec7a7f0bb09f27f66dfc69e4d1445529bc8 SHA256 077a3d68bb560371af902d4aa35ad949c70974e923ecdf2ec946801a480dece2
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-xfce/gtk-engines-xfce-2.99.1-r200.ebuild,v 1.1 2012/02/11 14:26:20 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
MY_PN=gtk-xfce-engine
|
||||
inherit xfconf
|
||||
|
||||
DESCRIPTION="A port of Xfce engine to GTK+-2.x"
|
||||
HOMEPAGE="http://www.xfce.org/projects/"
|
||||
SRC_URI="mirror://xfce/src/xfce/${MY_PN}/${PV%.*}/${MY_PN}-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.24
|
||||
>=x11-libs/gtk+-2.20:2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
pkg_setup() {
|
||||
XFCONF=(
|
||||
--disable-gtk3
|
||||
$(xfconf_use_debug)
|
||||
)
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-xfce/gtk-engines-xfce-2.99.1-r300.ebuild,v 1.1 2012/02/11 14:26:20 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
MY_PN=gtk-xfce-engine
|
||||
inherit xfconf
|
||||
|
||||
DESCRIPTION="A port of Xfce engine to GTK+-3.x"
|
||||
HOMEPAGE="http://www.xfce.org/projects/"
|
||||
SRC_URI="mirror://xfce/src/xfce/${MY_PN}/${PV%.*}/${MY_PN}-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.24
|
||||
x11-libs/gtk+:3"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
pkg_setup() {
|
||||
XFCONF=(
|
||||
--disable-gtk2
|
||||
$(xfconf_use_debug)
|
||||
)
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
}
|
Loading…
Reference in new issue