[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sysui/CustomTarget_deb.mk

2013-07-22 Thread Petr Mladek
 sysui/CustomTarget_deb.mk |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a6ae1cc0a2c5fd9f9bc0a834038b73e79b78fc6d
Author: Petr Mladek pmla...@suse.cz
Date:   Mon Jul 22 12:07:01 2013 +0200

avoid file conflict in debian-menus package (fdo#67031)

Use versioned file name for Debian specific /usr/lib/menu/libreoffice.

All the other files have been versioned for years when we did this
for RPMs. Heh, nobody noticed this with DEBs because people were
used to that conflict and did not complain ;-)

Change-Id: I1195279ff4825ed9154cf497ff3cc702f7309b6a
Reviewed-on: https://gerrit.libreoffice.org/5025
Reviewed-by: Michael Meeks michael.me...@suse.com
Tested-by: Michael Meeks michael.me...@suse.com

diff --git a/sysui/CustomTarget_deb.mk b/sysui/CustomTarget_deb.mk
index b1186d6..82acd32 100644
--- a/sysui/CustomTarget_deb.mk
+++ b/sysui/CustomTarget_deb.mk
@@ -51,7 +51,7 @@ $(deb_WORKDIR)/%/DEBIAN/control: $(deb_SRCDIR)/control $(call 
gb_CustomTarget_ge
-e 's/%PRODUCTNAME/$(PRODUCTNAME.$*) $(PRODUCTVERSION)/' \
-e 's/%PREFIX/$(UNIXFILENAME.$*)/' \
-e 's/%ICONPREFIX/$(UNIXFILENAME.$*)/' \
-$(deb_WORKDIR)/$*/usr/lib/menu/$*
+$(deb_WORKDIR)/$*/usr/lib/menu/$*$(PKGVERSIONSHORT)
echo Package: $*$(PKGVERSIONSHORT)-debian-menus $@
cat $ | tr -d \015 | \
sed 's/%productname/$(PRODUCTNAME.$*) $(PRODUCTVERSION)/' \
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sysui/CustomTarget_deb.mk

2013-07-19 Thread Petr Mladek
 sysui/CustomTarget_deb.mk |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3f37a62502019230c744de828a3b6b1b2924178c
Author: Petr Mladek pmla...@suse.cz
Date:   Thu Jul 18 15:32:09 2013 +0200

use correct package name in libreofficeX.Y-debian-menus package (fdo#67041)

Add back the missing -debian-menus suffix. It was lost during 
gbuildisation.

Also add the X.Y version. The files and menu entries have been versioned
since LO 4.1 but we did not versioned the package name ;-)

Finally, fix typo in the package version definition and mention the
release number again.

Change-Id: I26e1664349c326db199905e6c5b1efb5d2d1723c
Reviewed-on: https://gerrit.libreoffice.org/4970
Reviewed-by: Lionel Elie Mamane lio...@mamane.lu
Tested-by: Lionel Elie Mamane lio...@mamane.lu

diff --git a/sysui/CustomTarget_deb.mk b/sysui/CustomTarget_deb.mk
index 81afdd9..b1186d6 100644
--- a/sysui/CustomTarget_deb.mk
+++ b/sysui/CustomTarget_deb.mk
@@ -52,11 +52,11 @@ $(deb_WORKDIR)/%/DEBIAN/control: $(deb_SRCDIR)/control 
$(call gb_CustomTarget_ge
-e 's/%PREFIX/$(UNIXFILENAME.$*)/' \
-e 's/%ICONPREFIX/$(UNIXFILENAME.$*)/' \
 $(deb_WORKDIR)/$*/usr/lib/menu/$*
-   echo Package: $* $@
+   echo Package: $*$(PKGVERSIONSHORT)-debian-menus $@
cat $ | tr -d \015 | \
sed 's/%productname/$(PRODUCTNAME.$*) $(PRODUCTVERSION)/' \
 $@
-   echo Version: $(PKGVERSION)-$(LIBV_VERSION_PATCH) $@
+   echo Version: $(PKGVERSION)-$(LIBO_VERSION_PATCH) $@
du -k -s $(deb_WORKDIR)/$* | awk -F ' ' '{ printf Installed-Size: 
%s\n, $$1 ; }' $@
 
 
$(deb_WORKDIR)/%$(PKGVERSIONSHORT)-debian-menus_$(PKGVERSION)-$(LIBO_VERSION_PATCH)_all.deb:
 $(deb_WORKDIR)/%/DEBIAN/postrm $(deb_WORKDIR)/%/DEBIAN/postinst 
$(deb_WORKDIR)/%/DEBIAN/prerm $(deb_WORKDIR)/%/DEBIAN/control $(call 
gb_Library_get_target,getuid)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits