Hey Francois,

On Thu, Mar 29, 2012 at 07:49:44AM +1300, Francois Marier wrote:
> > If you think it could help, I can share my packaging work that resulted in
> > my local package.
> That would be great. Please feel free to attach the relevant patch / debdiff
> to this bug.

This is probably incomplete, as I used it to generate a quick package, but
at least the build-depends bumps might be a start.

The lib, if it's not intended to be a private lib, should be split, and
the typelib file should go to a gir1.2-workrave-1.0 package, as per
GObject Introspection policy. At the time, I didn't want to do new
packages myself, to minimize future upgrade problems.

I also didn't avoid installing .a or .la files, as I didn't care much, but
that should be done too.

I'll be happy to help with anything else, also with some testing if
needed.

Thanks a lot!

Jordi
-- 
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
[email protected]     [email protected]     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/
diff -Nuar workrave-1.9.4/debian/changelog workrave-1.9.4+git-130-g6f4b882/debian/changelog
--- workrave-1.9.4/debian/changelog	2011-09-11 13:50:25.000000000 +0200
+++ workrave-1.9.4+git-130-g6f4b882/debian/changelog	2011-10-20 00:12:31.859759892 +0200
@@ -1,3 +1,16 @@
+workrave (1.9.4+git-130-g6f4b882-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * New upstream git snapshot.
+    - Includes applets for both GNOME Shell and Classic modes.
+  * Massive update of Build-Depends as per configure.ac.
+  * Build-Depend on libglib2.0-dev (>= 2.30) for gdbus-codegen.
+  * Build with GSettings support.
+  * Build documentation.
+  * Update Vcs-* fields to non-redirected URLs.
+
+ -- Jordi Mallach <[email protected]>  Wed, 19 Oct 2011 23:35:17 +0200
+
 workrave (1.9.4-2) unstable; urgency=low
 
   * Stop building GNOME application and applet (closes: #638100, #614038)
diff -Nuar workrave-1.9.4/debian/control workrave-1.9.4+git-130-g6f4b882/debian/control
--- workrave-1.9.4/debian/control	2011-09-11 13:50:25.000000000 +0200
+++ workrave-1.9.4+git-130-g6f4b882/debian/control	2011-10-20 00:12:07.143760867 +0200
@@ -2,11 +2,34 @@
 Section: gnome
 Priority: extra
 Maintainer: Francois Marier <[email protected]>
-Build-Depends: debhelper (>= 8), libgnet-dev, libxi-dev, libxmu-dev, libxtst-dev, autotools-dev, libxml-parser-perl, libdbus-glib-1-dev, libgdome2-dev, libgstreamer0.10-dev, intltool, python-cheetah, libgtkmm-2.4-dev, libglibmm-2.4-dev, libsigc++-2.0-dev, libpulse-dev, libgconf2-dev
+Build-Depends: debhelper (>= 8),
+               autotools-dev,
+               docbook-utils,
+               xmlto,
+               gobject-introspection (>= 0.6.7),
+               gsettings-desktop-schemas-dev,
+               intltool,
+               libgconf2-dev,
+               libgnet-dev,
+               libdbus-glib-1-dev (>= 0.84),
+               libgdome2-dev,
+               libgirepository1.0-dev (>= 0.6.7),
+               libglib2.0-0 (>= 2.30),
+               libglibmm-2.4-dev (>= 2.28.0),
+               libgstreamer0.10-dev,
+               libgtk-3-dev (>= 3.0.0),
+               libgtkmm-3.0-dev (>= 3.0.0),
+               libpanel-applet-4-dev,
+               libpulse-dev (>= 0.9.5),
+               libsigc++-2.0-dev (>= 2.2.4.2),
+               libxi-dev,
+               libxmu-dev,
+               libxtst-dev,
+               python-cheetah
 Standards-Version: 3.9.2
 Homepage: http://www.workrave.org/
-Vcs-git: git://git.debian.org/git/collab-maint/workrave.git
-Vcs-Browser: http://git.debian.org/?p=collab-maint/workrave.git;a=summary
+Vcs-git: git://anonscm.debian.org/git/collab-maint/workrave.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/workrave.git;a=summary
 
 Package: workrave
 Architecture: any
diff -Nuar workrave-1.9.4/debian/rules workrave-1.9.4+git-130-g6f4b882/debian/rules
--- workrave-1.9.4/debian/rules	2011-09-11 13:50:25.000000000 +0200
+++ workrave-1.9.4+git-130-g6f4b882/debian/rules	2011-10-19 23:39:26.315838370 +0200
@@ -38,7 +38,7 @@
 		--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
 		--libexecdir=\$${prefix}/lib/gnome-applets --sysconfdir=/etc \
 		--disable-dependency-tracking --enable-dbus \
-		--enable-gconf --enable-exercises --disable-gnome
+		--enable-gsettings --enable-exercises
 	rm config.sub && mv config.sub.upstream config.sub
 	rm config.guess && mv config.guess.upstream config.guess
 
@@ -76,8 +76,6 @@
 	$(MAKE) install prefix=$(CURDIR)/debian/workrave/usr sysconfdir=$(CURDIR)/debian/workrave/etc
 
 	rmdir $(CURDIR)/debian/workrave/usr/include
-	rmdir $(CURDIR)/debian/workrave/usr/lib/gnome-applets
-	rmdir $(CURDIR)/debian/workrave/usr/lib
 	mv $(CURDIR)/debian/workrave/usr/share/ $(CURDIR)/debian/workrave-data/usr/
 
 	# Move menu and icon into the main package

Attachment: signature.asc
Description: Digital signature

Reply via email to