Skip to content

Commit

Permalink
Work on debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 29, 2012
1 parent a9abc1b commit 563947f
Show file tree
Hide file tree
Showing 15 changed files with 248 additions and 374 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -43,6 +43,7 @@ For users:
- New: Chart are faster to build
- New: Value of data into charts are visible on mouse hover.
- New: Import wizard can import contacts.
- New: Install process is now two times faster.
- Fix: Can use POS module with several concurrent users.

For developers:
Expand Down
103 changes: 0 additions & 103 deletions build/debian/README.debian

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion build/debian/control
Expand Up @@ -4,7 +4,7 @@ Standards-Version: 3.9.2
Section: web
Priority: optional
Homepage: http://www.dolibarr.org
Build-Depends: debhelper (>= 7), po-debconf
Build-Depends: debhelper (>= 7), po-debconf, dpatch

Package: dolibarr
Depends: libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi | php5-fpm | php5,
Expand Down
60 changes: 10 additions & 50 deletions build/debian/copyright
Expand Up @@ -36,39 +36,8 @@ License: GPL-2+
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 full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.

Files: htdocs/includes/artichow/*
Copyright: Artichow team
License: Public Domain
This work is not subject to copyright in any jurisdiction

Files: htdocs/includes/ckeditor/*
Copyright: CKeditor team
License: GPL-2+
This program 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 program 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
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
Expand All @@ -89,10 +58,8 @@ License: GPL-2+
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
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
Expand All @@ -113,10 +80,8 @@ License: MIT or GPL-2+
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
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
Expand Down Expand Up @@ -160,10 +125,8 @@ License: GPL-2+
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
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
Expand Down Expand Up @@ -191,10 +154,8 @@ License: GPL-2+
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
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
Expand All @@ -204,4 +165,3 @@ Files: htdocs/includes/tcpdf/*
Copyright: TCPDF team
License: LGPL 3.0
See http://www.gnu.org/licenses/old-licenses/lgpl-3.0-standalone.html

File renamed without changes.
14 changes: 8 additions & 6 deletions build/debian/install
@@ -1,6 +1,8 @@
etc/dolibarr/apache.conf
etc/dolibarr/lighttpd.conf
usr/share/applications/dolibarr.desktop
usr/share/dolibarr
usr/share/doc/dolibarr
usr/share/pixmaps
debian/dolibarr.desktop usr/share/applications
debian/dolibarr.xpm usr/share/pixmaps
build/debian/apache.conf etc/dolibarr
build/debian/lighttpd.conf etc/dolibarr
build usr/share/dolibarr
dev usr/share/dolibarr
htdocs usr/share/dolibarr
scripts usr/share/dolibarr
30 changes: 28 additions & 2 deletions build/debian/rules 100644 → 100755
Expand Up @@ -6,5 +6,31 @@ export DH_OPTIONS=-v

#export DH_COMPAT=7 # This is the debhelper compatability version to use, now defined into compat file

%:
dh $@

# use dpatch
include /usr/share/dpatch/dpatch.make


configure:
dh $@

build: patch
dh $@

build-arch: patch
dh $@

build-indep: patch
dh $@

binary:
dh $@

binary-indep:
dh $@

clean:
dh $@

binary-arch:

3 changes: 3 additions & 0 deletions build/debian/wash
@@ -0,0 +1,3 @@
# watch control file for uscan
#version=3
#http://http://sourceforge.net/projects/dolibarr/files/Dolibarr%20installer%20for%20Debian-Ubuntu%20%28DoliDeb%29/ debian uupdate
33 changes: 23 additions & 10 deletions build/launchpad/README
Expand Up @@ -17,22 +17,35 @@ To submit a package on LaunchPad:
- Create Project
- Link project to official SCM server
- Upload SSH public key onto account
- Run from command line: bzr launchpad-login yourlogin

- Create a debian directory and upload it onto bzr branch ~yourlogin/dolibarr/debian

- Create an empty directory dolibarr and go into it.
- Run from command line:
bzr launchpad-login yourlogin
bzr whoami "Your Name <email@email.com>"
- Create a Bazzar directory
mkdir bzr
- Create debian directory and upload it onto bzr branch ~yourlogin/dolibarr/debian
cd bzr
mkdir debian
cd debian
bzr init
cp -pr dolibarr_root/debian bzr/debian
bzr add debian
bzr commit
bzr push lp:~eldy/dolibarr/debian
or download it from launchpad bazaar:
cd bzr
bzr branch lp:~eldy/dolibarr/debian
- Create a file dolibarr.recipe with content
# bzr-builder format 0.3 deb-version {debupstream}+{revno}+{revno:packaging}
lp:dolibarr
merge packaging lp:~eldy/dolibarr/debian
cd bzr
vi dolibarr.recipe
# bzr-builder format 0.3 deb-version {debupstream}+{revno}+{revno:packaging}
lp:dolibarr
merge packaging lp:~eldy/dolibarr/debian
- Run command
cd bzr
bzr dailydeb dolibarr.recipe working-dir
This will create a directory "working-dir" with dolibarr sources and will add sources from ~eldy/dolibarr/debian

- Create a file /.pbuilderrc with content
$BUILDROOT/$PROJECT-$MAJOR.$MINOR.$build

- Create chroot ubuntu env
sudo pbuilder create
- Test package sources
Expand Down

0 comments on commit 563947f

Please sign in to comment.