diff options
author | Guy Sheffer <guysoft@gmail.com.(none)> | 2008-10-13 13:08:26 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpgritti@gmail.com> | 2008-10-14 16:48:03 (GMT) |
commit | 719c3c64be14081a4b5b5165204744daa4990d0d (patch) | |
tree | 8209381be366aac9f7795ae4732664882189fac4 /debian | |
parent | 3024fb928d35287e04d38b5949b97a81bafc046b (diff) |
Added debian folder
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 6 | ||||
-rwxr-xr-x | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 15 | ||||
-rwxr-xr-x | debian/copyright | 38 | ||||
-rw-r--r-- | debian/dirs | 63 | ||||
-rwxr-xr-x | debian/docs | 0 | ||||
-rw-r--r-- | debian/generate-dir-list | 8 | ||||
-rwxr-xr-x | debian/info | 18 | ||||
-rwxr-xr-x | debian/patches/00list | 1 | ||||
-rwxr-xr-x | debian/patches/01_prefix_fix.dpatch | 18 | ||||
-rwxr-xr-x | debian/rules | 109 | ||||
-rw-r--r-- | debian/sugar-jhbuild-bin | 3 | ||||
-rw-r--r-- | debian/sugar-jhbuild-emulator | 3 | ||||
-rw-r--r-- | debian/sugar-jhbuild.desktop | 5 |
14 files changed, 288 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..294544a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +sugar-jhbuild (081010-1) unstable; urgency=low + + * Initial release + + -- Guy Sheffer <guysoft@gmail.com> Sat, 10 Oct 2008 05:06:21 +0300 + diff --git a/debian/compat b/debian/compat new file mode 100755 index 0000000..62f9457 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +6
\ No newline at end of file diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0865f44 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: sugar-jhbuild +Section: desktop +Priority: extra +Maintainer: Guy Sheffer <guysoft@gmail.com> +Build-Depends: debhelper (>= 6) +Standards-Version: 3.7.3 +Homepage: http://guysoft.wordpress.com + +Package: sugar-jhbuild +Architecture: any +Depends: bash, python, python-gtk2, xorg, xserver-xephyr, python-gnome2-desktop, git +#${shlibs:Depends}, ${misc:Depends}, dbus, libavahi-client3, libavahi-common3, libavahi-glib1, libavahi-glib1-2, libdbus-1-3, libdbus-glib-1-2, libxapian15, python-cjson +#Replaces: libdbus-1-3, dbus, libxapian15, libavahi-common3, libavahi-client3, libavahi-glib1, libavahi-glib1-2, libdbus-glib-1-2 +Description: Sugar built using jhbuild + Sugar built using jhbuild diff --git a/debian/copyright b/debian/copyright new file mode 100755 index 0000000..cbd71bc --- /dev/null +++ b/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Guy Sheffer <guysoft@gmail.com> on +Sat, 04 Oct 2008 23:06:21 +0300. + +It was downloaded from <url://example.com> + +Upstream Author(s): + + Guy Sheffer <guysoft@gmail.com> + +Copyright: + + Guy Sheffer <guysoft@gmail.com> + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2008, Guy Sheffer <guysoft@gmail.com> and +is licensed under the GPL, see above. + + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..c404a96 --- /dev/null +++ b/debian/dirs @@ -0,0 +1,63 @@ +usr/bin +usr/share/xsessions +opt/sugar-jhbuild/jhbuild +opt/sugar-jhbuild/jhbuild/modulesets +opt/sugar-jhbuild/jhbuild/jhbuild +opt/sugar-jhbuild/jhbuild/jhbuild/buildbot +opt/sugar-jhbuild/jhbuild/jhbuild/buildbot/status +opt/sugar-jhbuild/jhbuild/jhbuild/buildbot/status/web +opt/sugar-jhbuild/jhbuild/jhbuild/buildbot/test +opt/sugar-jhbuild/jhbuild/jhbuild/buildbot/test/mail +opt/sugar-jhbuild/jhbuild/jhbuild/cut_n_paste +opt/sugar-jhbuild/jhbuild/jhbuild/frontends +opt/sugar-jhbuild/jhbuild/jhbuild/frontends/icons +opt/sugar-jhbuild/jhbuild/jhbuild/utils +opt/sugar-jhbuild/jhbuild/jhbuild/versioncontrol +opt/sugar-jhbuild/jhbuild/jhbuild/commands +opt/sugar-jhbuild/jhbuild/jhbuild/modtypes +opt/sugar-jhbuild/jhbuild/buildbot +opt/sugar-jhbuild/jhbuild/buildbot/public_html +opt/sugar-jhbuild/jhbuild/.git +opt/sugar-jhbuild/jhbuild/.git/info +opt/sugar-jhbuild/jhbuild/.git/objects +opt/sugar-jhbuild/jhbuild/.git/objects/info +opt/sugar-jhbuild/jhbuild/.git/objects/pack +opt/sugar-jhbuild/jhbuild/.git/branches +opt/sugar-jhbuild/jhbuild/.git/hooks +opt/sugar-jhbuild/jhbuild/.git/refs +opt/sugar-jhbuild/jhbuild/.git/refs/remotes +opt/sugar-jhbuild/jhbuild/.git/refs/remotes/origin +opt/sugar-jhbuild/jhbuild/.git/refs/heads +opt/sugar-jhbuild/jhbuild/.git/refs/tags +opt/sugar-jhbuild/jhbuild/.git/logs +opt/sugar-jhbuild/jhbuild/.git/logs/refs +opt/sugar-jhbuild/jhbuild/.git/logs/refs/remotes +opt/sugar-jhbuild/jhbuild/.git/logs/refs/remotes/origin +opt/sugar-jhbuild/jhbuild/.git/logs/refs/heads +opt/sugar-jhbuild/jhbuild/po +opt/sugar-jhbuild/jhbuild/contrib +opt/sugar-jhbuild/jhbuild/scripts +opt/sugar-jhbuild/jhbuild/scripts/branch-violations +opt/sugar-jhbuild/jhbuild/tests +opt/sugar-jhbuild/jhbuild/tests/distutils +opt/sugar-jhbuild/jhbuild/tests/autotools +opt/sugar-jhbuild/jhbuild/patches +opt/sugar-jhbuild/jhbuild/doc +opt/sugar-jhbuild/jhbuild/doc/es +opt/sugar-jhbuild/jhbuild/doc/sv +opt/sugar-jhbuild/jhbuild/doc/C +opt/sugar-jhbuild/jhbuild/doc/C/figures +opt/sugar-jhbuild/jhbuild/doc/fr +opt/sugar-jhbuild/install +opt/sugar-jhbuild/install/share +opt/sugar-jhbuild/install/share/jhbuild +opt/sugar-jhbuild/install/share/aclocal +opt/sugar-jhbuild/install/lib +opt/sugar-jhbuild/install/lib/python2.5 +opt/sugar-jhbuild/install/lib/python2.5/site-packages +opt/sugar-jhbuild/config +opt/sugar-jhbuild/config/modulesets +opt/sugar-jhbuild/config/modulesets/patches +opt/sugar-jhbuild/config/sysdeps +opt/sugar-jhbuild/scripts +opt/sugar-jhbuild/scripts/data diff --git a/debian/docs b/debian/docs new file mode 100755 index 0000000..e69de29 --- /dev/null +++ b/debian/docs diff --git a/debian/generate-dir-list b/debian/generate-dir-list new file mode 100644 index 0000000..0699584 --- /dev/null +++ b/debian/generate-dir-list @@ -0,0 +1,8 @@ +#!/bin/bash +for i in `find -type d | cut -b 1-2 --complement` +do + if [[ $i == install* ]] || [[ $i == scripts* ]] || [[ $i == jhbuild* ]] || [[ $i == config* ]] + then + echo "opt/sugar-jhbuild/"$i + fi +done
\ No newline at end of file diff --git a/debian/info b/debian/info new file mode 100755 index 0000000..8da3c96 --- /dev/null +++ b/debian/info @@ -0,0 +1,18 @@ +install/share/sugar/activities/Log.activity/activity/activity.info +install/share/sugar/activities/Chat.activity/activity/activity.info +install/share/sugar/activities/Write.activity/activity/activity.info +install/share/sugar/activities/Terminal.activity/activity/activity.info +install/share/sugar/activities/Browse.activity/activity/activity.info +install/share/sugar/activities/Read.activity/activity/activity.info +install/share/sugar/activities/Etoys.activity/activity/activity.info +install/share/sugar/activities/Pippy.activity/activity/activity.info +source/calculate/activity/activity.info +source/calculate/sharedstate.git/activity/activity.info +source/terminal-activity/activity/activity.info +source/read-activity/activity/activity.info +source/write/activity/activity.info +source/etoys/activity.info +source/chat-activity/activity/activity.info +source/log-activity/activity/activity.info +source/pippy-activity/activity/activity.info +source/web-activity/activity/activity.info diff --git a/debian/patches/00list b/debian/patches/00list new file mode 100755 index 0000000..df1018e --- /dev/null +++ b/debian/patches/00list @@ -0,0 +1 @@ +01_prefix_fix.dpatch diff --git a/debian/patches/01_prefix_fix.dpatch b/debian/patches/01_prefix_fix.dpatch new file mode 100755 index 0000000..c13c1e6 --- /dev/null +++ b/debian/patches/01_prefix_fix.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 00_prefix_fix.patch.dpatch by <guy@localhost> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: set the install prefix + +@DPATCH@ + +--- ./scripts/config.py 2008-10-07 14:14:29.000000000 +0200 ++++ ./scripts/config.py 2008-10-07 14:12:06.000000000 +0200 +@@ -79,7 +79,6 @@ + jhbuild.config.addpath('GTK_PATH', os.path.join(self.prefix, path)) + jhbuild.config.addpath('GTK_DATA_PREFIX', self.prefix) + +- os.environ['SUGAR_PREFIX'] = self.prefix + os.environ['SUGAR_PATH'] = os.path.join(self.prefix, 'share', 'sugar') + os.environ['SUGAR_LOGGER_LEVEL'] = 'debug' + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3ac72d9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,109 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +include /usr/share/dpatch/dpatch.make + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + dpatch apply-all + export SUGAR_PREFIX=/opt/sugar-jhbuild + ./sugar-jhbuild build + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + dpatch deapply-all + + dh_clean --exclude ./source/pygobject-2.14.2/gobject/gobjectmodule.c.orig --exclude ./source/telepathy-salut-0.3.3/src/tube-dbus.c.orig --exclude ./source/telepathy-salut-0.3.3/src/tube-stream.c.orig --exclude ./source/mozilla/widget/src/gtk2/nsDragService.cpp.orig --exclude ./source/mozilla/widget/src/gtk2/nsNativeThemeGTK.cpp.orig --exclude ./source/mozilla/netwerk/cache/src/nsDiskCacheDeviceSQL.cpp.orig --exclude ./source/mozilla/netwerk/cache/src/nsDiskCacheMap.cpp.orig --exclude ./source/mozilla/security/nss/lib/softoken/legacydb/keydb.c.orig --exclude ./source/mozilla/security/nss/lib/softoken/legacydb/pcertdb.c.orig --exclude ./source/mozilla/config/rules.mk.orig --exclude ./source/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp.orig --exclude ./source/mozilla/modules/libpref/src/nsPrefService.cpp.orig --exclude ./source/mozilla/xulrunner/installer/Makefile.in.orig --exclude ./source/mozilla/db/sqlite3/src/sqlite3.c.orig --exclude ./source/abiword-2.6.4/src/af/util/unix/ut_unixAssert.cpp.orig --exclude ./source/telepathy-gabble-0.7.6/src/tube-dbus.c.orig + +DESTDIR = $(CURDIR)/debian/sugar-jhbuild/opt/sugar-jhbuild/ +install: build + dh_testdir + dh_testroot + dh_clean -k --exclude ./source/pygobject-2.14.2/gobject/gobjectmodule.c.orig --exclude ./source/telepathy-salut-0.3.3/src/tube-dbus.c.orig --exclude ./source/telepathy-salut-0.3.3/src/tube-stream.c.orig --exclude ./source/mozilla/widget/src/gtk2/nsDragService.cpp.orig --exclude ./source/mozilla/widget/src/gtk2/nsNativeThemeGTK.cpp.orig --exclude ./source/mozilla/netwerk/cache/src/nsDiskCacheDeviceSQL.cpp.orig --exclude ./source/mozilla/netwerk/cache/src/nsDiskCacheMap.cpp.orig --exclude ./source/mozilla/security/nss/lib/softoken/legacydb/keydb.c.orig --exclude ./source/mozilla/security/nss/lib/softoken/legacydb/pcertdb.c.orig --exclude ./source/mozilla/config/rules.mk.orig --exclude ./source/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp.orig --exclude ./source/mozilla/modules/libpref/src/nsPrefService.cpp.orig --exclude ./source/mozilla/xulrunner/installer/Makefile.in.orig --exclude ./source/mozilla/db/sqlite3/src/sqlite3.c.orig --exclude ./source/abiword-2.6.4/src/af/util/unix/ut_unixAssert.cpp.orig --exclude ./source/telepathy-gabble-0.7.6/src/tube-dbus.c.orig + dh_installdirs + mkdir -p $(DESTDIR) + + mkdir -p $(DESTDIR)/install + cp -r -a install/* $(DESTDIR)/install/ + + mkdir -p $(DESTDIR)/jhbuild + cp -r -a jhbuild/* $(DESTDIR)/jhbuild/ + + mkdir -p $(DESTDIR)/scripts + cp -r -a scripts/* $(DESTDIR)/scripts/ + + mkdir -p $(DESTDIR)/config + cp -r -a config/* $(DESTDIR)/config/ + + cp -a sugar-jhbuild $(DESTDIR) + mkdir -p $(CURDIR)/debian/sugar-jhbuild/usr/share/xsessions + cp debian/sugar-jhbuild.desktop $(CURDIR)/debian/sugar-jhbuild/usr/share/xsessions + mkdir -p $(CURDIR)/debian/sugar-jhbuild/usr/bin + cp debian/sugar-jhbuild-emulator $(CURDIR)/debian/sugar-jhbuild/usr/bin/ + chmod 755 $(CURDIR)/debian/sugar-jhbuild/usr/bin/sugar-jhbuild-emulator + cp debian/sugar-jhbuild-bin $(CURDIR)/debian/sugar-jhbuild/usr/bin/sugar-jhbuild + chmod 755 $(CURDIR)/debian/sugar-jhbuild/usr/bin/sugar-jhbuild + #virtualenv $(DESTDIR)/install/ + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/debian/sugar-jhbuild-bin b/debian/sugar-jhbuild-bin new file mode 100644 index 0000000..36a7398 --- /dev/null +++ b/debian/sugar-jhbuild-bin @@ -0,0 +1,3 @@ +#!/bin/bash +PATH=/opt/sugar-jhbuild/install/bin:$PATH +/opt/sugar-jhbuild/sugar-jhbuild run sugar diff --git a/debian/sugar-jhbuild-emulator b/debian/sugar-jhbuild-emulator new file mode 100644 index 0000000..df7359d --- /dev/null +++ b/debian/sugar-jhbuild-emulator @@ -0,0 +1,3 @@ +#!/usr/bin/bash +/opt/sugar-jhbuild/sugar-jhbuild run + diff --git a/debian/sugar-jhbuild.desktop b/debian/sugar-jhbuild.desktop new file mode 100644 index 0000000..25dad35 --- /dev/null +++ b/debian/sugar-jhbuild.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Sugar-jhbuild +Exec=/usr/bin/sugar-jhbuild +Type=Application |