1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-10 02:25:46 +01:00

Debian full patch migration

* New maintainer [Closes: #632875]
  * New upstream version, now from git. [Closes: #556677]
  * New package wmaker-common (arch independent files)
  * removed the asclock diversions from the wmaker scripts
  * new package wmaker-common with the arch independent files
  * debian/patches are now DEP-3
  * debian/copyright is now DEP-5
  * Standard-Version is now 3.9.2
  * manpages moved to upstream
  * solved some problems with .la files (lintian clean)
This commit is contained in:
Rodolfo García Peñas (kix)
2011-10-02 01:50:07 +02:00
committed by Carlos R. Mafra
parent d435ea7468
commit 9fa427bc7f
14 changed files with 204 additions and 224 deletions

23
debian/rules vendored
View File

@@ -132,17 +132,24 @@ override_dh_clean:
override_dh_installmenu:
dh_installmenu -a --noscripts
# Copy extra menu files to the WMCONFIG
$(install_prog) $(DEBDIR)/appearance.menu-method \
$(WMAKER_TMP)/etc/menu-methods/wmappearance
$(WMAKER_COMMON_TMP)/etc/menu-methods/wmappearance
$(install_file) $(TOPSRCDIR)/WindowMaker/appearance.menu \
$(WMAKER_TMP)/$(WMCONFDIR)/
$(WMAKER_COMMON_TMP)/$(WMCONFDIR)/
$(install_file) $(TOPSRCDIR)/WindowMaker/background.menu \
$(WMAKER_TMP)/$(WMCONFDIR)/
$(WMAKER_COMMON_TMP)/$(WMCONFDIR)/
$(install_file) $(TOPSRCDIR)/WindowMaker/wmmacros \
$(WMAKER_TMP)/$(WMCONFDIR)/
touch $(WMAKER_TMP)/$(WMCONFDIR)/menu.prehook
touch $(WMAKER_TMP)/$(WMCONFDIR)/menu.posthook
chmod 755 $(WMAKER_TMP)/etc/menu-methods/wmaker
$(WMAKER_COMMON_TMP)/$(WMCONFDIR)/
touch $(WMAKER_COMMON_TMP)/$(WMCONFDIR)/menu.prehook
touch $(WMAKER_COMMON_TMP)/$(WMCONFDIR)/menu.posthook
# Now, change the #wmdatadir# string to $(WMSHAREDIR)
perl -pi -e 's:#wmdatadir#:$(WMSHAREDIR):' $(WMAKER_COMMON_TMP)/$(WMCONFDIR)/wmmacros
perl -pi -e 's:#wmdatadir#:$(WMSHAREDIR):' $(WMAKER_COMMON_TMP)/$(WMSHAREDIR)/wmmacros
perl -pi -e 's:#wmdatadir#:$(WMSHAREDIR):' $(WMAKER_COMMON_TMP)/$(WMSHAREDIR)/plmenu
perl -pi -e 's:#wmdatadir#:$(WMSHAREDIR):' `find $(WMAKER_COMMON_TMP)/$(WMSHAREDIR) -name plmenu.*`
perl -pi -e 's:#wmdatadir#:$(WMSHAREDIR):' $(WMAKER_COMMON_TMP)/$(DEFAULTSDIR)/WMRootMenu
perl -pi -e 's:#wmdatadir#:$(WMSHAREDIR):' $(WMAKER_COMMON_TMP)/$(WMSHAREDIR)/Defaults/WMRootMenu
override_dh_installdocs:
dh_installdocs -a
@@ -195,7 +202,7 @@ override_dh_install:
# the next is stricly not necessary, because there's a symlink in place,
# but I don't want to abuse it. Some dumb program uses that path and is a
# PITA to modify it)
perl -pi -e 's:/$(WPREFSAPPDIR)/WPrefs:/$(BINDIR)/WPrefs:' \
perl -pi -e 's:$(WPREFSAPPDIR)/WPrefs:$(BINDIR)/WPrefs:' \
$(WMAKER_COMMON_TMP)/$(DEFAULTSDIR)/WMState
# Fix permissions