1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

debian: New debian version 0.95.1-1

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.
This commit is contained in:
Rodolfo García Peñas (kix)
2012-01-29 17:07:10 +01:00
committed by Carlos R. Mafra
parent b618febb2c
commit e9d4930657
55 changed files with 1253 additions and 7796 deletions

11
debian/TODO vendored
View File

@@ -1,11 +0,0 @@
TODO list for Debian wmaker package
===================================
* Clean the mess in debian/rules, split it maybe, make a
debian/patches directory, read xfree's or libc6's debian/rules
* Fix the upgrade script (translate it to perl, use getpwent to go
thru the entire list of users, read /etc/login.defs to figure out
which id's are "regular" users)
* fix the "depends on version just built" problem. Look for some
package that gets this right; asked on -mentors, but there was no
reply.

96
debian/changelog vendored
View File

@@ -1,25 +1,87 @@
wmaker (0.95.0-1) unstable; urgency=low wmaker (0.95.1-1) unstable; urgency=low
* New upstream version 0.95.0 * New upstream version 0.95.1
* Patch debian/52_architectures.diff is now included in upstream.
- The patch file was deleted.
* 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.
-- Rodolfo García Peñas (kix) <kix@kix.es> Mon, 18 Oct 2011 10:08:35 +0200 -- Rodolfo García Peñas (kix) <kix@kix.es> Sun, 29 Jan 2012 16:16:15 +0100
wmaker (0.94.0-1) unstable; urgency=low wmaker (0.95.0+20111028-4) unstable; urgency=low
* New maintainer [Closes: #632875] * libpng12-dev dependencies changed to libpng-dev. [Closes: #648123]
* New upstream version, now from git. [Closes: #556677] * wterm package suggestion removed.
* New package wmaker-common (arch independent files) * Menu shows "Run..." option. [Closes: #165075]
* removed the asclock diversions from the wmaker scripts Thanks to Andreas Tscharner for their patch.
* new package wmaker-common with the arch independent files * Menu shows the background files [Closes: #655122]
* debian/patches are now DEP-3 * Added patch 54_Debian_wmmacros.diff.
* debian/copyright is now DEP-5 Based on changelog: Marcelo E. Magallon Tue, 17 Nov 1998
* Standard-Version is now 3.9.2 * Xterm and WMPrefs are now Debian specific.
* manpages moved to upstream * Added patch 53_Debian_WMState.diff.
* solved some problems with .la files (lintian clean) Based on changelog: Marcelo E. Magallon Sun, 26 Nov 2000
* libwmaker0-dev is not included in upstream version.
Now included as patch (52_libwmaker0dev.diff)
-- Rodolfo García Peñas (kix) <kix@kix.es> Mon, 28 Sep 2011 19:29:12 +0200 -- Rodolfo García Peñas (kix) <kix@kix.es> Thu, 7 Jan 2012 02:06:33 +0100
wmaker (0.95.0+20111028-3) unstable; urgency=low
* Fix wmaker-common dependencies. [Closes: #654668]
* Manpages moved from wmaker-common to wmaker (Lintian problem).
* New patch 52_architectures: New architectures kfreebsd* and Hurd.
[Closes: #654715]
* Removed old stuff in wmaker.post* and wmaker-common.post* about
update-alternatives.
-- Rodolfo García Peñas (kix) <kix@kix.es> Thu, 5 Jan 2012 01:02:21 +0100
wmaker (0.95.0+20111028-2) unstable; urgency=low
* Fix to the FTBFS. [Closes: #654524]
* New debian/watch file
-- Rodolfo García Peñas (kix) <kix@kix.es> Wed, 4 Jan 2012 00:03:22 +0100
wmaker (0.95.0+20111028-1) unstable; urgency=low
* 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.
-- Rodolfo García Peñas (kix) <kix@kix.es> Sun, 1 Jan 2012 20:24:32 +0100
wmaker (0.92.0-9) unstable; urgency=low
* QA upload.
* Set maintainer to QA team.
* debian/patches/90_binutils_gold.diff
- Fix FTBFS from indirect linking to X11 in debian/control
(Closes: #556677)
* Debian S-V 3.9.2, no changes
-- Scott Howard <showard@debian.org> Fri, 16 Dec 2011 19:30:17 -0500
wmaker (0.92.0-8.3) unstable; urgency=low wmaker (0.92.0-8.3) unstable; urgency=low

1
debian/clean vendored Normal file
View File

@@ -0,0 +1 @@
WindowMaker/Defaults/WMRootMenu

30
debian/control vendored
View File

@@ -4,20 +4,17 @@ Priority: optional
Maintainer: Rodolfo García Peñas (kix) <kix@kix.es> Maintainer: Rodolfo García Peñas (kix) <kix@kix.es>
Standards-Version: 3.9.2 Standards-Version: 3.9.2
Build-Depends: debhelper (>= 7.0.50~), automake (>= 1:1.11), gettext, Build-Depends: debhelper (>= 7.0.50~), automake (>= 1:1.11), gettext,
dctrl-tools, quilt, libfontconfig1-dev, libjpeg-dev, libpng-dev, libsm-dev, libtiff4-dev,
libfontconfig1-dev, libjpeg-dev, libpng12-dev, libsm-dev, libtiff4-dev,
libtool, libgif-dev, libx11-dev, libxext-dev, libxft-dev, libxinerama-dev, libtool, libgif-dev, libx11-dev, libxext-dev, libxft-dev, libxinerama-dev,
libxkbfile-dev, libxpm-dev, libxt-dev, libxrender-dev, sharutils, libxmu-dev, libxkbfile-dev, libxpm-dev, libxt-dev, libxrender-dev, sharutils, libxmu-dev,
libxrandr-dev libxrandr-dev, dctrl-tools, autotools-dev
Homepage: http://www.windowmaker.info/ Homepage: http://windowmaker.org/
Vcs-Git: git://repo.or.cz/wmaker-crm.git
Vcs-Browser: http://repo.or.cz/r/wmaker-crm.git
Package: wmaker Package: wmaker
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, cpp, ${misc:Depends}, wmaker-common Depends: ${shlibs:Depends}, ${misc:Depends}, wmaker-common (>= 0.95.0+20111028-3)
Provides: x-window-manager Provides: x-window-manager
Suggests: wmaker-data, menu, x11-apps, xosview, wterm | x-terminal-emulator Suggests: wmaker-data, menu, x11-apps, xosview, x-terminal-emulator, desktop-base
Description: NeXTSTEP-like window manager for X Description: NeXTSTEP-like window manager for X
Written by Alfredo Kojima almost from scratch, resembles the NeXTStep look Written by Alfredo Kojima almost from scratch, resembles the NeXTStep look
very closely, and it is now an official GNU project. Window Maker is not very closely, and it is now an official GNU project. Window Maker is not
@@ -30,6 +27,8 @@ Package: wmaker-common
Architecture: all Architecture: all
Depends: ${misc:Depends} Depends: ${misc:Depends}
Suggests: wmaker Suggests: wmaker
Replaces: wmaker (<< 0.95.0+20111028-3)
Breaks: wmaker (<< 0.95.0+20111028-3)
Description: Window Maker - Architecture independent files Description: Window Maker - Architecture independent files
Written by Alfredo Kojima almost from scratch, resembles the NeXTStep look Written by Alfredo Kojima almost from scratch, resembles the NeXTStep look
very closely, and it is now an official GNU project. Window Maker is not very closely, and it is now an official GNU project. Window Maker is not
@@ -40,24 +39,11 @@ Description: Window Maker - Architecture independent files
. .
This package contains the architecture independent files. This package contains the architecture independent files.
Package: libwmaker0-dev
Architecture: any
Section: libdevel
Depends: libc6-dev, libx11-dev, ${misc:Depends}
Description: Static libraries and headers for Window Maker applications
Window Maker is a NeXTSTEP-like window manager for X.
This package contains libWMaker and header files, for building
Window Maker aware applications.
.
Static libraries and headers for Window Maker applications
Contains libWMaker and header files, for building Window Maker aware
applications.
Package: libwraster3-dev Package: libwraster3-dev
Architecture: any Architecture: any
Section: libdevel Section: libdevel
Depends: libwraster3 (= ${binary:Version}), libc6-dev, libx11-dev, Depends: libwraster3 (= ${binary:Version}), libc6-dev, libx11-dev,
libxext-dev, libxpm-dev, libjpeg-dev, libpng12-0-dev, libgif-dev, libxext-dev, libxpm-dev, libjpeg-dev, libpng-dev, libgif-dev,
libtiff4-dev, ${misc:Depends} libtiff4-dev, ${misc:Depends}
Provides: libwraster-dev Provides: libwraster-dev
Description: Static libraries and headers of Window Maker rasterizer Description: Static libraries and headers of Window Maker rasterizer

89
debian/copyright vendored
View File

@@ -7,12 +7,75 @@ Files: *
Copyright: 1997, Alfredo Kengi Kojima <kojima@windowmaker.info> Copyright: 1997, Alfredo Kengi Kojima <kojima@windowmaker.info>
2011, Carlos R. Mafra <crmafra@gmail.com> 2011, Carlos R. Mafra <crmafra@gmail.com>
License: GPL-2+ License: GPL-2+
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
version.
.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
.
You should have received a copy of the GNU General Public
License along with this package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
Files: wrlib/*
Copyright: 2000-2003, Alfredo Kengi Kojima <kojima@windowmaker.info>
2011, Carlos R. Mafra <crmafra@gmail.com>
License: LGPL-2
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU Library General Public
License version 2 can be found in the file
`/usr/share/common-licenses/LGPL-2'.
Files: debian/* Files: debian/*
Copyright: 1997, Neil A. Rubin <nar5@po.cwru.edu> Copyright: 1997, Neil A. Rubin <nar5@po.cwru.edu>
1997, Marcelo E. Magallon <mmagallo@debian.org> 1997, Marcelo E. Magallon <mmagallo@debian.org>
2011, Rodolfo García Peñas (kix) <kix@kix.es> 2011, Rodolfo García Peñas (kix) <kix@kix.es>
License: GPL-2+ License: GPL-2+
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
version.
.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
.
You should have received a copy of the GNU General Public
License along with this package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
Files: WindowMaker/Icons/BitchX.tiff WindowMaker/Icons/defaultAppIcon.tiff Files: WindowMaker/Icons/BitchX.tiff WindowMaker/Icons/defaultAppIcon.tiff
WindowMaker/Icons/GNUterm.tiff WindowMaker/Icons/defaultterm.tiff WindowMaker/Icons/GNUterm.tiff WindowMaker/Icons/defaultterm.tiff
@@ -25,7 +88,7 @@ Files: WindowMaker/Icons/BitchX.tiff WindowMaker/Icons/defaultAppIcon.tiff
WindowMaker/Icons/write.tiff WindowMaker/Icons/xdvi.tiff WindowMaker/Icons/write.tiff WindowMaker/Icons/xdvi.tiff
WindowMaker/Icons/xv.tiff WindowMaker/Icons/xv.tiff
Copyright: 1997, Marco van Hylckama Vlieg <marco@windowmaker.info> Copyright: 1997, Marco van Hylckama Vlieg <marco@windowmaker.info>
License: public-domain License: attribution
They may be distributed freely and/or modified as long as the original They may be distributed freely and/or modified as long as the original
Author is mentioned! Author is mentioned!
@@ -48,7 +111,7 @@ Files: WindowMaker/Icons/GNUstepGlow.tiff WindowMaker/Icons/GNUstepGlow.xpm
WINGs/Resources/defaultIcon.xpm WINGs/Resources/Images.xcf WINGs/Resources/defaultIcon.xpm WINGs/Resources/Images.xcf
WindowMaker/Icons/XChat.png WindowMaker/Icons/XChat.png
Copyright: 2000, Banlu Kemiyatorn Copyright: 2000, Banlu Kemiyatorn
License: public-domain License: WTFPL-1
do What The Fuck you want to Public License do What The Fuck you want to Public License
. .
Version 1.0, March 2000 Version 1.0, March 2000
@@ -61,25 +124,3 @@ License: public-domain
and you just and you just
. .
DO WHAT THE FUCK YOU WANT TO. DO WHAT THE FUCK YOU WANT TO.
License: GPL-2+
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
version.
.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
.
You should have received a copy of the GNU General Public
License along with this package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.

5683
debian/debian.tiff.uu vendored

File diff suppressed because it is too large Load Diff

BIN
debian/debianfiles/Theme/debian.tiff vendored Normal file

Binary file not shown.

1
debian/debianfiles/conf/WMRootMenu vendored Normal file
View File

@@ -0,0 +1 @@
"menu.hook"

0
debian/debianfiles/menu/menu.posthook vendored Normal file
View File

0
debian/debianfiles/menu/menu.prehook vendored Normal file
View File

View File

@@ -14,7 +14,7 @@ gs_icons="$gs_base/Library/Icons"
wm_style="$wm_base/Style" wm_style="$wm_base/Style"
wm_styles="$wm_base/Styles" wm_styles="$wm_base/Styles"
wm_themes="$wm_base/Themes" wm_themes="$wm_base/Themes"
WindowMaker=/usr/lib/WindowMaker/WindowMaker WindowMaker=/usr/lib/WindowMaker/wmaker
convertfonts=/usr/lib/WindowMaker/convertfonts convertfonts=/usr/lib/WindowMaker/convertfonts
make_dir_if_needed () make_dir_if_needed ()

View File

@@ -0,0 +1 @@
ChangeLog

1
debian/libwings-dev.docs vendored Normal file
View File

@@ -0,0 +1 @@
WINGs/README

View File

@@ -1,5 +1,4 @@
usr/include/WINGs/WUtil.h usr/include/WINGs/WUtil.h
usr/include/WINGs/proplist-compat.h
usr/include/WINGs/WINGs.h usr/include/WINGs/WINGs.h
usr/include/WINGs/WINGsP.h usr/include/WINGs/WINGsP.h
usr/lib/pkgconfig/WINGs.pc usr/lib/pkgconfig/WINGs.pc

1
debian/libwings2.changelog-upstream vendored Normal file
View File

@@ -0,0 +1 @@
ChangeLog

1210
debian/libwings2.symbols vendored

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +0,0 @@
usr/include/WMaker.h
usr/lib/libWMaker.a

View File

@@ -0,0 +1 @@
ChangeLog

1
debian/libwraster3.changelog-upstream vendored Normal file
View File

@@ -0,0 +1 @@
ChangeLog

1
debian/libwraster3.docs vendored Normal file
View File

@@ -0,0 +1 @@
wrlib/README

View File

@@ -1,20 +0,0 @@
#! /bin/sh -e
case "$1" in
configure)
ldconfig
;;
abort-upgrade|abort-deconfigure|abort-remove)
# how did we got here? Force a non-zero exit code
exit 1
;;
*)
echo "postinst called with unknown argument: \$1" >&2
;;
esac
#DEBHELPER#
exit 0

View File

@@ -1,56 +1,56 @@
libwraster.so.3 libwraster3 #MINVER# libwraster.so.3 libwraster3 #MINVER#
LIBWRASTER3@LIBWRASTER3 0.95.0-1~ LIBWRASTER3@LIBWRASTER3 0.95.0
RBevelImage@LIBWRASTER3 0.95.0-1~ RBevelImage@LIBWRASTER3 0.95.0
RBlurImage@LIBWRASTER3 0.95.0-1~ RBlurImage@LIBWRASTER3 0.95.0
RClearImage@LIBWRASTER3 0.95.0-1~ RClearImage@LIBWRASTER3 0.95.0
RCloneImage@LIBWRASTER3 0.95.0-1~ RCloneImage@LIBWRASTER3 0.95.0
RCombineArea@LIBWRASTER3 0.95.0-1~ RCombineArea@LIBWRASTER3 0.95.0
RCombineAreaWithOpaqueness@LIBWRASTER3 0.95.0-1~ RCombineAreaWithOpaqueness@LIBWRASTER3 0.95.0
RCombineImageWithColor@LIBWRASTER3 0.95.0-1~ RCombineImageWithColor@LIBWRASTER3 0.95.0
RCombineImages@LIBWRASTER3 0.95.0-1~ RCombineImages@LIBWRASTER3 0.95.0
RCombineImagesWithOpaqueness@LIBWRASTER3 0.95.0-1~ RCombineImagesWithOpaqueness@LIBWRASTER3 0.95.0
RConvertImage@LIBWRASTER3 0.95.0-1~ RConvertImage@LIBWRASTER3 0.95.0
RConvertImageMask@LIBWRASTER3 0.95.0-1~ RConvertImageMask@LIBWRASTER3 0.95.0
RCopyArea@LIBWRASTER3 0.95.0-1~ RCopyArea@LIBWRASTER3 0.95.0
RCreateContext@LIBWRASTER3 0.95.0-1~ RCreateContext@LIBWRASTER3 0.95.0
RCreateImage@LIBWRASTER3 0.95.0-1~ RCreateImage@LIBWRASTER3 0.95.0
RCreateImageFromDrawable@LIBWRASTER3 0.95.0-1~ RCreateImageFromDrawable@LIBWRASTER3 0.95.0
RCreateImageFromXImage@LIBWRASTER3 0.95.0-1~ RCreateImageFromXImage@LIBWRASTER3 0.95.0
RCreateXImage@LIBWRASTER3 0.95.0-1~ RCreateXImage@LIBWRASTER3 0.95.0
RDestroyXImage@LIBWRASTER3 0.95.0-1~ RDestroyXImage@LIBWRASTER3 0.95.0
RDrawLine@LIBWRASTER3 0.95.0-1~ RDrawLine@LIBWRASTER3 0.95.0
RDrawLines@LIBWRASTER3 0.95.0-1~ RDrawLines@LIBWRASTER3 0.95.0
RDrawSegments@LIBWRASTER3 0.95.0-1~ RDrawSegments@LIBWRASTER3 0.95.0
RErrorCode@LIBWRASTER3 0.95.0-1~ RErrorCode@LIBWRASTER3 0.95.0
RFillImage@LIBWRASTER3 0.95.0-1~ RFillImage@LIBWRASTER3 0.95.0
RGetClosestXColor@LIBWRASTER3 0.95.0-1~ RGetClosestXColor@LIBWRASTER3 0.95.0
RGetImageFileFormat@LIBWRASTER3 0.95.0-1~ RGetImageFileFormat@LIBWRASTER3 0.95.0
RGetImageFromXPMData@LIBWRASTER3 0.95.0-1~ RGetImageFromXPMData@LIBWRASTER3 0.95.0
RGetPixel@LIBWRASTER3 0.95.0-1~ RGetPixel@LIBWRASTER3 0.95.0
RGetSubImage@LIBWRASTER3 0.95.0-1~ RGetSubImage@LIBWRASTER3 0.95.0
RGetXImage@LIBWRASTER3 0.95.0-1~ RGetXImage@LIBWRASTER3 0.95.0
RHSVtoRGB@LIBWRASTER3 0.95.0-1~ RHSVtoRGB@LIBWRASTER3 0.95.0
RLightImage@LIBWRASTER3 0.95.0-1~ RLightImage@LIBWRASTER3 0.95.0
RLoadImage@LIBWRASTER3 0.95.0-1~ RLoadImage@LIBWRASTER3 0.95.0
RMakeCenteredImage@LIBWRASTER3 0.95.0-1~ RMakeCenteredImage@LIBWRASTER3 0.95.0
RMakeTiledImage@LIBWRASTER3 0.95.0-1~ RMakeTiledImage@LIBWRASTER3 0.95.0
RMessageForError@LIBWRASTER3 0.95.0-1~ RMessageForError@LIBWRASTER3 0.95.0
ROperateLine@LIBWRASTER3 0.95.0-1~ ROperateLine@LIBWRASTER3 0.95.0
ROperateLines@LIBWRASTER3 0.95.0-1~ ROperateLines@LIBWRASTER3 0.95.0
ROperatePixel@LIBWRASTER3 0.95.0-1~ ROperatePixel@LIBWRASTER3 0.95.0
ROperatePixels@LIBWRASTER3 0.95.0-1~ ROperatePixels@LIBWRASTER3 0.95.0
ROperateSegments@LIBWRASTER3 0.95.0-1~ ROperateSegments@LIBWRASTER3 0.95.0
RPutPixel@LIBWRASTER3 0.95.0-1~ RPutPixel@LIBWRASTER3 0.95.0
RPutPixels@LIBWRASTER3 0.95.0-1~ RPutPixels@LIBWRASTER3 0.95.0
RPutXImage@LIBWRASTER3 0.95.0-1~ RPutXImage@LIBWRASTER3 0.95.0
RRGBtoHSV@LIBWRASTER3 0.95.0-1~ RRGBtoHSV@LIBWRASTER3 0.95.0
RReleaseImage@LIBWRASTER3 0.95.0-1~ RReleaseImage@LIBWRASTER3 0.95.0
RRenderGradient@LIBWRASTER3 0.95.0-1~ RRenderGradient@LIBWRASTER3 0.95.0
RRenderInterwovenGradient@LIBWRASTER3 0.95.0-1~ RRenderInterwovenGradient@LIBWRASTER3 0.95.0
RRenderMultiGradient@LIBWRASTER3 0.95.0-1~ RRenderMultiGradient@LIBWRASTER3 0.95.0
RRetainImage@LIBWRASTER3 0.95.0-1~ RRetainImage@LIBWRASTER3 0.95.0
RRotateImage@LIBWRASTER3 0.95.0-1~ RRotateImage@LIBWRASTER3 0.95.0
RSaveImage@LIBWRASTER3 0.95.0-1~ RSaveImage@LIBWRASTER3 0.95.0
RScaleImage@LIBWRASTER3 0.95.0-1~ RScaleImage@LIBWRASTER3 0.95.0
RSmoothScaleImage@LIBWRASTER3 0.95.0-1~ RSmoothScaleImage@LIBWRASTER3 0.95.0
RSupportedFileFormats@LIBWRASTER3 0.95.0-1~ RSupportedFileFormats@LIBWRASTER3 0.95.0

1
debian/libwutil2.changelog-upstream vendored Normal file
View File

@@ -0,0 +1 @@
ChangeLog

View File

@@ -1,230 +1,231 @@
libWUtil.so.2 libwutil2 #MINVER# libWUtil.so.2 libwutil2 #MINVER#
WHandleEvents@Base 0.95.0-1~ WHandleEvents@Base 0.95.0
WMAddIdleHandler@Base 0.95.0-1~ WMAddIdleHandler@Base 0.95.0
WMAddInputHandler@Base 0.95.0-1~ WMAddInputHandler@Base 0.95.0
WMAddNotificationObserver@Base 0.95.0-1~ WMAddNotificationObserver@Base 0.95.0
WMAddPersistentTimerHandler@Base 0.95.0-1~ WMAddPersistentTimerHandler@Base 0.95.0
WMAddTimerHandler@Base 0.95.0-1~ WMAddTimerHandler@Base 0.95.0
WMAddToArray@Base 0.95.0-1~ WMAddToArray@Base 0.95.0
WMAddToPLArray@Base 0.95.0-1~ WMAddToPLArray@Base 0.95.0
WMAppendArray@Base 0.95.0-1~ WMAppendArray@Base 0.95.0
WMAppendBag@Base 0.95.0-1~ WMAppendBag@Base 0.95.0
WMAppendData@Base 0.95.0-1~ WMAppendData@Base 0.95.0
WMAppendDataBytes@Base 0.95.0-1~ WMAppendDataBytes@Base 0.95.0
WMApplication@Base 0.95.0-1~ WMApplication@Base 0.95.0
WMArrayFirst@Base 0.95.0-1~ WMArrayFirst@Base 0.95.0
WMArrayLast@Base 0.95.0-1~ WMArrayLast@Base 0.95.0
WMArrayNext@Base 0.95.0-1~ WMArrayNext@Base 0.95.0
WMArrayPrevious@Base 0.95.0-1~ WMArrayPrevious@Base 0.95.0
WMBagFirst@Base 0.95.0-1~ WMBagFirst@Base 0.95.0
WMBagIndexForIterator@Base 0.95.0-1~ WMBagIndexForIterator@Base 0.95.0
WMBagIteratorAtIndex@Base 0.95.0-1~ WMBagIteratorAtIndex@Base 0.95.0
WMBagLast@Base 0.95.0-1~ WMBagLast@Base 0.95.0
WMBagNext@Base 0.95.0-1~ WMBagNext@Base 0.95.0
WMBagPrevious@Base 0.95.0-1~ WMBagPrevious@Base 0.95.0
WMCountHashTable@Base 0.95.0-1~ WMCountHashTable@Base 0.95.0
WMCountInArray@Base 0.95.0-1~ WMCountInArray@Base 0.95.0
WMCountInBag@Base 0.95.0-1~ WMCountInBag@Base 0.95.0
WMCreateArray@Base 0.95.0-1~ WMCreateArray@Base 0.95.0
WMCreateArrayWithArray@Base 0.95.0-1~ WMCreateArrayWithArray@Base 0.95.0
WMCreateArrayWithDestructor@Base 0.95.0-1~ WMCreateArrayWithDestructor@Base 0.95.0
WMCreateDataWithBytes@Base 0.95.0-1~ WMCreateDataWithBytes@Base 0.95.0
WMCreateDataWithBytesNoCopy@Base 0.95.0-1~ WMCreateDataWithBytesNoCopy@Base 0.95.0
WMCreateDataWithCapacity@Base 0.95.0-1~ WMCreateDataWithCapacity@Base 0.95.0
WMCreateDataWithData@Base 0.95.0-1~ WMCreateDataWithData@Base 0.95.0
WMCreateDataWithLength@Base 0.95.0-1~ WMCreateDataWithLength@Base 0.95.0
WMCreateHashTable@Base 0.95.0-1~ WMCreateHashTable@Base 0.95.0
WMCreateNotification@Base 0.95.0-1~ WMCreateNotification@Base 0.95.0
WMCreateNotificationQueue@Base 0.95.0-1~ WMCreateNotificationQueue@Base 0.95.0
WMCreatePLArray@Base 0.95.0-1~ WMCreatePLArray@Base 0.95.0
WMCreatePLData@Base 0.95.0-1~ WMCreatePLData@Base 0.95.0
WMCreatePLDataWithBytes@Base 0.95.0-1~ WMCreatePLDataWithBytes@Base 0.95.0
WMCreatePLDataWithBytesNoCopy@Base 0.95.0-1~ WMCreatePLDataWithBytesNoCopy@Base 0.95.0
WMCreatePLDictionary@Base 0.95.0-1~ WMCreatePLDictionary@Base 0.95.0
WMCreatePLString@Base 0.95.0-1~ WMCreatePLString@Base 0.95.0
WMCreatePropListFromDescription@Base 0.95.0-1~ WMCreatePropListFromDescription@Base 0.95.0
WMCreateTreeBag@Base 0.95.0-1~ WMCreateTreeBag@Base 0.95.0
WMCreateTreeBagWithDestructor@Base 0.95.0-1~ WMCreateTreeBagWithDestructor@Base 0.95.0
WMCreateTreeNode@Base 0.95.0-1~ WMCreateTreeNode@Base 0.95.0
WMCreateTreeNodeWithDestructor@Base 0.95.0-1~ WMCreateTreeNodeWithDestructor@Base 0.95.0
WMDataBytes@Base 0.95.0-1~ WMDataBytes@Base 0.95.0
WMDeepCopyPropList@Base 0.95.0-1~ WMDeepCopyPropList@Base 0.95.0
WMDeleteFromArray@Base 0.95.0-1~ WMDeleteFromArray@Base 0.95.0
WMDeleteFromBag@Base 0.95.0-1~ WMDeleteFromBag@Base 0.95.0
WMDeleteFromPLArray@Base 0.95.0-1~ WMDeleteFromPLArray@Base 0.95.0
WMDeleteIdleHandler@Base 0.95.0-1~ WMDeleteIdleHandler@Base 0.95.0
WMDeleteInputHandler@Base 0.95.0-1~ WMDeleteInputHandler@Base 0.95.0
WMDeleteLeafForTreeNode@Base 0.95.0-1~ WMDeleteLeafForTreeNode@Base 0.95.0
WMDeleteTimerHandler@Base 0.95.0-1~ WMDeleteTimerHandler@Base 0.95.0
WMDeleteTimerWithClientData@Base 0.95.0-1~ WMDeleteTimerWithClientData@Base 0.95.0
WMDequeueNotificationMatching@Base 0.95.0-1~ WMDequeueNotificationMatching@Base 0.95.0
WMDestroyTreeNode@Base 0.95.0-1~ WMDestroyTreeNode@Base 0.95.0
WMEmptyArray@Base 0.95.0-1~ WMEmptyArray@Base 0.95.0
WMEmptyBag@Base 0.95.0-1~ WMEmptyBag@Base 0.95.0
WMEnableUDPeriodicSynchronization@Base 0.95.0-1~ WMEnableUDPeriodicSynchronization@Base 0.95.0
WMEnqueueCoalesceNotification@Base 0.95.0-1~ WMEnqueueCoalesceNotification@Base 0.95.0
WMEnqueueNotification@Base 0.95.0-1~ WMEnqueueNotification@Base 0.95.0
WMEnumerateHashTable@Base 0.95.0-1~ WMEnumerateHashTable@Base 0.95.0
WMEraseFromBag@Base 0.95.0-1~ WMEraseFromBag@Base 0.95.0
WMFindInArray@Base 0.95.0-1~ WMFindInArray@Base 0.95.0
WMFindInBag@Base 0.95.0-1~ WMFindInBag@Base 0.95.0
WMFindInTree@Base 0.95.0-1~ WMFindInTree@Base 0.95.0
WMFindInTreeWithDepthLimit@Base 0.95.0-1~ WMFindInTreeWithDepthLimit@Base 0.95.0
WMFreeArray@Base 0.95.0-1~ WMFreeArray@Base 0.95.0
WMFreeBag@Base 0.95.0-1~ WMFreeBag@Base 0.95.0
WMFreeHashTable@Base 0.95.0-1~ WMFreeHashTable@Base 0.95.0
WMGetApplicationName@Base 0.95.0-1~ WMGetApplicationName@Base 0.95.0
WMGetArrayItemCount@Base 0.95.0-1~ WMGetArrayItemCount@Base 0.95.0
WMGetBagItemCount@Base 0.95.0-1~ WMGetBagItemCount@Base 0.95.0
WMGetDataBytes@Base 0.95.0-1~ WMGetDataBytes@Base 0.95.0
WMGetDataBytesWithLength@Base 0.95.0-1~ WMGetDataBytesWithLength@Base 0.95.0
WMGetDataBytesWithRange@Base 0.95.0-1~ WMGetDataBytesWithRange@Base 0.95.0
WMGetDataForTreeNode@Base 0.95.0-1~ WMGetDataForTreeNode@Base 0.95.0
WMGetDataFormat@Base 0.95.0-1~ WMGetDataFormat@Base 0.95.0
WMGetDataLength@Base 0.95.0-1~ WMGetDataLength@Base 0.95.0
WMGetDefaultNotificationQueue@Base 0.95.0-1~ WMGetDefaultNotificationQueue@Base 0.95.0
WMGetDefaultsFromPath@Base 0.95.0-1~ WMGetDefaultsFromPath@Base 0.95.0
WMGetFirstInBag@Base 0.95.0-1~ WMGetFirstInBag@Base 0.95.0
WMGetFromArray@Base 0.95.0-1~ WMGetFromArray@Base 0.95.0
WMGetFromBag@Base 0.95.0-1~ WMGetFromBag@Base 0.95.0
WMGetFromPLArray@Base 0.95.0-1~ WMGetFromPLArray@Base 0.95.0
WMGetFromPLData@Base 0.95.0-1~ WMGetFromPLData@Base 0.95.0
WMGetFromPLDictionary@Base 0.95.0-1~ WMGetFromPLDictionary@Base 0.95.0
WMGetFromPLString@Base 0.95.0-1~ WMGetFromPLString@Base 0.95.0
WMGetNotificationClientData@Base 0.95.0-1~ WMGetNotificationClientData@Base 0.95.0
WMGetNotificationName@Base 0.95.0-1~ WMGetNotificationName@Base 0.95.0
WMGetNotificationObject@Base 0.95.0-1~ WMGetNotificationObject@Base 0.95.0
WMGetPLDataBytes@Base 0.95.0-1~ WMGetPLDataBytes@Base 0.95.0
WMGetPLDataLength@Base 0.95.0-1~ WMGetPLDataLength@Base 0.95.0
WMGetPLDictionaryKeys@Base 0.95.0-1~ WMGetPLDictionaryKeys@Base 0.95.0
WMGetParentForTreeNode@Base 0.95.0-1~ WMGetParentForTreeNode@Base 0.95.0
WMGetPropListDescription@Base 0.95.0-1~ WMGetPropListDescription@Base 0.95.0
WMGetPropListItemCount@Base 0.95.0-1~ WMGetPropListItemCount@Base 0.95.0
WMGetStandardUserDefaults@Base 0.95.0-1~ WMGetStandardUserDefaults@Base 0.95.0
WMGetSubarrayWithRange@Base 0.95.0-1~ WMGetSubarrayWithRange@Base 0.95.0
WMGetSubdataWithRange@Base 0.95.0-1~ WMGetSubdataWithRange@Base 0.95.0
WMGetTreeNodeDepth@Base 0.95.0-1~ WMGetTreeNodeDepth@Base 0.95.0
WMGetUDBoolForKey@Base 0.95.0-1~ WMGetUDBoolForKey@Base 0.95.0
WMGetUDFloatForKey@Base 0.95.0-1~ WMGetUDFloatForKey@Base 0.95.0
WMGetUDIntegerForKey@Base 0.95.0-1~ WMGetUDIntegerForKey@Base 0.95.0
WMGetUDKeys@Base 0.95.0-1~ WMGetUDKeys@Base 0.95.0
WMGetUDObjectForKey@Base 0.95.0-1~ WMGetUDObjectForKey@Base 0.95.0
WMGetUDSearchList@Base 0.95.0-1~ WMGetUDSearchList@Base 0.95.0
WMGetUDStringForKey@Base 0.95.0-1~ WMGetUDStringForKey@Base 0.95.0
WMHashGet@Base 0.95.0-1~ WMHashGet@Base 0.95.0
WMHashGetItemAndKey@Base 0.95.0-1~ WMHashGetItemAndKey@Base 0.95.0
WMHashInsert@Base 0.95.0-1~ WMHashInsert@Base 0.95.0
WMHashRemove@Base 0.95.0-1~ WMHashRemove@Base 0.95.0
WMIncreaseDataLengthBy@Base 0.95.0-1~ WMIncreaseDataLengthBy@Base 0.95.0
WMInitializeApplication@Base 0.95.0-1~ WMInitializeApplication@Base 0.95.0
WMInsertInArray@Base 0.95.0-1~ WMInsertInArray@Base 0.95.0
WMInsertInBag@Base 0.95.0-1~ WMInsertInBag@Base 0.95.0
WMInsertInPLArray@Base 0.95.0-1~ WMInsertInPLArray@Base 0.95.0
WMInsertItemInTree@Base 0.95.0-1~ WMInsertItemInTree@Base 0.95.0
WMInsertNodeInTree@Base 0.95.0-1~ WMInsertNodeInTree@Base 0.95.0
WMIntHashCallbacks@Base 0.95.0-1~ WMIntHashCallbacks@Base 0.95.0
WMIsDataEqualToData@Base 0.95.0-1~ WMIsDataEqualToData@Base 0.95.0
WMIsPLArray@Base 0.95.0-1~ WMIsPLArray@Base 0.95.0
WMIsPLData@Base 0.95.0-1~ WMIsPLData@Base 0.95.0
WMIsPLDictionary@Base 0.95.0-1~ WMIsPLDictionary@Base 0.95.0
WMIsPLString@Base 0.95.0-1~ WMIsPLString@Base 0.95.0
WMIsPropListEqualTo@Base 0.95.0-1~ WMIsPropListEqualTo@Base 0.95.0
WMMapArray@Base 0.95.0-1~ WMMapArray@Base 0.95.0
WMMapBag@Base 0.95.0-1~ WMMapBag@Base 0.95.0
WMMergePLDictionaries@Base 0.95.0-1~ WMMergePLDictionaries@Base 0.95.0
WMNextHashEnumeratorItem@Base 0.95.0-1~ WMNextHashEnumeratorItem@Base 0.95.0
WMNextHashEnumeratorItemAndKey@Base 0.95.0-1~ WMNextHashEnumeratorItemAndKey@Base 0.95.0
WMNextHashEnumeratorKey@Base 0.95.0-1~ WMNextHashEnumeratorKey@Base 0.95.0
WMPLSetCaseSensitive@Base 0.95.0-1~ WMPLSetCaseSensitive@Base 0.95.0
WMPathForResourceOfType@Base 0.95.0-1~ WMPathForResourceOfType@Base 0.95.0
WMPopFromArray@Base 0.95.0-1~ WMPopFromArray@Base 0.95.0
WMPostNotification@Base 0.95.0-1~ WMPostNotification@Base 0.95.0
WMPostNotificationName@Base 0.95.0-1~ WMPostNotificationName@Base 0.95.0
WMPutInBag@Base 0.95.0-1~ WMPutInBag@Base 0.95.0
WMPutInPLDictionary@Base 0.95.0-1~ WMPutInPLDictionary@Base 0.95.0
WMReadPropListFromFile@Base 0.95.0-1~ WMReadPropListFromFile@Base 0.95.0
WMReleaseData@Base 0.95.0-1~ WMReleaseData@Base 0.95.0
WMReleaseNotification@Base 0.95.0-1~ WMReleaseNotification@Base 0.95.0
WMReleasePropList@Base 0.95.0-1~ WMReleasePropList@Base 0.95.0
WMRemoveFromArrayMatching@Base 0.95.0-1~ WMRemoveFromArrayMatching@Base 0.95.0
WMRemoveFromBag@Base 0.95.0-1~ WMRemoveFromBag@Base 0.95.0
WMRemoveFromPLArray@Base 0.95.0-1~ WMRemoveFromPLArray@Base 0.95.0
WMRemoveFromPLDictionary@Base 0.95.0-1~ WMRemoveFromPLDictionary@Base 0.95.0
WMRemoveLeafForTreeNode@Base 0.95.0-1~ WMRemoveLeafForTreeNode@Base 0.95.0
WMRemoveNotificationObserver@Base 0.95.0-1~ WMRemoveNotificationObserver@Base 0.95.0
WMRemoveNotificationObserverWithName@Base 0.95.0-1~ WMRemoveNotificationObserverWithName@Base 0.95.0
WMRemoveUDObjectForKey@Base 0.95.0-1~ WMRemoveUDObjectForKey@Base 0.95.0
WMReplaceDataBytesInRange@Base 0.95.0-1~ WMReplaceDataBytesInRange@Base 0.95.0
WMReplaceDataForTreeNode@Base 0.95.0-1~ WMReplaceDataForTreeNode@Base 0.95.0
WMReplaceInArray@Base 0.95.0-1~ WMReplaceInArray@Base 0.95.0
WMReplaceInBag@Base 0.95.0-1~ WMReplaceInBag@Base 0.95.0
WMResetDataBytesInRange@Base 0.95.0-1~ WMResetDataBytesInRange@Base 0.95.0
WMResetHashTable@Base 0.95.0-1~ WMResetHashTable@Base 0.95.0
WMRetainData@Base 0.95.0-1~ WMRetainData@Base 0.95.0
WMRetainNotification@Base 0.95.0-1~ WMRetainNotification@Base 0.95.0
WMRetainPropList@Base 0.95.0-1~ WMRetainPropList@Base 0.95.0
WMSaveUserDefaults@Base 0.95.0-1~ WMSaveUserDefaults@Base 0.95.0
WMSetData@Base 0.95.0-1~ WMSetData@Base 0.95.0
WMSetDataCapacity@Base 0.95.0-1~ WMSetDataCapacity@Base 0.95.0
WMSetDataFormat@Base 0.95.0-1~ WMSetDataFormat@Base 0.95.0
WMSetDataLength@Base 0.95.0-1~ WMSetDataLength@Base 0.95.0
WMSetResourcePath@Base 0.95.0-1~ WMSetResourcePath@Base 0.95.0
WMSetUDBoolForKey@Base 0.95.0-1~ WMSetUDBoolForKey@Base 0.95.0
WMSetUDFloatForKey@Base 0.95.0-1~ WMSetUDFloatForKey@Base 0.95.0
WMSetUDIntegerForKey@Base 0.95.0-1~ WMSetUDIntegerForKey@Base 0.95.0
WMSetUDObjectForKey@Base 0.95.0-1~ WMSetUDObjectForKey@Base 0.95.0
WMSetUDSearchList@Base 0.95.0-1~ WMSetUDSearchList@Base 0.95.0
WMSetUDStringForKey@Base 0.95.0-1~ WMSetUDStringForKey@Base 0.95.0
WMShallowCopyPropList@Base 0.95.0-1~ WMShallowCopyPropList@Base 0.95.0
WMSortArray@Base 0.95.0-1~ WMSortArray@Base 0.95.0
WMSortBag@Base 0.95.0-1~ WMSortBag@Base 0.95.0
WMSortLeavesForTreeNode@Base 0.95.0-1~ WMSortLeavesForTreeNode@Base 0.95.0
WMSortTree@Base 0.95.0-1~ WMSortTree@Base 0.95.0
WMStringHashCallbacks@Base 0.95.0-1~ WMStringHashCallbacks@Base 0.95.0
WMStringPointerHashCallbacks@Base 0.95.0-1~ WMStringPointerHashCallbacks@Base 0.95.0
WMSubtractPLDictionaries@Base 0.95.0-1~ WMSubtractPLDictionaries@Base 0.95.0
WMSynchronizeUserDefaults@Base 0.95.0-1~ WMSynchronizeUserDefaults@Base 0.95.0
WMTreeWalk@Base 0.95.0-1~ WMTreeWalk@Base 0.95.0
WMUserDefaultsDidChangeNotification@Base 0.95.0-1~ WMUserDefaultsDidChangeNotification@Base 0.95.0
WMWritePropListToFile@Base 0.95.0-1~ WMWritePropListToFile@Base 0.95.0
W_ApplicationInitialized@Base 0.95.0-1~ W_ApplicationInitialized@Base 0.95.0
W_CheckIdleHandlers@Base 0.95.0-1~ W_CheckIdleHandlers@Base 0.95.0
W_CheckTimerHandlers@Base 0.95.0-1~ W_CheckTimerHandlers@Base 0.95.0
W_DraggingInfo@Base 0.95.0-1~ W_DraggingInfo@Base 0.95.0
W_FlushASAPNotificationQueue@Base 0.95.0-1~ W_FlushASAPNotificationQueue@Base 0.95.0
W_FlushIdleNotificationQueue@Base 0.95.0-1~ W_FlushIdleNotificationQueue@Base 0.95.0
W_HandleInputEvents@Base 0.95.0-1~ W_HandleInputEvents@Base 0.95.0
W_InitNotificationCenter@Base 0.95.0-1~ W_InitNotificationCenter@Base 0.95.0
_WINGS_progname@Base 0.95.0-1~ _WINGS_progname@Base 0.95.0
__wmessage@Base 0.95.0-1~ __wmessage@Base 0.95.0
destroyNode@Base 0.95.0-1~ copy_file@Base 0.95.1
wdefaultspathfordomain@Base 0.95.0-1~ destroyNode@Base 0.95.0
wexpandpath@Base 0.95.0-1~ wdefaultspathfordomain@Base 0.95.0
wfindfile@Base 0.95.0-1~ wexpandpath@Base 0.95.0
wfindfileinarray@Base 0.95.0-1~ wfindfile@Base 0.95.0
wfindfileinlist@Base 0.95.0-1~ wfindfileinarray@Base 0.95.0
wfree@Base 0.95.0-1~ wfindfileinlist@Base 0.95.0
wgethomedir@Base 0.95.0-1~ wfree@Base 0.95.0
wglobaldefaultspathfordomain@Base 0.95.0-1~ wgethomedir@Base 0.95.0
wmalloc@Base 0.95.0-1~ wglobaldefaultspathfordomain@Base 0.95.0
wmkdirhier@Base 0.95.0-1~ wmalloc@Base 0.95.0
wmkrange@Base 0.95.0-1~ wmkdirhier@Base 0.95.0
wrealloc@Base 0.95.0-1~ wmkrange@Base 0.95.0
wrelease@Base 0.95.0-1~ wrealloc@Base 0.95.0
wretain@Base 0.95.0-1~ wrelease@Base 0.95.0
wrmdirhier@Base 0.95.0-1~ wretain@Base 0.95.0
wsetabort@Base 0.95.0-1~ wrmdirhier@Base 0.95.0
wshellquote@Base 0.95.0-1~ wsetabort@Base 0.95.0
wstrappend@Base 0.95.0-1~ wshellquote@Base 0.95.0
wstrconcat@Base 0.95.0-1~ wstrappend@Base 0.95.0
wstrdup@Base 0.95.0-1~ wstrconcat@Base 0.95.0
wstrlcat@Base 0.95.0-1~ wstrdup@Base 0.95.0
wstrlcpy@Base 0.95.0-1~ wstrlcat@Base 0.95.0
wstrndup@Base 0.95.0-1~ wstrlcpy@Base 0.95.0
wtokenfree@Base 0.95.0-1~ wstrndup@Base 0.95.0
wtokenjoin@Base 0.95.0-1~ wtokenfree@Base 0.95.0
wtokennext@Base 0.95.0-1~ wtokenjoin@Base 0.95.0
wtokensplit@Base 0.95.0-1~ wtokennext@Base 0.95.0
wtrimspace@Base 0.95.0-1~ wtokensplit@Base 0.95.0
wusergnusteppath@Base 0.95.0-1~ wtrimspace@Base 0.95.0
wusleep@Base 0.95.0-1~ wusergnusteppath@Base 0.95.0
wusleep@Base 0.95.0

View File

@@ -1,863 +0,0 @@
Description: This patch creates the wmlib folder. Is needed for libwmaker0-dev, used by wterm and fsviewer debian applications.
Author: Rodolfo García Peñas (kix) <kix@kix.es>
Last-Update: 2011-10-05
--- a/configure.ac
+++ b/configure.ac
@@ -636,6 +636,9 @@
fi
fi
+# for wmlib
+AC_SUBST(XCFLAGS)
+
AC_SUBST(XLFLAGS)
AC_SUBST(XLIBS)
AC_SUBST(X_EXTRA_LIBS)
@@ -866,7 +869,7 @@
WINGs/Makefile WINGs/WINGs/Makefile WINGs/Documentation/Makefile \
WINGs/Examples/Makefile WINGs/Resources/Makefile WINGs/Tests/Makefile \
WINGs/Extras/Makefile WINGs/po/Makefile \
- wrlib/Makefile wrlib/tests/Makefile \
+ wmlib/Makefile wrlib/Makefile wrlib/tests/Makefile \
src/Makefile src/wconfig.h \
doc/Makefile doc/sk/Makefile doc/cs/Makefile \
doc/ru/Makefile \
--- /dev/null
+++ b/wmlib/app.c
@@ -0,0 +1,79 @@
+/* app.c - application context stuff
+ *
+ * WMlib - WindowMaker application programming interface
+ *
+ * Copyright (C) 1997-2003 Alfredo K. Kojima
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <X11/Xlib.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "WMaker.h"
+#include "app.h"
+
+WMAppContext *WMAppCreateWithMain(Display * display, int screen_number, Window main_window)
+{
+ wmAppContext *ctx;
+
+ ctx = malloc(sizeof(wmAppContext));
+ if (!ctx)
+ return NULL;
+
+ ctx->dpy = display;
+ ctx->screen_number = screen_number;
+ ctx->our_leader_hint = False;
+ ctx->main_window = main_window;
+ ctx->windows = malloc(sizeof(Window));
+ if (!ctx->windows) {
+ free(ctx);
+ return NULL;
+ }
+ ctx->win_count = 1;
+ ctx->windows[0] = main_window;
+
+ ctx->main_menu = NULL;
+
+ ctx->last_menu_tag = 100;
+
+ return ctx;
+}
+
+int WMAppAddWindow(WMAppContext * app, Window window)
+{
+ Window *win;
+
+ win = malloc(sizeof(Window) * (app->win_count + 1));
+ if (!win)
+ return False;
+
+ memcpy(win, app->windows, sizeof(Window) * app->win_count);
+
+ free(app->windows);
+
+ win[app->win_count] = window;
+ app->windows = win;
+ app->win_count++;
+
+ return True;
+}
+
+int WMAppSetMainMenu(WMAppContext * app, WMMenu * menu)
+{
+ app->main_menu = menu;
+ return True;
+}
--- /dev/null
+++ b/wmlib/app.h
@@ -0,0 +1,40 @@
+/* app.h - private declarations for application context
+ *
+ * WMlib - WindowMaker application programming interface
+ *
+ * Copyright (C) 1997-2003 Alfredo K. Kojima
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef _APP_H_
+#define _APP_H_
+
+typedef struct _wmAppContext {
+ Display *dpy;
+ int screen_number;
+
+ int our_leader_hint; /* if app leader hint was set by us */
+ Window main_window; /* main window of the application */
+ Window *windows;
+ int win_count; /* size of windows array */
+
+ WMMenu *main_menu;
+
+ int last_menu_tag;
+} wmAppContext;
+
+#endif
+
--- /dev/null
+++ b/wmlib/command.c
@@ -0,0 +1,74 @@
+/* command.c - WindowMaker commands
+ *
+ * WMlib - WindowMaker application programming interface
+ *
+ * Copyright (C) 1997-2003 Alfredo K. Kojima
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <X11/Xlib.h>
+#include <stdlib.h>
+
+#include "WMaker.h"
+#include "app.h"
+
+static Atom getwmfunc(Display * dpy)
+{
+ return XInternAtom(dpy, "_WINDOWMAKER_WM_FUNCTION", False);
+}
+
+void WMHideApplication(WMAppContext * app)
+{
+ XEvent event;
+
+ event.xclient.type = ClientMessage;
+ event.xclient.message_type = getwmfunc(app->dpy);
+ event.xclient.format = 32;
+ event.xclient.display = app->dpy;
+ event.xclient.window = app->main_window;
+ event.xclient.data.l[0] = WMFHideApplication;
+ event.xclient.data.l[1] = 0;
+ event.xclient.data.l[2] = 0;
+ event.xclient.data.l[3] = 0;
+ XSendEvent(app->dpy, RootWindow(app->dpy, app->screen_number), False,
+ SubstructureNotifyMask | SubstructureRedirectMask, &event);
+}
+
+void WMHideOthers(WMAppContext * app)
+{
+ XEvent event;
+
+ event.xclient.type = ClientMessage;
+ event.xclient.message_type = getwmfunc(app->dpy);
+ event.xclient.format = 32;
+ event.xclient.display = app->dpy;
+ event.xclient.window = app->main_window;
+ event.xclient.data.l[0] = WMFHideOtherApplications;
+ event.xclient.data.l[1] = 0;
+ event.xclient.data.l[2] = 0;
+ event.xclient.data.l[3] = 0;
+ XSendEvent(app->dpy, RootWindow(app->dpy, app->screen_number), False,
+ SubstructureNotifyMask | SubstructureRedirectMask, &event);
+}
+
+void WMSetWindowAttributes(Display * dpy, Window window, GNUstepWMAttributes * attributes)
+{
+ Atom atom;
+
+ atom = XInternAtom(dpy, "_GNUSTEP_WM_ATTR", False);
+ XChangeProperty(dpy, window, atom, atom, 32, PropModeReplace,
+ (unsigned char *)attributes, sizeof(GNUstepWMAttributes) / sizeof(CARD32));
+}
--- /dev/null
+++ b/wmlib/event.c
@@ -0,0 +1,86 @@
+/* event.c - WindowMaker event handler
+ *
+ * WMlib - WindowMaker application programming interface
+ *
+ * Copyright (C) 1997-2003 Alfredo K. Kojima
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+
+#include "WMaker.h"
+#include "app.h"
+#include "menu.h"
+
+static Atom _XA_WINDOWMAKER_MENU = 0;
+
+enum {
+ wmSelectItem = 1
+};
+
+static wmMenuEntry *findEntry(WMMenu * menu, int tag)
+{
+ wmMenuEntry *entry = menu->first;
+
+ while (entry) {
+ if (entry->tag == tag) {
+ return entry;
+ }
+ if (entry->cascade) {
+ wmMenuEntry *tmp;
+ tmp = findEntry(entry->cascade, tag);
+ if (tmp)
+ return tmp;
+ }
+ entry = entry->next;
+ }
+ return NULL;
+}
+
+static void wmHandleMenuEvents(WMAppContext * app, XEvent * event)
+{
+ wmMenuEntry *entry;
+
+ switch (event->xclient.data.l[1]) {
+ case wmSelectItem:
+ entry = findEntry(app->main_menu, event->xclient.data.l[2]);
+ if (entry && entry->callback) {
+ (*entry->callback) (entry->clientData, event->xclient.data.l[2], event->xclient.data.l[0]);
+ }
+ break;
+ }
+}
+
+int WMProcessEvent(WMAppContext * app, XEvent * event)
+{
+ int proc = False;
+ if (!_XA_WINDOWMAKER_MENU) {
+ _XA_WINDOWMAKER_MENU = XInternAtom(app->dpy, "_WINDOWMAKER_MENU", False);
+ }
+ switch (event->type) {
+ case ClientMessage:
+ if (event->xclient.format == 32
+ && event->xclient.message_type == _XA_WINDOWMAKER_MENU
+ && event->xclient.window == app->main_window) {
+ wmHandleMenuEvents(app, event);
+ proc = True;
+ }
+ }
+ return proc;
+}
--- /dev/null
+++ b/wmlib/Makefile.am
@@ -0,0 +1,51 @@
+
+AUTOMAKE_OPTIONS = no-dependencies
+
+libWMaker_la_LDFLAGS = -version-info 1:1:0
+lib_LTLIBRARIES = libWMaker.la
+
+include_HEADERS = WMaker.h
+
+INCLUDES = $(DFLAGS) @XCFLAGS@
+
+libWMaker_a_AR = $(QUIET_AR) $(AR) $(ARFLAGS)
+
+libWMaker_la_SOURCES = \
+ menu.c \
+ app.c \
+ event.c \
+ command.c \
+ app.h \
+ menu.h
+
+DISTCLEANFILES = wmlib.pc
+
+wmlib.pc: Makefile
+ @echo "Generating $@"
+ @echo 'Name: wmlib' > $@
+ @echo 'Description: WindowMaker library' >> $@
+ @echo 'Version: $(VERSION)' >> $@
+ @echo 'Requires: wrlib' >> $@
+ @echo 'Libs: $(lib_search_path) -lWUtil $(NETLIBS) $(INTLIBS) >> $@
+ @echo 'Cflags: $(inc_search_path)' >> $@
+
+install-exec-local:
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
+ @list='wmlib.pc'; for p in $$list; do \
+ if test -f $$p; then \
+ echo "$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/"; \
+ $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/; \
+ else :; fi; \
+ done
+
+LIBTOOL = $(SHELL) $(top_srcdir)/libtool $(LIBTOOL_ARG)
+
+.c.o:
+ $(QUIET)$(COMPILE) -c $<
+
+.c.obj:
+ $(QUIET)$(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+ $(QUIET)$(LTCOMPILE) -c -o $@ $<
--- /dev/null
+++ b/wmlib/menu.c
@@ -0,0 +1,238 @@
+/* menu.c - menu interface functions
+ *
+ * WMlib - WindowMaker application programming interface
+ *
+ * Copyright (C) 1997-2003 Alfredo K. Kojima
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+
+#include "WMaker.h"
+#include "app.h"
+#include "menu.h"
+
+WMMenu *WMMenuCreate(WMAppContext * app, char *title)
+{
+ wmMenu *menu;
+
+ if (strlen(title) > 255)
+ return NULL;
+
+ menu = malloc(sizeof(wmMenu));
+ if (!menu)
+ return NULL;
+
+ menu->appcontext = app;
+ menu->parent = NULL;
+ menu->title = title;
+ menu->entries = NULL;
+ menu->first = NULL;
+
+ menu->realized = False;
+ menu->code = app->last_menu_tag++;
+
+ menu->entryline = malloc(strlen(title) + 32);
+ menu->entryline2 = malloc(32);
+ if (!menu->entryline || !menu->entryline2) {
+ if (menu->entryline)
+ free(menu->entryline);
+ free(menu);
+ return NULL;
+ }
+ sprintf(menu->entryline, "%i %i %s", wmBeginMenu, menu->code, title);
+ sprintf(menu->entryline2, "%i %i", wmEndMenu, menu->code);
+ return menu;
+}
+
+int
+WMMenuAddItem(WMMenu * menu, char *text, WMMenuAction action,
+ void *clientData, WMFreeFunction freedata, char *rtext)
+{
+ wmMenuEntry *entry;
+
+ /* max size of right side text */
+ if (rtext && strlen(rtext) > 4)
+ return -1;
+
+ /* max size of menu text */
+ if (strlen(text) > 255)
+ return -1;
+
+ entry = malloc(sizeof(wmMenuEntry));
+ if (!entry)
+ return -1;
+
+ entry->entryline = malloc(strlen(text) + 100);
+ if (!entry->entryline) {
+ free(menu);
+ return -1;
+ }
+
+ if (menu->entries)
+ entry->order = menu->entries->order + 1;
+ else {
+ entry->order = 0;
+ menu->first = entry;
+ }
+ entry->next = NULL;
+ entry->prev = menu->entries;
+ if (menu->entries)
+ menu->entries->next = entry;
+ menu->entries = entry;
+
+ entry->menu = menu;
+ entry->text = text;
+ entry->shortcut = rtext;
+ entry->callback = action;
+ entry->clientData = clientData;
+ entry->free = freedata;
+ entry->tag = menu->appcontext->last_menu_tag++;
+ entry->cascade = NULL;
+ entry->enabled = True;
+
+ if (!rtext)
+ sprintf(entry->entryline, "%i %i %i %i %s", wmNormalItem, menu->code, entry->tag, True, text);
+ else
+ sprintf(entry->entryline, "%i %i %i %i %s %s", wmDoubleItem,
+ menu->code, entry->tag, True, rtext, text);
+ return entry->tag;
+}
+
+int WMMenuAddSubmenu(WMMenu * menu, char *text, WMMenu * submenu)
+{
+ wmMenuEntry *entry;
+
+ /* max size of menu text */
+ if (strlen(text) > 255)
+ return -1;
+
+ entry = malloc(sizeof(wmMenuEntry));
+ if (!entry)
+ return -1;
+
+ entry->entryline = malloc(strlen(text) + 100);
+ if (!entry->entryline) {
+ free(menu);
+ return -1;
+ }
+
+ if (menu->entries)
+ entry->order = menu->entries->order + 1;
+ else {
+ entry->order = 0;
+ menu->first = entry;
+ }
+ entry->next = NULL;
+ entry->prev = menu->entries;
+ if (menu->entries)
+ menu->entries->next = entry;
+ menu->entries = entry;
+ entry->menu = menu;
+ entry->text = text;
+ entry->shortcut = NULL;
+ entry->callback = NULL;
+ entry->clientData = NULL;
+ entry->tag = menu->appcontext->last_menu_tag++;
+ entry->cascade = submenu;
+ entry->enabled = True;
+
+ sprintf(entry->entryline, "%i %i %i %i %i %s", wmSubmenuItem,
+ menu->code, entry->tag, True, submenu->code, text);
+ return entry->tag;
+}
+
+static int countItems(WMMenu * menu)
+{
+ wmMenuEntry *entry = menu->first;
+ int c;
+
+ c = 1;
+ while (entry) {
+ c++;
+ if (entry->cascade) {
+ c += countItems(entry->cascade);
+ }
+ entry = entry->next;
+ }
+ c++;
+ return c;
+}
+
+static void addItems(char **slist, int *index, WMMenu * menu)
+{
+ wmMenuEntry *entry = menu->first;
+
+ slist[(*index)++] = menu->entryline;
+ while (entry) {
+ slist[(*index)++] = entry->entryline;
+ if (entry->cascade) {
+ addItems(slist, index, entry->cascade);
+ }
+ entry = entry->next;
+ }
+ slist[(*index)++] = menu->entryline2;
+}
+
+static Atom getatom(Display * dpy)
+{
+ static Atom atom = 0;
+
+ if (atom == 0) {
+ atom = XInternAtom(dpy, WMMENU_PROPNAME, False);
+ }
+ return atom;
+}
+
+int WMRealizeMenus(WMAppContext * app)
+{
+ int i, count;
+ char **slist;
+ XTextProperty text_prop;
+
+ if (!app->main_menu)
+ return False;
+
+ /* first count how many menu items there are */
+ count = countItems(app->main_menu);
+ if (count == 0)
+ return True;
+
+ count++;
+ slist = malloc(count * sizeof(char *));
+ if (!slist) {
+ return False;
+ }
+
+ slist[0] = "WMMenu 0";
+ i = 1;
+ addItems(slist, &i, app->main_menu);
+
+ if (!XStringListToTextProperty(slist, i, &text_prop)) {
+ free(slist);
+ return False;
+ }
+ free(slist);
+ XSetTextProperty(app->dpy, app->main_window, &text_prop, getatom(app->dpy));
+
+ XFree(text_prop.value);
+
+ return True;
+}
--- /dev/null
+++ b/wmlib/menu.h
@@ -0,0 +1,75 @@
+/* menu.h - private menu declarations
+ *
+ * WMlib - WindowMaker application programming interface
+ *
+ * Copyright (C) 1997-2003 Alfredo K. Kojima
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef _MENU_H_
+#define _MENU_H_
+
+#define WMMENU_PROPNAME "_WINDOWMAKER_MENU"
+
+typedef struct _wmMenuEntry {
+ struct _wmMenuEntry *next;
+ struct _wmMenuEntry *prev;
+
+ struct _wmMenu *menu; /* menu for the entry */
+
+ char *text; /* entry text */
+ char *shortcut;
+ WMMenuAction callback;
+ void *clientData; /* data to pass to callback */
+ WMFreeFunction free; /* function to free clientData */
+ int tag; /* unique entry ID */
+
+ struct _wmMenu *cascade; /* cascade menu */
+ short order;
+ short enabled; /* entry is selectable */
+
+ char *entryline;
+} wmMenuEntry;
+
+
+typedef struct _wmMenu {
+ wmAppContext *appcontext;
+ int code;
+
+ struct _wmMenu *parent;
+
+ char *title; /* menu title */
+ wmMenuEntry *entries; /* list of entries */
+ wmMenuEntry *first; /* first of list of entries */
+ int realized;
+
+ char *entryline;
+ char *entryline2;
+} wmMenu;
+
+
+
+enum {
+ wmBeginMenu = 1,
+ wmEndMenu = 2,
+ wmNormalItem = 10,
+ wmDoubleItem = 11,
+ wmSubmenuItem = 12
+};
+
+
+#endif
+
--- /dev/null
+++ b/wmlib/WMaker.h
@@ -0,0 +1,161 @@
+/*
+ * WindowMaker interface definitions
+ *
+ * Copyright (C) 1997-2003 Alfredo K. Kojima
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef _WMLIB_H_
+#define _WMLIB_H_
+
+/* the definitions in this file can change at any time. WINGs has more
+ * stable definitions */
+
+#include <X11/Xlib.h>
+#include <X11/Xmd.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+typedef struct {
+ CARD32 flags;
+ CARD32 window_style;
+ CARD32 window_level;
+ CARD32 reserved;
+ Pixmap miniaturize_pixmap; /* pixmap for miniaturize button */
+ Pixmap close_pixmap; /* pixmap for close button */
+ Pixmap miniaturize_mask; /* miniaturize pixmap mask */
+ Pixmap close_mask; /* close pixmap mask */
+ CARD32 extra_flags;
+} GNUstepWMAttributes;
+
+#define GSWindowStyleAttr (1<<0)
+#define GSWindowLevelAttr (1<<1)
+#define GSMiniaturizePixmapAttr (1<<3)
+#define GSClosePixmapAttr (1<<4)
+#define GSMiniaturizeMaskAttr (1<<5)
+#define GSCloseMaskAttr (1<<6)
+#define GSExtraFlagsAttr (1<<7)
+
+
+
+#define GSClientResizeFlag (1<<0)
+#define GSFullKeyboardEventsFlag (1<<1)
+#define GSMenuWindowFlag (1<<2)
+#define GSIconWindowFlag (1<<3)
+#define GSSkipWindowListFlag (1<<4)
+#define GSNoApplicationIconFlag (1<<5)
+#define GSDarkGrayTitlebarFlag (1<<8)
+
+
+#define WMFHideOtherApplications 10
+#define WMFHideApplication 12
+
+
+#ifndef _DEFINED_GNUSTEP_WINDOW_INFO
+#define _DEFINED_GNUSTEP_WINDOW_INFO
+/*
+ * Window levels are taken from GNUstep (gui/AppKit/NSWindow.h)
+ * NSDesktopWindowLevel intended to be the level at which things
+ * on the desktop sit ... so you should be able
+ * to put a desktop background just below it.
+ *
+ * Applications are actually permitted to use any value in the
+ * range INT_MIN+1 to INT_MAX
+ */
+enum {
+ WMDesktopWindowLevel = -1000, /* GNUstep addition */
+ WMNormalWindowLevel = 0,
+ WMFloatingWindowLevel = 3,
+ WMSubmenuWindowLevel = 3,
+ WMTornOffMenuWindowLevel = 3,
+ WMMainMenuWindowLevel = 20,
+ WMDockWindowLevel = 21, /* Deprecated - use NSStatusWindowLevel */
+ WMStatusWindowLevel = 21,
+ WMModalPanelWindowLevel = 100,
+ WMPopUpMenuWindowLevel = 101,
+ WMScreenSaverWindowLevel = 1000
+};
+
+
+/* window attributes */
+enum {
+ WMBorderlessWindowMask = 0,
+ WMTitledWindowMask = 1,
+ WMClosableWindowMask = 2,
+ WMMiniaturizableWindowMask = 4,
+ WMResizableWindowMask = 8,
+ WMIconWindowMask = 64,
+ WMMiniWindowMask = 128
+};
+#endif
+
+typedef struct _wmAppContext WMAppContext;
+
+typedef struct _wmMenu WMMenu;
+
+typedef void (*WMMenuAction)(void *clientdata, int code, Time timestamp);
+
+typedef void (*WMFreeFunction)(void *clientdata);
+
+int WMProcessEvent(WMAppContext *app, XEvent *event);
+
+
+WMAppContext *WMAppCreateWithMain(Display *display, int screen_number,
+ Window main_window);
+
+WMAppContext *WMAppCreate(Display *display, int screen_number);
+
+int WMAppAddWindow(WMAppContext *app, Window window);
+
+int WMAppSetMainMenu(WMAppContext *app, WMMenu *menu);
+
+
+int WMRealizeMenus(WMAppContext *app);
+
+
+void WMSetWindowAttributes(Display *dpy, Window window,
+ GNUstepWMAttributes *attributes);
+
+
+void WMHideApplication(WMAppContext *app);
+void WMHideOthers(WMAppContext *app);
+
+/*
+ * WARNING: the menu related functions might be removed in the future.
+ */
+WMMenu *WMMenuCreate(WMAppContext *app, char *title);
+
+int WMMenuAddItem(WMMenu *menu, char *text, WMMenuAction action,
+ void *clientData, WMFreeFunction freedata, char *rtext);
+
+int WMMenuInsertItem(WMMenu *menu, int index, char *text,
+ WMMenuAction *action, char *rtext);
+
+int WMMenuRemoveItem(WMMenu *menu, int index);
+
+int WMMenuAddSubmenu(WMMenu *menu, char *title, WMMenu *submenu);
+
+void WMMenuSetEnabled(WMMenu *menu, int index, int enabled);
+
+void WMMenuDestroy(WMMenu *menu, int submenus);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,7 +31,7 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = wrlib WINGs src util po WindowMaker WPrefs.app doc
+SUBDIRS = wrlib WINGs src util po WindowMaker wmlib WPrefs.app doc
EXTRA_DIST = TODO BUGS BUGFORM FAQ FAQ.I18N INSTALL \
INSTALL-WMAKER README.definable-cursor \

23
debian/patches/53_Debian_WMState.diff vendored Normal file
View File

@@ -0,0 +1,23 @@
Description: XTerm and WMPrefs debian configuration. Based on Marcelo E. Magallon <mmagallo@debian.org> diff patch.
Author: Rodolfo García Peñas (kix) <kix@kix.es>
Last-Update: 2012-01-09
--- a/WindowMaker/Defaults/WMState.in
+++ b/WindowMaker/Defaults/WMState.in
@@ -10,14 +10,14 @@
DropCommand = "wmsetbg -u -t %d";
},
{
- Command = xterm;
- Name = xterm.XTerm;
+ Command = "x-terminal-emulator";
+ Name = "x-terminal-emulator.XTerm";
AutoLaunch = No;
Forced = No;
Position = "0,1";
},
{
- Command = "#wprefs#";
+ Command = "/usr/bin/WPrefs";
Name = groupLeader.WPrefs;
AutoLaunch = No;
Forced = No;

29
debian/patches/54_Debian_wmmacros.diff vendored Normal file
View File

@@ -0,0 +1,29 @@
Description: Macros for user paths. Based on Marcelo E. Magallon <mmagallo@debian.org> diff patch.
Author: Rodolfo García Peñas (kix) <kix@kix.es>
Last-Update: 2012-01-09
--- a/WindowMaker/wmmacros
+++ b/WindowMaker/wmmacros
@@ -22,7 +22,7 @@
/*
* SETSTYLE FILE - loads a style file
*/
-#define SETSTYLE EXEC cd $HOME/GNUstep/Library/WindowMaker/Styles; setstyle
+#define SETSTYLE EXEC cd $GNUSTEP_USER_ROOT/Library/WindowMaker/Styles; setstyle
/*
@@ -60,6 +60,14 @@
#define STYLES_DIR #wmdatadir#/Styles
#define ICON_SETS_DIR #wmdatadir#/IconSets
#define BACKGROUNDS_DIR #wmdatadir#/Backgrounds
+#define LOCAL_THEMES_DIR /usr/local/share/WindowMaker/Themes
+#define LOCAL_STYLES_DIR /usr/local/share/WindowMaker/Styles
+#define LOCAL_ICON_SETS_DIR /usr/local/share/WindowMaker/IconSets
+#define LOCAL_BACKGROUNDS_DIR /usr/local/share/WindowMaker/Backgrounds
+#define USER_THEMES_DIR $GNUSTEP_USER_ROOT/Library/WindowMaker/Themes
+#define USER_STYLES_DIR $GNUSTEP_USER_ROOT/Library/WindowMaker/Styles
+#define USER_ICON_SETS_DIR $GNUSTEP_USER_ROOT/Library/WindowMaker/IconSets
+#define USER_BACKGROUNDS_DIR $GNUSTEP_USER_ROOT/Library/WindowMaker/Backgrounds
#define StaticGray 0

View File

@@ -1,3 +1,4 @@
50_def_config_paths.diff 50_def_config_paths.diff
51_wmaker_man.diff 51_wmaker_man.diff
52_libwmaker0dev.diff 53_Debian_WMState.diff
54_Debian_wmmacros.diff

217
debian/rules vendored
View File

@@ -1,11 +1,6 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# GNU Copyright 1997-2005 Marcelo Magallon <mmagallo@debian.org> # export DH_VERBOSE=1
export DH_VERBOSE=1
package := wmaker
version := $(shell dpkg-parsechangelog | grep-dctrl -ne -sVersion -FVersion .)
SHELL=/bin/sh
CFLAGS = -g -Wall -DGLOBAL_DEFAULTS_SUBDIR="\\\"GNUstep/Defaults\\\"" CFLAGS = -g -Wall -DGLOBAL_DEFAULTS_SUBDIR="\\\"GNUstep/Defaults\\\""
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -31,71 +26,29 @@ endif
LINGUAS := $(patsubst po/%.po, %, $(wildcard po/*.po)) LINGUAS := $(patsubst po/%.po, %, $(wildcard po/*.po))
XLOCALE := --disable-locale WMAKER_OPTIONS := --disable-locale --enable-modelock --enable-xinerama $(HOSTSPEC)
MODELOCK := --enable-modelock #not-enabled --enable-usermenu --disable-shape --disable-shm --enable-xrandr
XINERAMA := --enable-xinerama #not-enabled --disable-xpm --disable-png --disable-jpeg --disable-gif --disable-tiff
# USERMENU := --enable-usermenu
# SHAPE_EXT := --disable-shape
# USE_SHM := --disable-shm
# USE_XPM := --disable-xpm
# USE_PNG := --disable-png
# USE_JPEG := --disable-jpeg
# USE_GIF := --disable-gif
# USE_TIFF := --disable-tiff
WMAKER_OPTIONS := $(XLOCALE) $(MODELOCK) $(XINERAMA) \ # Debian packages destination folders
$(USERMENU) $(SHAPE_EXT) $(USE_SHM) \ DEBIAN_TMP := debian/tmp
$(USE_XPM) $(USE_PNG) $(USE_JPEG) $(USE_GIF) $(USE_TIFF) \ DEBDIR_FILES := debian/debianfiles
$(HOSTSPEC) LIBWRASTERDEV_TMP := debian/libwraster3-dev
LIBWINGSDEV_TMP := debian/libwings-dev
TOPSRCDIR := $(shell pwd)
WMAKER := wmaker
WMAKER_COMMON := wmaker-common
WMAKER_DBG := wmaker-dbg
LIBWRASTER := libwraster3
LIBWRASTERDEV := $(LIBWRASTER)-dev
LIBWINGS := libwings-dev
# Be careful with the leading / because some of these values are going # Be careful with the leading / because some of these values are going
# to be hardcoded into the executables # to be hardcoded into the executables
BASEDIR := /usr BASEDIR := /usr
CONFDIR := /etc CONFDIR := /etc
BINDIR := $(BASEDIR)/bin
INCLUDEDIR := $(BASEDIR)/include INCLUDEDIR := $(BASEDIR)/include
SHAREDIR := $(BASEDIR)/share SHAREDIR := $(BASEDIR)/share
DOCDIR := $(SHAREDIR)/doc BINDIR := $(BASEDIR)/bin
MANDIR := $(SHAREDIR)/man MANDIR := $(SHAREDIR)/man
MAN1DIR := $(MANDIR)/man1
MAN8DIR := $(MANDIR)/man8
LIBDIR := $(SHAREDIR)/lib
PKGLIBDIR := $(SHAREDIR)/lib/WindowMaker
NLSDIR := $(SHAREDIR)/locale NLSDIR := $(SHAREDIR)/locale
WMCONFDIR := $(CONFDIR)/X11/WindowMaker GNUSTEPDIR := $(SHAREDIR)/lib/GNUstep/System
WMSHAREDIR := $(SHAREDIR)/WindowMaker WMSHAREDIR := $(SHAREDIR)/WindowMaker
WMDOCDIR := $(DOCDIR)/wmaker
GNUSTEPDIR := $(LIBDIR)/GNUstep/System
GNUSTEPCONFDIR := $(CONFDIR)/GNUstep
DEFAULTSDIR := $(GNUSTEPCONFDIR)/Defaults
PIXMAPDIR := $(INCLUDEDIR)/X11/pixmaps PIXMAPDIR := $(INCLUDEDIR)/X11/pixmaps
GNUSTEPAPPS := $(GNUSTEPDIR)/Applications WPREFSAPPDIR := $(GNUSTEPDIR)/Applications/WPrefs.app/WPrefs
WPREFSAPPDIR := $(GNUSTEPAPPS)/WPrefs.app
WPREFSSRCDIR := $(TOPSRCDIR)/WPrefs.app
WRASTERSRCDIR := $(TOPSRCDIR)/wrlib
WINGSSRCDIR := $(TOPSRCDIR)/WINGs
DEBDIR := $(TOPSRCDIR)/debian
DEBDIR_TMP := $(DEBDIR)/tmp
WMAKER_TMP := $(DEBDIR)/$(WMAKER)
WMAKER_COMMON_TMP := $(DEBDIR)/$(WMAKER_COMMON)
WMAKER_DBG_TMP := $(DEBDIR)/$(WMAKER_DBG)
LIBWRASTER_TMP := $(DEBDIR)/$(LIBWRASTER)
LIBWRASTERDEV_TMP := $(DEBDIR)/$(LIBWRASTERDEV)
LIBWINGS_TMP := $(DEBDIR)/$(LIBWINGS)
RM := rm -f
COMMON_OPTIONS := --prefix=$(BASEDIR) \ COMMON_OPTIONS := --prefix=$(BASEDIR) \
--mandir=$(MANDIR) \ --mandir=$(MANDIR) \
@@ -106,139 +59,43 @@ COMMON_OPTIONS := --prefix=$(BASEDIR) \
--with-pixmapdir=$(PIXMAPDIR) \ --with-pixmapdir=$(PIXMAPDIR) \
--with-gnustepdir=$(GNUSTEPDIR) --with-gnustepdir=$(GNUSTEPDIR)
install_file := install -p -o root -g root -m 0644
install_prog := install -p -o root -g root -m 0755
%: %:
dh $@ dh $@ --parallel --with autotools-dev
override_dh_auto_configure: override_dh_auto_configure:
$(TOPSRCDIR)/autogen.sh ./autogen.sh
ifneq "$(wildcard /usr/share/misc/config.sub)" "" LINGUAS="$(LINGUAS)" ./configure $(COMMON_OPTIONS) \
cp -f /usr/share/misc/config.sub config.sub
endif
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
LINGUAS="$(LINGUAS)" $(TOPSRCDIR)/configure $(COMMON_OPTIONS) \
$(WMAKER_OPTIONS) CFLAGS="$(CFLAGS)" $(WMAKER_OPTIONS) CFLAGS="$(CFLAGS)"
override_dh_clean:
dh_clean
# rm the file WMRootMenu, added by WindowMaker/Defaults/Makefile
$(RM) WindowMaker/Defaults/WMRootMenu
# quilt (I do not why is not automatically)
QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
override_dh_installmenu: override_dh_installmenu:
dh_installmenu -a --noscripts dh_installmenu -a --noscripts
# Copy extra menu files to the WMCONFIG
$(install_prog) $(DEBDIR)/appearance.menu-method \
$(WMAKER_COMMON_TMP)/etc/menu-methods/wmappearance
$(install_file) $(TOPSRCDIR)/WindowMaker/appearance.menu \
$(WMAKER_COMMON_TMP)/$(WMCONFDIR)/
$(install_file) $(TOPSRCDIR)/WindowMaker/background.menu \
$(WMAKER_COMMON_TMP)/$(WMCONFDIR)/
$(install_file) $(TOPSRCDIR)/WindowMaker/wmmacros \
$(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
$(install_file) $(WINGSSRCDIR)/README \
$(LIBWINGS_TMP)/$(DOCDIR)/$(LIBWINGS)/README.WINGs
$(install_file) $(WRASTERSRCDIR)/README \
$(LIBWRASTER_TMP)/$(DOCDIR)/$(LIBWRASTER)/README.wrlib
# Why?
$(install_file) $(DEBDIR)/copyright \
$(WMAKER_COMMON_TMP)/$(DOCDIR)/$(WMAKER_COMMON)/
override_dh_installchangelogs:
dh_installchangelogs
dh_installchangelogs ChangeLog upstream
override_dh_install: 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 dh_install
dh_strip -a --dbg-package=$(WMAKER_DBG)
mv $(DEBDIR_TMP)/etc/WindowMaker/* $(WMAKER_COMMON_TMP)/$(DEFAULTSDIR)/
rmdir $(DEBDIR_TMP)/etc/WindowMaker
# Now begin fixing stuff
$(install_file) $(DEBDIR)/wmaker-common.desktop $(WMAKER_COMMON_TMP)/usr/share/xsessions
# First, provide a wrapper to compensate for Window Maker's funny first
# start up requierements
# WMaker and WMaker debug
mv $(WMAKER_TMP)/$(BINDIR)/wmaker \
$(WMAKER_TMP)/usr/lib/WindowMaker/WindowMaker
mv $(WMAKER_DBG_TMP)/usr/lib/debug$(BINDIR)/wmaker \
$(WMAKER_DBG_TMP)/usr/lib/debug/usr/lib/WindowMaker/WindowMaker
# convertfonts and convertfonts debug
mv $(WMAKER_TMP)/$(BINDIR)/convertfonts \
$(WMAKER_TMP)/usr/lib/WindowMaker/
mv $(WMAKER_DBG_TMP)/usr/lib/debug$(BINDIR)/convertfonts \
$(WMAKER_DBG_TMP)/usr/lib/debug/usr/lib/WindowMaker/
# WPrefs
mv $(DEBDIR_TMP)/$(WPREFSAPPDIR)/WPrefs \
$(WMAKER_TMP)/usr/lib/GNUstep/System/Applications/WPrefs.app/WPrefs
$(install_prog) $(DEBDIR)/wmaker.sh $(WMAKER_COMMON_TMP)/$(BINDIR)/wmaker
# place wm-oldmenu2new under a more appropiate directory
-mv $(DEBDIR_TMP)/$(BINDIR)/wm-oldmenu2new $(WMAKER_COMMON_TMP)/$(WMDOCDIR)
# 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:' \
$(WMAKER_COMMON_TMP)/$(DEFAULTSDIR)/WMState
# Fix permissions
chmod +x $(WMAKER_COMMON_TMP)/usr/share/WindowMaker/autostart.sh
chmod +x $(WMAKER_COMMON_TMP)/usr/share/WindowMaker/exitscript.sh
# Install our transition script
$(install_prog) $(DEBDIR)/upgrade-windowmaker-defaults \
$(WMAKER_COMMON_TMP)/usr/sbin/upgrade-windowmaker-defaults
# This file qualifies as "unpatchable"
cp $(DEBDIR)/WMWindowAttributes $(WMAKER_COMMON_TMP)/$(DEFAULTSDIR)/
# Need this file for start up
echo '"menu.hook"' > $(WMAKER_COMMON_TMP)/$(DEFAULTSDIR)/WMRootMenu
# the plethora of readmes
cp $(TOPSRCDIR)/po/README \
$(WMAKER_COMMON_TMP)/$(WMDOCDIR)/README.po
cp $(TOPSRCDIR)/README.definable-cursor \
$(WMAKER_COMMON_TMP)/$(WMDOCDIR)/README.definable-cursor
cp $(WPREFSSRCDIR)/README \
$(WMAKER_COMMON_TMP)/$(WMDOCDIR)/README.WPrefs
cp $(WPREFSSRCDIR)/po/README \
$(WMAKER_COMMON_TMP)/$(WMDOCDIR)/README.WPrefs.po
# Copy in the Debian theme
cp $(DEBDIR)/Debian.theme $(WMAKER_COMMON_TMP)/$(WMSHAREDIR)/Themes/Debian
uudecode -o $(WMAKER_COMMON_TMP)/$(WMSHAREDIR)/Backgrounds/debian.tiff \
$(DEBDIR)/debian.tiff.uu
# This has the new default Debian theme settings.
cp $(DEBDIR)/WindowMaker.default $(WMAKER_COMMON_TMP)/$(DEFAULTSDIR)/WindowMaker
# Fix the get-*-flags scripts # 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 $(LIBWRASTERDEV_TMP) -name get-*-flags`
perl -pi -e '/^WCFLAGS/ && s:=.*:="-I/usr/X11R6/include":; /^WLFLAGS/ && s:=.*:="-L/usr/X11R6/lib":;' `find $(LIBWINGS_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:=.*:="-lwraster":' `find $(LIBWRASTERDEV_TMP) -name get-wraster-flags`
perl -pi -e '/^WLIBS/ && s:=.*:="-lWINGs -lwraster -lXft":' `find $(LIBWINGS_TMP) -name get-wings-flags` perl -pi -e '/^WLIBS/ && s:=.*:="-lWINGs -lwraster -lXft":' `find $(LIBWINGSDEV_TMP) -name get-wings-flags`
perl -pi -e '/^WLIBS/ && s:=.*:="-lWUtil -lX11":' `find $(LIBWINGS_TMP) -name get-wutil-flags` perl -pi -e '/^WLIBS/ && s:=.*:="-lWUtil -lX11":' `find $(LIBWINGSDEV_TMP) -name get-wutil-flags`
override_dh_strip:
dh_strip --dbg-package=wmaker-dbg

1
debian/source/include-binaries vendored Normal file
View File

@@ -0,0 +1 @@
debian/debianfiles/Theme/debian.tiff

View File

@@ -1,2 +1,2 @@
# Don't store changes on autogenerated files # Don't store changes on autogenerated files
extend-diff-ignore = "(^|/)(config\.sub|config\.guess|Makefile|configure|Makefile\.in|aclocal.m4|config.h.in|depcomp|INSTALL|install-sh|ltmain.sh|missing||libtool.m4|lt~obsolete.m4|ltoptions.m4|ltsugar.m4|ltversion.m4|.Po)$" extend-diff-ignore = "(^|/)(config\.sub|config\.guess|Makefile|configure|Makefile\.in|aclocal.m4|config.h.in|depcomp|INSTALL|install-sh|ltmain.sh|missing||libtool.m4|lt~obsolete.m4|ltoptions.m4|ltsugar.m4|ltversion.m4|.Po|WMRootMenu)$"

2
debian/watch vendored
View File

@@ -1,2 +1,2 @@
version=3 version=3
http://windowmaker.org/pub/source/release/WindowMaker-(.+).tar.gz http://windowmaker.org/pub/source/release/WindowMaker-([\d+|\.]+).tar.gz

View File

@@ -0,0 +1 @@
ChangeLog

View File

@@ -6,4 +6,7 @@ README
TODO TODO
FAQ FAQ
FAQ.I18N FAQ.I18N
debian/Debian.theme.txt debian/debianfiles/Theme/Debian.theme.txt
debian/copyright
# Place wm-oldmenu2new under a more appropiate directory
util/wm-oldmenu2new

View File

@@ -122,42 +122,31 @@ usr/share/WINGs/defaultIcon.xpm
usr/share/WINGs/defaultIcon.tiff usr/share/WINGs/defaultIcon.tiff
usr/share/WINGs/Images.xpm usr/share/WINGs/Images.xpm
usr/share/WINGs/Images.tiff usr/share/WINGs/Images.tiff
usr/share/man/ru/man1/wxpaste.1x
usr/share/man/ru/man1/geticonset.1x
usr/share/man/ru/man1/seticons.1x
usr/share/man/ru/man1/setstyle.1x
usr/share/man/ru/man1/getstyle.1x
usr/share/man/ru/man1/wdwrite.1x
usr/share/man/ru/man1/wxcopy.1x
usr/share/man/ru/man1/wmaker.1x
usr/share/man/ru/man1/wmsetbg.1x
usr/share/man/sk/man1/wxpaste.1x
usr/share/man/sk/man1/geticonset.1x
usr/share/man/sk/man1/seticons.1x
usr/share/man/sk/man1/setstyle.1x
usr/share/man/sk/man1/getstyle.1x
usr/share/man/sk/man1/wdwrite.1x
usr/share/man/sk/man1/wxcopy.1x
usr/share/man/sk/man1/wmaker.1x
usr/share/man/sk/man1/wmsetbg.1x
usr/share/man/cs/man1/wxpaste.1x
usr/share/man/cs/man1/geticonset.1x
usr/share/man/cs/man1/seticons.1x
usr/share/man/cs/man1/setstyle.1x
usr/share/man/cs/man1/getstyle.1x
usr/share/man/cs/man1/wdwrite.1x
usr/share/man/cs/man1/wxcopy.1x
usr/share/man/cs/man1/wmaker.1x
usr/share/man/cs/man1/wmsetbg.1x
usr/share/man/man1/wxpaste.1x
usr/share/man/man1/geticonset.1x
usr/share/man/man1/seticons.1x
usr/share/man/man1/setstyle.1x
usr/share/man/man1/getstyle.1x
usr/share/man/man1/wdwrite.1x
usr/share/man/man1/wxcopy.1x
usr/share/man/man1/wmaker.1x
usr/share/man/man1/wmsetbg.1x
usr/share/lib/GNUstep/System/Applications/WPrefs.app/WPrefs.xpm usr/share/lib/GNUstep/System/Applications/WPrefs.app/WPrefs.xpm
usr/share/lib/GNUstep/System/Applications/WPrefs.app/WPrefs.tiff usr/share/lib/GNUstep/System/Applications/WPrefs.app/WPrefs.tiff
usr/share/lib/GNUstep/System/Applications/WPrefs.app/tiff/*.tiff usr/share/lib/GNUstep/System/Applications/WPrefs.app/tiff/*.tiff
# Scripts
debian/debianfiles/wmaker usr/bin
debian/debianfiles/upgrade-windowmaker-defaults usr/sbin
# Theme
debian/debianfiles/menu/menu.prehook etc/X11/WindowMaker
debian/debianfiles/menu/menu.posthook etc/X11/WindowMaker
debian/debianfiles/Theme/Debian usr/share/WindowMaker/Themes
debian/debianfiles/Theme/debian.tiff usr/share/WindowMaker/Backgrounds
# Configuration
etc/WindowMaker/WMGLOBAL etc/GNUstep/Defaults
etc/WindowMaker/WMState etc/GNUstep/Defaults
debian/debianfiles/conf/WMWindowAttributes etc/GNUstep/Defaults
debian/debianfiles/conf/WMRootMenu etc/GNUstep/Defaults
debian/debianfiles/conf/WindowMaker etc/GNUstep/Defaults
debian/debianfiles/wmaker-common.desktop usr/share/xsessions
usr/share/WindowMaker/wmmacros etc/X11/WindowMaker
# Menu
debian/debianfiles/menu/wmappearance etc/menu-methods
WindowMaker/appearance.menu etc/X11/WindowMaker
WindowMaker/background.menu etc/X11/WindowMaker
# READMES, from the temporal path (see README section in debian/rules)
README.po usr/share/doc/wmaker
README.definable-cursor usr/share/doc/wmaker
README.WPrefs usr/share/doc/wmaker
README.WPrefs.po usr/share/doc/wmaker

View File

@@ -1 +1,3 @@
# The Window Maker Appereance menu don't needs the menu.h
# because the Window Maker menu is not Debian standard
wmaker-common: menu-method-should-include-menu-h wmaker-common: menu-method-should-include-menu-h

View File

@@ -1,5 +1,3 @@
doc/*.1x doc/upgrade-windowmaker-defaults.8
doc/*.8 doc/wmaker.1x
doc/wmgenmenu.1 doc/WindowMaker.1x
doc/wdread.1
doc/wmmenugen.1

View File

@@ -1,25 +1,15 @@
#! /bin/sh -e #!/bin/sh
# set -e
# Window Maker postinst. # Window Maker postinst.
# #
# Marcelo Magallon <mmagallo@debian.org> # Marcelo Magallon <mmagallo@debian.org>
# Rodolfo "kix" García <kix@kix.es>
inst="/etc/menu-methods/wmaker /etc/menu-methods/wmappearance" inst="/etc/menu-methods/wmaker /etc/menu-methods/wmappearance"
x_wm_link=/etc/alternatives/x-window-manager
x_wm_man_link=/usr/share/man/man1/x-window-manager.1.gz
case "$1" in case "$1" in
configure) configure)
update-alternatives --install /usr/bin/x-window-manager \
x-window-manager /usr/bin/wmaker 50 \
--slave /usr/share/man/man1/x-window-manager.1.gz \
x-window-manager.1.gz /usr/share/man/man1/wmaker.1x.gz
if readlink ${x_wm_link} | grep wmaker > /dev/null ; then
ln -sf /usr/bin/wmaker ${x_wm_link}
ln -sf /usr/share/man/man1/wmaker.1x.gz ${x_wm_man_link}
fi
for file in $inst ; do for file in $inst ; do
if [ -f $file ] ; then if [ -f $file ] ; then
chmod a+x $file chmod a+x $file

View File

@@ -12,10 +12,6 @@ case "$1" in
done done
;; ;;
purge) purge)
if [ -x /usr/sbin/register-window-manager ]; then
register-window-manager --remove wmaker
fi
if [ -x /usr/bin/update-menus ] ; then if [ -x /usr/bin/update-menus ] ; then
update-menus update-menus
rm -f /etc/X11/WindowMaker/menu.hook /etc/X11/WindowMaker/plmenu.hook rm -f /etc/X11/WindowMaker/menu.hook /etc/X11/WindowMaker/plmenu.hook

1
debian/wmaker-dbg.changelog-upstream vendored Normal file
View File

@@ -0,0 +1 @@
ChangeLog

1
debian/wmaker.changelog-upstream vendored Normal file
View File

@@ -0,0 +1 @@
ChangeLog

33
debian/wmaker.install vendored
View File

@@ -10,5 +10,34 @@ usr/bin/seticons
usr/bin/geticonset usr/bin/geticonset
usr/bin/setstyle usr/bin/setstyle
usr/bin/wxpaste usr/bin/wxpaste
usr/bin/convertfonts usr/bin/wmaker usr/lib/WindowMaker
usr/bin/wmaker usr/bin/convertfonts usr/lib/WindowMaker
usr/share/lib/GNUstep/System/Applications/WPrefs.app/WPrefs usr/lib/GNUstep/System/Applications/WPrefs.app
# Manpages - Locale specific
usr/share/man/ru/man1/wxpaste.1x
usr/share/man/ru/man1/geticonset.1x
usr/share/man/ru/man1/seticons.1x
usr/share/man/ru/man1/setstyle.1x
usr/share/man/ru/man1/getstyle.1x
usr/share/man/ru/man1/wdwrite.1x
usr/share/man/ru/man1/wxcopy.1x
usr/share/man/ru/man1/wmaker.1x
usr/share/man/ru/man1/wmsetbg.1x
usr/share/man/sk/man1/wxpaste.1x
usr/share/man/sk/man1/geticonset.1x
usr/share/man/sk/man1/seticons.1x
usr/share/man/sk/man1/setstyle.1x
usr/share/man/sk/man1/getstyle.1x
usr/share/man/sk/man1/wdwrite.1x
usr/share/man/sk/man1/wxcopy.1x
usr/share/man/sk/man1/wmaker.1x
usr/share/man/sk/man1/wmsetbg.1x
usr/share/man/cs/man1/wxpaste.1x
usr/share/man/cs/man1/geticonset.1x
usr/share/man/cs/man1/seticons.1x
usr/share/man/cs/man1/setstyle.1x
usr/share/man/cs/man1/getstyle.1x
usr/share/man/cs/man1/wdwrite.1x
usr/share/man/cs/man1/wxcopy.1x
usr/share/man/cs/man1/wmaker.1x
usr/share/man/cs/man1/wmsetbg.1x

2
debian/wmaker.links vendored
View File

@@ -1,2 +1,2 @@
usr/lib/WindowMaker/WindowMaker usr/bin/WindowMaker usr/bin/wmaker usr/bin/WindowMaker
usr/lib/GNUstep/System/Applications/WPrefs.app/WPrefs usr/bin/WPrefs usr/lib/GNUstep/System/Applications/WPrefs.app/WPrefs usr/bin/WPrefs

View File

@@ -1,4 +1,15 @@
# wmaker (WindowMaker) has a different menu system,
# non debian-standard.
#
# wmaker has menus for Appearance, Workspaces,...
# These menus are created as new root sections.
wmaker: menu-item-creates-new-root-section wmaker: menu-item-creates-new-root-section
# wmaker has commands like SHUTDOWN, EXEC, OPEN_MENU,...
# that are not system/package/binary commands (hooks?)
wmaker: menu-command-not-in-package wmaker: menu-command-not-in-package
# arg is used to pass an argument to the hook command
# eg: command="OPEN_MENU" arg="appearance.menu"
wmaker: menu-item-contains-unknown-tag wmaker: menu-item-contains-unknown-tag
# needs has the tag "wmaker"
# eg: ?package(wmaker):needs="wmaker"
wmaker: menu-item-needs-tag-has-unknown-value wmaker: menu-item-needs-tag-has-unknown-value

13
debian/wmaker.manpages vendored Normal file
View File

@@ -0,0 +1,13 @@
doc/wmgenmenu.1
doc/wdread.1
doc/wmmenugen.1
doc/geticonset.1x
doc/getstyle.1x
doc/seticons.1x
doc/setstyle.1x
doc/wdwrite.1x
doc/wmagnify.1x
doc/wmsetbg.1x
doc/WPrefs.1x
doc/wxcopy.1x
doc/wxpaste.1x

3
debian/wmaker.menu vendored
View File

@@ -1,6 +1,9 @@
?package(wmaker):needs="wm" \ ?package(wmaker):needs="wm" \
section="Window Managers" title="Window Maker" \ section="Window Managers" title="Window Maker" \
command="/usr/bin/wmaker" command="/usr/bin/wmaker"
?package(wmaker):needs="wmaker" \
section="/" title="Run..." \
command="SHEXEC \"%A(Run,Type Command:)\""
?package(wmaker):needs="wmaker" \ ?package(wmaker):needs="wmaker" \
section="/" title="Exit" sort="ZZ" \ section="/" title="Exit" sort="ZZ" \
command="EXIT" command="EXIT"

View File

@@ -1,8 +1,10 @@
#! /bin/sh -e #!/bin/sh
# set -e
# Window Maker postinst. # Window Maker postinst.
# #
# Marcelo Magallon <mmagallo@debian.org> # Marcelo Magallon <mmagallo@debian.org>
# Rodolfo "kix" García <kix@kix.es>
x_wm_link=/etc/alternatives/x-window-manager x_wm_link=/etc/alternatives/x-window-manager
x_wm_man_link=/usr/share/man/man1/x-window-manager.1.gz x_wm_man_link=/usr/share/man/man1/x-window-manager.1.gz
@@ -14,11 +16,6 @@ case "$1" in
--slave /usr/share/man/man1/x-window-manager.1.gz \ --slave /usr/share/man/man1/x-window-manager.1.gz \
x-window-manager.1.gz /usr/share/man/man1/wmaker.1x.gz x-window-manager.1.gz /usr/share/man/man1/wmaker.1x.gz
if readlink ${x_wm_link} | grep wmaker > /dev/null ; then
ln -sf /usr/bin/wmaker ${x_wm_link}
ln -sf /usr/share/man/man1/wmaker.1x.gz ${x_wm_man_link}
fi
if [ -x /usr/bin/update-menus -a -x /usr/bin/install-menu ] ; then if [ -x /usr/bin/update-menus -a -x /usr/bin/install-menu ] ; then
update-menus update-menus
fi fi

View File

@@ -3,18 +3,11 @@ set -e
case "$1" in case "$1" in
remove) remove)
;;
purge)
if [ -x /usr/sbin/register-window-manager ]; then
register-window-manager --remove wmaker
fi
if [ -x /usr/bin/update-menus ] ; then if [ -x /usr/bin/update-menus ] ; then
update-menus update-menus
rm -f /etc/X11/WindowMaker/menu.hook /etc/X11/WindowMaker/plmenu.hook
fi fi
;; ;;
upgrade|abort-install|disappear) purge|upgrade|abort-install|disappear)
# nothing to do # nothing to do
;; ;;
failed-upgrade) failed-upgrade)