CVS eclipse-ve/debian
Stephan Michels
tashiro-guest at haydn.debian.org
Sun Dec 18 02:42:42 UTC 2005
Update of /cvsroot/pkg-java/eclipse-ve/debian
In directory haydn:/tmp/cvs-serv9265
Modified Files:
changelog control rules
Log Message:
* debian/rules: Fetch source code and compilation for libswt-gtk-print.
--- /cvsroot/pkg-java/eclipse-ve/debian/changelog 2005/12/17 16:52:09 1.1
+++ /cvsroot/pkg-java/eclipse-ve/debian/changelog 2005/12/18 02:42:42 1.2
@@ -2,5 +2,6 @@
[ Stephan Michels ]
* Initial Version.
+ * debian/rules: Fetch source code and compilation for libswt-gtk-print.
- -- Stephan Michels <stephan at apache.org> Mon, 28 Nov 2005 17:28:27 +0100
+ -- Stephan Michels <stephan at apache.org> Sun, 18 Dec 2005 03:39:04 +0100
--- /cvsroot/pkg-java/eclipse-ve/debian/control 2005/12/17 20:55:32 1.2
+++ /cvsroot/pkg-java/eclipse-ve/debian/control 2005/12/18 02:42:42 1.3
@@ -10,7 +10,7 @@
Package: eclipse-ve
Architecture: any
Depends: eclipse, eclipse-emf, eclipse-gef
-Description: The Eclipse Visual Editor
+Description: Visual Editor (VE) for Eclipse
The Eclipse Visual Editor project is a vendor-neutral, open development
platform supplying frameworks for creating GUI builders, and exemplary,
extensible tool implementations for Swing/JFC and SWT/RCP. These tools
--- /cvsroot/pkg-java/eclipse-ve/debian/rules 2005/12/17 20:55:32 1.2
+++ /cvsroot/pkg-java/eclipse-ve/debian/rules 2005/12/18 02:42:42 1.3
@@ -101,6 +101,12 @@
-f $(PDEBUILD_SCRIPTS)/build.xml \
preBuild fetch
+ # fetch the sources of libswt-gtk-print
+ cd $(SOURCE_TREE)/$(PDEBUILD_PACKAGE)/src && \
+ cvs -d $(PDEBUILD_CVSROOT) co -d native-src org.eclipse.ve.swt/native-src && \
+ unzip native-src/swt-gtk-print-src.zip && \
+ rm -rf native-src swt-gtk-print/libswt-gtk-print.so swt-gtk-print/bits64/libswt-gtk-print.so
+
# pack sources in upstream
mkdir -p upstream
cd $(SOURCE_TREE) && \
@@ -123,8 +129,9 @@
# The building happens inside the source-tree directory. This makes
# cleanup much easier.
- mkdir -p "$(SOURCE_TREE)"
- (cd "$(SOURCE_TREE)" && tar xzf ../"$(SOURCE)" > /dev/null)
+ mkdir -p $(SOURCE_TREE)
+ cd $(SOURCE_TREE) && \
+ tar xzf ../$(SOURCE) > /dev/null
touch uncompress-stamp
@@ -183,9 +190,15 @@
$(PDEBUILD_OPTS) \
-DskipFetch=true \
-DskipBuildSourceDrop=true \
- -Djavacfailonerror=true \
- -Dconfigs="linux,gtk,$(ECLIPSE_PLATFORM)" \
- -Dbaseos=linux -Dbasews=gtk -Dbasearch=$(ECLIPSE_PLATFORM)
+ -Djavacfailonerror=true
+
+# -Dconfigs="linux,gtk,$(PDEBUILD_PLATFORM)"
+
+# -Dbaseos=linux -Dbasews=gtk -Dbasearch=$(PDEBUILD_PLATFORM)
+
+ # build libswt-gtk-print
+ cd $(SOURCE_TREE)/$(PDEBUILD_PACKAGE)/src/swt-gtk-print && \
+ $(MAKE)
touch build-stamp
@@ -198,6 +211,14 @@
# Install the zip file into our destination directory.
install -d debian/tmp/$(PDEBUILD_BASELOCATION)
unzip $(PDEBUILD_BUILDDIR)/R*/*.zip -d debian/tmp/$(PDEBUILD_BASELOCATION)/..
+
+ # Replace the libswt-gtk-print by the builded version
+ cd debian/tmp/$(PDEBUILD_BASELOCATION)/plugins/org.eclipse.ve.swt_$(UPSTREAM_VERSION)/os/linux/ && \
+ rm -rf * && \
+ mkdir $(PDEBUILD_PLATFORM) && \
+ cp $(CURDIR)/$(SOURCE_TREE)/$(PDEBUILD_PACKAGE)/src/swt-gtk-print/libswt-gtk-print.so $(PDEBUILD_PLATFORM)/
+
+ # TODO: Copy the 64bit version for 64bit platforms
dh_installdirs
dh_install
More information about the pkg-java-commits
mailing list