1. VectorLinux Core
  2. vabs

Commits

Uelsk8s  committed 4fdfa6f

build gcc added ecj1

  • Participants
  • Parent commits 5739bce
  • Branches veclinux-7.1

Comments (0)

Files changed (3)

File var/vabs/gcc/src/ecj1

View file
  • Ignore whitespace
+#!/bin/sh
+gij -cp /usr/share/java/eclipse-ecj.jar \
+	org.eclipse.jdt.internal.compiler.batch.GCCMain \
+	${1+"$@"}
+

File var/vabs/gcc/src/gcc.SlackBuild

View file
  • Ignore whitespace
 # This can be retrieved from ftp://sourceware.org/pub/java
 cp -v $CWD/ecj-4.5.jar gcc-$VERSION/ecj.jar
 cp -v $CWD/ecj-4.5.jar /usr/share/java/eclipse-ecj.jar
-
+cp -v $CWD/ecj1 /usr/bin/
+chmod +x /usr/bin/ecj1
 # Use an antlr runtime to compile javadoc.
 # The runtime can be obtained from:
 #https://oss.sonatype.org/content/repositories/releases/org/antlr/antlr-runtime/
 
 # gcc-java:
 ( cd $PKG5
+  mkdir -p usr/share/java/
   cp -v $CWD/ecj-4.5.jar usr/share/java/eclipse-ecj.jar
   mkdir -p usr/bin
   mv $PKG1/usr/bin/aot-compile usr/bin
   mv $PKG1/usr/share/java usr/share
   # The ecj wrapper script:
   cat $CWD/ecj.sh | sed -e "s,@JAVADIR@,/usr/share/java," > usr/bin/ecj
-  cat $CWD/ecj.sh | sed -e "s,@JAVADIR@,/usr/share/java," > usr/bin/ecj1
+  cat $CWD/ecj1 | sed -e "s,@JAVADIR@,/usr/share/java," > usr/bin/ecj1
   chmod 755 usr/bin/ecj
   chmod 755 usr/bin/ecj1
   # The JAVA_HOME compatibility links.

File var/vabs/gtk-pkgs/src/gtk-pkgs.SlackBuild

View file
  • Ignore whitespace
 ARCH=$(uname -m)
 LINK=${LINK:-""} #Enter URL for package here!
 # ----------------------
-PKGS="gtk+ gtk+2 gtk+3 clutter-gtk efax-gtk gtk-chtheme gtk-doc gtk-engines gtk-murrine-engine gtk-screenshot gtk-sharp gtk-theme-switch gtk-vnc gtk-xfce-engine gtkam gtkballs gtkdatabox gtkdialog gtkglext gtkhtml gtkimageview gtklife gtkmathview gtkmm gtkmmorse gtknetcat gtkperf gtkpod gtksourceview gtksourceview2-sharp gtksourceviewmm gtkspell libexif-gtk libgtkhtml mp3splt-gtk perl-gtk2 perl-gtk2-ex-podviewer perl-gtk2-ex-simple-list perl-gtk2-imageview pygtk pygtksourceview2 pywebkitgtk rep-gtk teagtk webkitgtk webkitgtk3"
+PKGS="gtk+ gtk+2 gtk+3 clutter-gtk gtk-engines gtk-murrine-engine gtk-screenshot gtk-sharp gtk-theme-switch gtk-xfce-engine gtkam gtkballs gtkdatabox gtkdialog gtkglext gtkhtml gtkimageview gtklife gtkmathview gtkmm gtkmmorse gtknetcat gtkperf gtkpod gtksourceview gtksourceview2-sharp gtksourceviewmm gtkspell libexif-gtk libgtkhtml mp3splt-gtk perl-gtk2 perl-gtk2-ex-podviewer perl-gtk2-ex-simple-list perl-gtk2-imageview pygtk pygtksourceview2 pywebkitgtk rep-gtk teagtk webkitgtk webkitgtk3 gtk-vnc efax-gtk gtk-chtheme gtk-doc"
 
 j=1
 for i in $PKGS;do