Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=imgrebuild.git;a=commitdiff;h=5f2f7b5a8330e4449234543e50157681042c3af5

commit 5f2f7b5a8330e4449234543e50157681042c3af5
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Thu May 27 09:44:01 2010 +0200

gcc-4.5.0-3-i686

- rebuild with gtk+2>=2.20.1-1
- disable bowser plugin, it's broken with xulrunner-1.9.2

diff --git a/source/devel/gcc/FrugalBuild b/source/devel/gcc/FrugalBuild
index 77bc1ca..441130a 100644
--- a/source/devel/gcc/FrugalBuild
+++ b/source/devel/gcc/FrugalBuild
@@ -16,7 +16,7 @@ Fuse $USE_OBJC && USE_CXX="y"

pkgname=gcc
pkgver=4.5.0
-pkgrel=2
+pkgrel=3
pkgdesc="The GNU Compiler Collection"
url="http://gcc.gnu.org";
depends=('binutils>=2.18.50.0.8-3' 'glibc>=2.8-2' 'libmpc>=0.8.1')
@@ -52,7 +52,7 @@ if Fuse $USE_JAVA; then
subpkgs=("${subpk...@]}" 'libffi' 'libgcj' 'libgcj-awt' 'gcc-gcj')
subdescs=("${subdes...@]}" 'FFU kubrarues from GCC' 'Java runtime library for 
gcc' 'AWT peer libraries for libgcj' 'Java support for GCC')
subdepends=("${subdepen...@]}" 'glibc' 'libgcc zlib alsa-lib' \
-           'libgcj libart_lgpl gtk+2 libxml2 freetype2 libice libxtst libxau 
libxdmcp libxdamage libstdc++')
+           'libgcj libart_lgpl gtk+2>=2.20.1-1 libxml2 freetype2 libice 
libxtst libxau libxdmcp libxdamage libstdc++')
if Fuse $USE_ECJ; then
subdepends=("${subdepen...@]}" "libgcj zlib ecj libmpc gcc-g++")
else
@@ -61,7 +61,7 @@ if Fuse $USE_JAVA; then
subbackup=("${subback...@]}" '' "usr/lib/gcj-$pkgver/classmap.db" '' '')
subgroups=("${subgrou...@]}" 'lib' 'lib' 'xlib' 'devel-extra')
subreplaces=("${subreplac...@]}" '' '' '' 'gjdoc')
-       makedepends=("${makedepen...@]}" 'gtk+2>=2.16.2-2' 'libart_lgpl' 
'libxtst' 'zip' 'xulrunner' \
+       makedepends=("${makedepen...@]}" 'libart_lgpl' 'libxtst' 'zip' 
'xulrunner' \
'libxml2' 'freetype2' 'libice' 'libxtst' 'libxau' 'libxdmcp' \
'libxdamage' 'alsa-lib' 'fastjar>=0.95' 'antlr')
Fuse $USE_ECJ && makedepends=("${makedepen...@]}" 'ecj')
@@ -117,7 +117,6 @@ build()
Fconfopts="$Fconfopts --enable-java-awt=gtk \
--with-fastjar=/usr/bin/fastjar \
--enable-gtk-cairo \
-               --enable-browser-plugin \
--disable-libjava-multilib \
--enable-hash-synchronization"
Fuse $USE_ECJ && Fconfopts="$Fconfopts  --with-ecj \
@@ -251,7 +250,7 @@ build()
Fsplit libffi usr/include/ffi*
# libgcj-awt
Fsplit libgcj-awt usr/lib/gcc/$CHOST/$pkgver/include/jawt*.h
-               Fsplit libgcj-awt 
usr/lib/${gcjpkgver}/lib{jawt,gcjwebplugin,gtkpeer}.*
+               Fsplit libgcj-awt usr/lib/${gcjpkgver}/lib{jawt,gtkpeer}.*
Fsplit libgcj-awt usr/include/c++/$pkgver/gnu/awt
Fsplit libgcj-awt usr/include/c++/$pkgver/gnu/java/awt
Fsplit libgcj-awt usr/include/c++/$pkgver/java/awt
@@ -265,10 +264,10 @@ build()
Fsplit libgcj usr/lib/gcc/$CHOST/$pkgver/include/{jni.h,jni_md.h,jvmpi.h}
Fsplit libgcj usr/lib/pkgconfig/libgcj-${pkgver%.*}.pc
## maybe we should add some libgcj-tools or libgcj-utils package ? - crazy -
-               Fsplit libgcj 
usr/bin/{jv-convert,gij,gjar,grmi*,gcj-dbtool,gorbd,gappletviewer,gjarsigner,gkeytool}
+               Fsplit libgcj 
usr/bin/{jv-convert,gij,gjar,grmi*,gcj-dbtool,gorbd,gjarsigner,gkeytool}
Fsplit libgcj usr/bin/{gtnameserv,gnative2ascii,gserialver,gc-analyze}
Fsplit libgcj 
usr/share/man/man1/{gjarsigner,gkeytool,gjar,jv-convert,gij,grmi*,gorbd,gcj-dbtool,gtnameserv}.1*
-               Fsplit libgcj 
usr/share/man/man1/{gnative2ascii,gserialver,gappletviewer,gc-analyze}.1*
+               Fsplit libgcj 
usr/share/man/man1/{gnative2ascii,gserialver,gc-analyze}.1*
Fsplit libgcj usr/lib/libgcj*
Fsplit libgcj usr/lib/libgij*
Fsplit libgcj usr/share/java
diff --git a/source/devel/gcc/README.Frugalware 
b/source/devel/gcc/README.Frugalware
index b9428c8..88aaefb 100644
--- a/source/devel/gcc/README.Frugalware
+++ b/source/devel/gcc/README.Frugalware
@@ -4,66 +4,3 @@

``No, since we split the gcc package, the standard C++ library is a separate
package, you have to install gcc only in case you really need a C compiler.''
-
-=== gcjwebplugin
-
-gcjwebplugin is a Firefox plugin for running Java applets.  It is now
-included in the libgcj sub-package, though it is not enabled by
-default.
-
-GNU Classpath and libgcj's security implementation is under active
-development, but it is not ready to be declared secure.  Specifically,
-it cannot run untrusted applets safely.
-
-When gcjwebplugin is enabled, it prompts you with a dialog before
-loading an applet.  The dialog tells you that a certain URL would like
-to load an applet, and asks if you trust the applet.  Be aware though
-that this dialog is mostly informative and doesn't provide much
-protection:
-
-- http and DNS can be spoofed meaning that the URL named in the
-  warning dialog cannot be trusted
-
-- someone could create a browser denial-of-service attack by creating a
-  page with hundreds of applet tags, causing gcjwebplugin to create
-  warning dialog after warning dialog.  The browser would have to be
-  closed to eliminate the latest dialog
-
-- the whitelist is provided as a convenience, but it is unsafe because a
-  domain may change hands from a trusted owner to an untrusted owner.
-  If that domain is in the whitelist then the warning dialog will not
-  appear when loading the new malicious applet.
-
-CURRENTLY GCJWEBPLUGIN RUNS WITH NO SECURITY MANAGER.  THIS MEANS THAT
-APPLETS CAN DO ANYTHING A JAVA APPLICATION THAT YOU DOWNLOAD AND RUN
-COULD DO.  BE *VERY* CAREFUL WHICH APPLETS YOU RUN.  DO NOT USE
-GCJWEBPLUGIN ON YOUR SYSTEM IF YOUR SYSTEM STORES IMPORTANT DATA.
-THIS DATA CAN BE DESTROYED OR STOLEN.
-
-The same warning applies to gappletviewer, which also runs with no
-security manager (in fact, gcjwebplugin spawns gappletviewer to do the
-applet loading).  When run on the command line, gappletviewer issues a
-warning on startup and asks you if you want to continue.
-
-Even considering the risks involved, you may still want to try
-gcjwebplugin.  GNU Classpath's AWT and Swing implementations are now
-sufficiently mature that they're able to run many applets deployed on
-the web.  If you're interested in trying gcjwebplugin, you can do so
-by creating a symbolic link in ~/.mozilla/plugins like so:
-
------------------------------------------------------------
-ln -s /usr/lib/gcj-*/libgcjwebplugin.so ~/.mozilla/plugins/
------------------------------------------------------------
-
-Type about:plugins in Firefox's URL bar to confirm that the plugin has
-been loaded.  To see gcjwebplugin debugging output, run:
-
-------------
-$ firefox -g
-------------
-
-then at the GDB prompt, type
-
-------------
-(gdb) run
-------------
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to