Fiew fixes, needs to be updated for newer GCC-XML
authorJan Vrany <jan.vrany@fit.cvut.cz>
Tue, 12 Jul 2011 15:02:15 +0000
changeset 15 e873065959dc
parent 14 1f730d82496e
child 16 ffcbe7184a53
Fiew fixes, needs to be updated for newer GCC-XML
Cface__CPointerNode.st
Cface__GeneratorCommand.st
autopackage/default.apspec
cvut_fel_cface.st
--- a/Cface__CPointerNode.st	Fri Jan 08 13:25:11 2010 +0000
+++ b/Cface__CPointerNode.st	Tue Jul 12 15:02:15 2011 +0000
@@ -46,6 +46,16 @@
     "Created: / 25-10-2007 / 16:58:44 / haja"
 ! !
 
+!CPointerNode methodsFor:'accessing'!
+
+type
+    ^ type
+!
+
+type:aCTypeNode
+    type := aCTypeNode.
+! !
+
 !CPointerNode class methodsFor:'documentation'!
 
 version_SVN
--- a/Cface__GeneratorCommand.st	Fri Jan 08 13:25:11 2010 +0000
+++ b/Cface__GeneratorCommand.st	Tue Jul 12 15:02:15 2011 +0000
@@ -14,10 +14,13 @@
 
 generateCairo
 
-    |cairoDir cairoDefFile |
+    | cairoDefFile |
 
-    cairoDir := '/home/jv/Projects/Cface/cface/resources/examples/libcairo/'.
-    cairoDefFile := cairoDir ,  'libcairo.def'.  
+    cairoDefFile := (Smalltalk packageDirectoryForPackageId: 'cvut:fel/cface')
+                    / 'resources' / 'examples' / 'libcairo' / 'libcairo.def'.
+    cairoDefFile exists ifFalse:[
+        self error:'Cannot find libcairo.def'
+    ].
 
     ^Cface::Platform theInstance generatorCommand
         definitions: cairoDefFile asFilename;
@@ -32,6 +35,7 @@
 
     "Created: / 03-07-2008 / 23:55:14 / Jan Vrany <vranyj1@fel.cvut.cz>"
     "Modified: / 22-01-2009 / 19:10:08 / Jan Vrany <vranyj1@fel.cvut.cz>"
+    "Modified: / 12-07-2011 / 15:54:40 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 generateGTK
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/autopackage/default.apspec	Tue Jul 12 15:02:15 2011 +0000
@@ -0,0 +1,85 @@
+# -*- shell-script -*-
+[Meta]
+ShortName: 
+SoftwareVersion: 6.2.1.1
+DisplayName: Cairo graphics binding
+RootName: @exept.de/expecco:$SOFTWAREVERSION
+Summary: Cairo graphics binding
+Maintainer: CVUT FEL
+Packager: CVUT FEL
+PackageVersion: 1
+CPUArchitectures: x86
+AutopackageTarget: 1.0
+Type: Library
+License: Commercial
+
+[Description]
+Cairo graphics binding
+
+[BuildPrepare]
+# If you're using autotools, the default should be enough.
+# prepareBuild will set up apbuild and run configure for you. If you
+# need to pass arguments to configure, just add them to prepareBuild:
+# prepareBuild --enable-foo --disable-bar
+#prepareBuild
+
+[BuildUnprepare]
+# If you're using prepareBuild above, there is no need to change this!
+#unprepareBuild
+
+[Globals]
+# Variables declared in this section will be available in all other sections
+export APKG_BUILD_SKIP_CONFIGURE=1
+export APKG_BUILD_SKIP_MAKE=1
+export MYPREFIX=/opt/
+
+[Prepare]
+#recommend '@autopackage.org/autopackage-gtk' 1
+
+[Imports]
+import <<EOF
+$source_dir/
+$source_dir/resources
+$source_dir/keyboard.rc
+$source_dir/display.rc
+$source_dir/../doc
+$source_dir/../testsuites/webedition
+$source_dir/../projects/libraries
+$source_dir/../reportGenerator/tools
+$source_dir/../../pdf/afm
+$source_dir/../plugin/selenium/libexept_expecco_plugin_selenium.so
+$source_dir/../externalTools
+EOF
+
+for i in $source_dir/*.so
+do
+    echo $source_dir/$(readlink $i)
+done | import
+
+[Install]
+if [ "$PREFIX" != "/usr" ]
+then
+    export MYPREFIX=$PREFIX
+fi
+
+find . -type d \( -name CVS -or -name 'not_*' \) -print | xargs rm -rf
+mkdir -p $MYPREFIX
+copyFiles expecco *.rc resources        $MYPREFIX/bin
+copyFiles *.so                          $MYPREFIX/lib
+copyFiles doc externalTools             $MYPREFIX/packages/exept/expecco
+copyFiles webedition/projects libraries $MYPREFIX/testsuites
+copyFiles tools                         $MYPREFIX/packages/exept/expecco/reportGenerator
+copyFiles afm                           $MYPREFIX/packages/exept/pdf
+copyFiles libexept_expecco_plugin_selenium.so   $MYPREFIX/plugin
+
+#installExe expecco
+#installLib *.so
+#installData resources
+#installData keyboard.rc
+#installData doc
+
+[Uninstall]
+# Leaving this at the default is safe unless you use custom commands in
+# "Install" to create files. All autopackage API functions
+# that installs files are logged.
+uninstallFromLog
--- a/cvut_fel_cface.st	Fri Jan 08 13:25:11 2010 +0000
+++ b/cvut_fel_cface.st	Tue Jul 12 15:02:15 2011 +0000
@@ -90,7 +90,6 @@
      Entries are 2-element array literals, consisting of class-name and selector."
 
     ^ #(
-        ChangeSet inspector2TabChangesetBrowser
         ClassDefinitionChange nameSpaceName:
     )
 ! !
@@ -131,6 +130,14 @@
 
 !cvut_fel_cface class methodsFor:'description - svn'!
 
+svnRepositoryUrlString
+    "Return a SVN repository URL of myself.
+     (Generated since 2011-04-08)
+    "        
+
+    ^ '$URL$'
+!
+
 svnRevisionNr
     "Return a SVN revision number of myself.
      This number is updated after a commit"