The attached debdiff should fix this issue. Please, double-check it.
Thank you.
diff -Nru git-core-1.4.4.4/debian/changelog git-core-1.4.4.4/debian/changelog
--- git-core-1.4.4.4/debian/changelog   2007-01-21 03:21:09.000000000 +0100
+++ git-core-1.4.4.4/debian/changelog   2007-01-21 03:21:10.000000000 +0100
@@ -1,3 +1,9 @@
+git-core (1:1.4.4.4-2) unstable; urgency=low
+
+  * Added support for git-core-dev package (closes: #407722)
+
+ -- Luca Falavigna <[EMAIL PROTECTED]>  Sat, 20 Jan 2007 20:30:07 +0100
+
 git-core (1:1.4.4.4-1) unstable; urgency=low
 
   * new upstream release, important fixes:
diff -Nru git-core-1.4.4.4/debian/control git-core-1.4.4.4/debian/control
--- git-core-1.4.4.4/debian/control     2007-01-21 03:21:09.000000000 +0100
+++ git-core-1.4.4.4/debian/control     2007-01-21 03:21:10.000000000 +0100
@@ -143,3 +143,17 @@
  the git content manager.
  .
  This package provides a web interface for browsing git repositories.
+
+Package: git-core-dev
+Architecture: all
+Depends: git-core (= ${Source-Version})
+Recommends: git-doc
+Description: content addressable filesystem (web interface)
+ This is a stupid (but extremely fast) directory content manager.  It
+ doesn't do a whole lot, but what it 'does' do is track directory
+ contents efficiently.
+ .
+ Amongst other projects, the Linux kernel source tree is managed through
+ the git content manager.
+ .
+ This package provides a shared library to interface programs with git.
diff -Nru git-core-1.4.4.4/debian/diff/git-core-dev.diff 
git-core-1.4.4.4/debian/diff/git-core-dev.diff
--- git-core-1.4.4.4/debian/diff/git-core-dev.diff      1970-01-01 
01:00:00.000000000 +0100
+++ git-core-1.4.4.4/debian/diff/git-core-dev.diff      2007-01-21 
03:21:10.000000000 +0100
@@ -0,0 +1,34 @@
+diff -Npru git-core-1.4.4.2.orig/Makefile git-core-1.4.4.2/Makefile
+--- git-core-1.4.4.2.orig/Makefile     2006-12-06 21:50:02.000000000 +0100
++++ git-core-1.4.4.2/Makefile  2007-01-20 13:03:25.000000000 +0100
+@@ -115,6 +115,8 @@ STRIP ?= strip
+ prefix = $(HOME)
+ bindir = $(prefix)/bin
+ gitexecdir = $(bindir)
++headerdir = $(prefix)/include/git
++libdir = $(prefix)/lib
+ template_dir = $(prefix)/share/git-core/templates/
+ GIT_PYTHON_DIR = $(prefix)/share/git-core/python
+ # DESTDIR=
+@@ -569,6 +571,8 @@ SHA1_HEADER_SQ = $(subst ','\'',$(SHA1_H
+ DESTDIR_SQ = $(subst ','\'',$(DESTDIR))
+ bindir_SQ = $(subst ','\'',$(bindir))
+ gitexecdir_SQ = $(subst ','\'',$(gitexecdir))
++headerdir_SQ = $(subst ','\'',$(headerdir))
++libdir_SQ = $(subst ','\'',$(libdir))
+ template_dir_SQ = $(subst ','\'',$(template_dir))
+ prefix_SQ = $(subst ','\'',$(prefix))
+ 
+@@ -848,6 +852,12 @@ install: all
+ install-doc:
+       $(MAKE) -C Documentation install
+ 
++install-lib:
++      $(INSTALL) -d -m755 '$(DESTDIR_SQ)$(headerdir_SQ)'
++      $(INSTALL) $(LIB_H) '$(DESTDIR_SQ)$(headerdir_SQ)'
++      $(INSTALL) $(LIB_FILE) '$(DESTDIR_SQ)$(libdir_SQ)'
++
++
+ 
+ 
+ 
diff -Nru git-core-1.4.4.4/debian/rules git-core-1.4.4.4/debian/rules
--- git-core-1.4.4.4/debian/rules       2007-01-21 03:21:09.000000000 +0100
+++ git-core-1.4.4.4/debian/rules       2007-01-21 03:21:10.000000000 +0100
@@ -52,8 +52,8 @@
          for i in `ls -tr debian/diff/*.diff || :`; do patch -p1 -R <$$i; done
        rm -rf '$(TMP)'
        rm -f patch-stamp build-arch-stamp build-indep-stamp
-       rm -rf '$(GIT)'-core '$(GIT)'-doc '$(GIT)'-arch '$(GIT)'-cvs \
-         '$(GIT)'-svn '$(GIT)'-email '$(GIT)'-daemon-run '$(GIT)'k '$(GIT)'web
+       rm -rf '$(GIT)'-core '$(GIT)'-doc '$(GIT)'-arch '$(GIT)'-cvs 
'$(GIT)'-svn \
+         '$(GIT)'-email '$(GIT)'-daemon-run '$(GIT)'k '$(GIT)'web 
'$(GIT)'-core-dev
        rm -f debian/files debian/substvars changelog
 
 install: install-arch install-indep
@@ -91,6 +91,11 @@
          xargs chmod 0644
        # upstream changelog
        test -r changelog || ln -s debian/changelog.upstream changelog
+       # git-core-dev
+       rm -rf '$(GIT)-core-dev'
+       install -d -m0755 '$(GIT)'-core-dev/usr/lib
+       DESTDIR='$(GIT)'-core-dev $(MAKE) install-lib \
+         CC='$(CC)' CFLAGS='$(CFLAGS)' $(OPTS)
 
 install-indep: build-arch-stamp build-indep-stamp
        rm -rf '$(TMP)'
@@ -163,11 +168,13 @@
        test -r changelog || ln -s debian/changelog.upstream changelog
 
 binary: binary-arch binary-indep
-binary-arch: install-arch git-core.deb
+binary-arch: install-arch git-core.deb git-core-dev.deb
        rm -f debian/substvars
        dpkg-shlibdeps '$(GIT)'-core/usr/bin/*
        dpkg-gencontrol -isp -pgit-core -P'$(GIT)'-core
        dpkg -b '$(GIT)'-core ..
+       dpkg-gencontrol -isp -pgit-core-dev -P'$(GIT)'-core-dev
+       dpkg -b '$(GIT)'-core-dev ..
 binary-indep: install-indep git-doc.deb git-arch.deb git-cvs.deb git-svn.deb \
          git-daemon-run.deb git-email.deb gitk.deb gitweb.deb
        rm -f debian/substvars

Reply via email to