mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
This upload includes the debian changes of 0.95.0 and 0.95.1
- Debian stuff (themes, menus,...) is moved to different folder.
- Many changes in debian/rules file
- New files to avoid lines in debian/rules (new menu files)
- This is a little extract form the debian/changelog file:
* New upstream version 0.95.1
* The WINGs's file proplist-compat.h is removed in upstream.
- Removed the line in debian/libwings-dev.install
* Updated debian/libwutil2.symbols with new symbol.
* libpng12-dev dependencies changed to libpng-dev. [Closes: #648123]
* wterm package suggestion removed.
* Menu shows "Run..." option. [Closes: #165075]
Thanks to Andreas Tscharner for their patch.
* Menu shows the background files [Closes: #655122]
* Added patch 54_Debian_wmmacros.diff.
Based on changelog: Marcelo E. Magallon Tue, 17 Nov 1998
* Xterm and WMPrefs are now Debian specific.
* Added patch 53_Debian_WMState.diff.
Based on changelog: Marcelo E. Magallon Sun, 26 Nov 2000
* Fix wmaker-common dependencies. [Closes: #654668]
* Manpages moved from wmaker-common to wmaker (Lintian problem).
* Removed old stuff in wmaker.post* and wmaker-common.post* about
update-alternatives.
* Fix to the FTBFS. [Closes: #654524]
* New debian/watch file
* New upstream version 0.95.0, now from git. [Closes: #401900]
[Closes: #514438, #607550, #218110, #583734, #105351, #549157]
[Closes: #283610, #311563, #310285, #329783, #280819, #284048]
[Closes: #292391, #361241, #364290, #148370, #287459, #122076]
[Closes: #175503, #79598, #78088, #68381, #38184, #41434, #41434]
[Closes: #94960, #39543, #63265, #69499, #94446, #77488, #329783]
Thanks to Andreas Tscharner for their bug revision.
* This new version is based in wmaker-crm a wmaker fork, because
wmaker (original) is not updated.
* New debian/rules file. [Closes: #590244]
* Many many changes
* /usr/lib/WindowMaker/WindowMaker is now /usr/lib/WindowMaker/wmaker
* wmaker script launch now /usr/lib/WindowMaker/wmaker
* New maintainer. [Closes: #632875]
* New package wmaker-common (arch independent files).
* Removed the asclock diversions from the wmaker install scripts
wmaker.postrm and wmaker.preinst because asclock binary is not
included in wmaker package (see asclock package).
* New package wmaker-common with the arch independent files.
* debian/patches are now DEP-3.
* debian/copyright is now DEP-5.
* Bumped Standars-Version 3.9.2.
* Manpages moved to upstream.
* Solved problems with .la files (lintian clean).
* libwmaker0-dev isn't included, because was removed in upstream.
102 lines
3.9 KiB
Makefile
Executable File
102 lines
3.9 KiB
Makefile
Executable File
#!/usr/bin/make -f
|
|
# export DH_VERBOSE=1
|
|
|
|
CFLAGS = -g -Wall -DGLOBAL_DEFAULTS_SUBDIR="\\\"GNUstep/Defaults\\\""
|
|
|
|
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
|
CFLAGS += -O0
|
|
else
|
|
CFLAGS += -O2
|
|
endif
|
|
|
|
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
|
|
CFLAGS += -DDEBUG
|
|
endif
|
|
|
|
# These are used for cross-compiling and for saving the configure script
|
|
# from having to guess our platform (since we know it already)
|
|
export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
|
export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
|
|
|
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
|
|
HOSTSPEC := --build $(DEB_HOST_GNU_TYPE)
|
|
else
|
|
HOSTSPEC := --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
|
|
endif
|
|
|
|
LINGUAS := $(patsubst po/%.po, %, $(wildcard po/*.po))
|
|
|
|
WMAKER_OPTIONS := --disable-locale --enable-modelock --enable-xinerama $(HOSTSPEC)
|
|
#not-enabled --enable-usermenu --disable-shape --disable-shm --enable-xrandr
|
|
#not-enabled --disable-xpm --disable-png --disable-jpeg --disable-gif --disable-tiff
|
|
|
|
# Debian packages destination folders
|
|
DEBIAN_TMP := debian/tmp
|
|
DEBDIR_FILES := debian/debianfiles
|
|
LIBWRASTERDEV_TMP := debian/libwraster3-dev
|
|
LIBWINGSDEV_TMP := debian/libwings-dev
|
|
|
|
# Be careful with the leading / because some of these values are going
|
|
# to be hardcoded into the executables
|
|
BASEDIR := /usr
|
|
CONFDIR := /etc
|
|
INCLUDEDIR := $(BASEDIR)/include
|
|
SHAREDIR := $(BASEDIR)/share
|
|
BINDIR := $(BASEDIR)/bin
|
|
MANDIR := $(SHAREDIR)/man
|
|
NLSDIR := $(SHAREDIR)/locale
|
|
GNUSTEPDIR := $(SHAREDIR)/lib/GNUstep/System
|
|
WMSHAREDIR := $(SHAREDIR)/WindowMaker
|
|
PIXMAPDIR := $(INCLUDEDIR)/X11/pixmaps
|
|
WPREFSAPPDIR := $(GNUSTEPDIR)/Applications/WPrefs.app/WPrefs
|
|
|
|
COMMON_OPTIONS := --prefix=$(BASEDIR) \
|
|
--mandir=$(MANDIR) \
|
|
--includedir=$(INCLUDEDIR) \
|
|
--sysconfdir=$(CONFDIR) \
|
|
--datadir=$(SHAREDIR) \
|
|
--with-nlsdir=$(NLSDIR) \
|
|
--with-pixmapdir=$(PIXMAPDIR) \
|
|
--with-gnustepdir=$(GNUSTEPDIR)
|
|
|
|
%:
|
|
dh $@ --parallel --with autotools-dev
|
|
|
|
override_dh_auto_configure:
|
|
./autogen.sh
|
|
LINGUAS="$(LINGUAS)" ./configure $(COMMON_OPTIONS) \
|
|
$(WMAKER_OPTIONS) CFLAGS="$(CFLAGS)"
|
|
|
|
override_dh_installmenu:
|
|
dh_installmenu -a --noscripts
|
|
|
|
override_dh_install:
|
|
# Fix perms for /usr/share/WindowMaker/*sh before install them
|
|
chmod +x $(DEBIAN_TMP)$(WMSHAREDIR)/autostart.sh
|
|
chmod +x $(DEBIAN_TMP)$(WMSHAREDIR)/exitscript.sh
|
|
|
|
# Readmes - Copy+rename before install
|
|
# We use the root of the temporal directory debian/tmp
|
|
cp po/README $(DEBIAN_TMP)/README.po
|
|
cp README.definable-cursor $(DEBIAN_TMP)/README.definable-cursor
|
|
cp WPrefs.app/README $(DEBIAN_TMP)/README.WPrefs
|
|
cp WPrefs.app/po/README $(DEBIAN_TMP)/README.WPrefs.po
|
|
|
|
# Now, change the #wmdatadir# string to $(WMSHAREDIR)
|
|
perl -pi -e 's:#wmdatadir#:$(WMSHAREDIR):' `find $(DEBIAN_TMP)/$(WMSHAREDIR) -name plmenu.*`
|
|
perl -pi -e 's:#wmdatadir#:$(WMSHAREDIR):' $(DEBIAN_TMP)$(WMSHAREDIR)/wmmacros
|
|
perl -pi -e 's:#wmdatadir#:$(WMSHAREDIR):' $(DEBIAN_TMP)$(WMSHAREDIR)/plmenu
|
|
|
|
# Install files
|
|
dh_install
|
|
|
|
# Fix the get-*-flags scripts
|
|
perl -pi -e '/^WCFLAGS/ && s:=.*:="-I/usr/X11R6/include":; /^WLFLAGS/ && s:=.*:="-L/usr/X11R6/lib":;' `find $(LIBWRASTERDEV_TMP) -name get-*-flags`
|
|
perl -pi -e '/^WCFLAGS/ && s:=.*:="-I/usr/X11R6/include":; /^WLFLAGS/ && s:=.*:="-L/usr/X11R6/lib":;' `find $(LIBWINGSDEV_TMP) -name get-*-flags`
|
|
perl -pi -e '/^WLIBS/ && s:=.*:="-lwraster":' `find $(LIBWRASTERDEV_TMP) -name get-wraster-flags`
|
|
perl -pi -e '/^WLIBS/ && s:=.*:="-lWINGs -lwraster -lXft":' `find $(LIBWINGSDEV_TMP) -name get-wings-flags`
|
|
perl -pi -e '/^WLIBS/ && s:=.*:="-lWUtil -lX11":' `find $(LIBWINGSDEV_TMP) -name get-wutil-flags`
|
|
|
|
override_dh_strip:
|
|
dh_strip --dbg-package=wmaker-dbg
|