mirror of
https://github.com/gryf/wmaker.git
synced 2026-07-10 04:36:36 +02:00
Compare commits
154 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7b317a5fba | |||
| 9f8dc6f5dc | |||
| bc56db0776 | |||
| 15d06ff064 | |||
| 2dd98666f1 | |||
| d1a7db8aea | |||
| 64a8ecb390 | |||
| a9e336256b | |||
| e9b20b51e9 | |||
| 1d8b38b6e0 | |||
| 82ad19d420 | |||
| 492b22d975 | |||
| 62405fbb75 | |||
| f1fef40f0d | |||
| 2fb9308a67 | |||
| d902477efd | |||
| 5ee19c2308 | |||
| fabd4252ab | |||
| 630e9292c2 | |||
| 14d1b8197a | |||
| 4d658341d2 | |||
| ac75047aef | |||
| 6d6f9f6ff5 | |||
| 370adc94e7 | |||
| 532acdc443 | |||
| d7d38aa443 | |||
| a6209cc89b | |||
| 01bd523cee | |||
| 45ab72a78a | |||
| 437b76812d | |||
| e3ee459a78 | |||
| d70b546f2e | |||
| 812930b7cd | |||
| 2a14004fc3 | |||
| 04e9f33437 | |||
| 150816c687 | |||
| ddacfa5d63 | |||
| 0718297e9a | |||
| 9cc16182d3 | |||
| f6165d6e80 | |||
| 10c36d244e | |||
| 515eb652c7 | |||
| 8ed92efa3c | |||
| cc839f8bc5 | |||
| 48d4820dee | |||
| d4f5f3ec7f | |||
| 83f7fa43ce | |||
| 55a816bdbc | |||
| 7639fa1c15 | |||
| 93b411f258 | |||
| 326a67e18f | |||
| c089c6aea4 | |||
| 66b0ee3c4d | |||
| a6c8577eb4 | |||
| 094001a53d | |||
| deba131857 | |||
| a9bc9751a2 | |||
| 58b6728743 | |||
| 894d096d6e | |||
| a41b0aa21d | |||
| d4cc033379 | |||
| 308b9f4975 | |||
| 1d1c904126 | |||
| ca4ae5068b | |||
| 26491867a3 | |||
| dce34e926b | |||
| a0b283a60f | |||
| 671db45007 | |||
| 0c6ad643c8 | |||
| 5076b6f496 | |||
| 54c8535365 | |||
| 24f5b32469 | |||
| 85169642ca | |||
| 9f9ef6417e | |||
| fb2a6d2e61 | |||
| 8219c36488 | |||
| bd38778bef | |||
| 1e45ff2305 | |||
| 7e1cdf2d59 | |||
| 43f0474013 | |||
| a079544647 | |||
| 03ec24502d | |||
| 5c90ed9d2d | |||
| 735651df55 | |||
| bfab769065 | |||
| c060477d57 | |||
| 75f133285f | |||
| a6ec6a30a3 | |||
| 6afa419b01 | |||
| a2bf67f54c | |||
| 351e05dca9 | |||
| ae78e88eef | |||
| f049635fa5 | |||
| 4221e30bd2 | |||
| 71558f4ce3 | |||
| 4b61081353 | |||
| 4138c57631 | |||
| 0bbb122b94 | |||
| 0e274dc979 | |||
| 4dfb0dd059 | |||
| bcb53700d6 | |||
| e5f7ef23a6 | |||
| 70f89fd9c5 | |||
| 19202fd2db | |||
| aadd694a6b | |||
| fbec3a728f | |||
| 944bb49997 | |||
| 0ac6827a9b | |||
| f030ab7664 | |||
| 2a8fc1df9a | |||
| 296456f361 | |||
| f2cd2c9f03 | |||
| d125f80dee | |||
| 8e47ca8e62 | |||
| 29cf48b934 | |||
| 816fa00625 | |||
| 6ebec0bb9f | |||
| 7c50721747 | |||
| 4559cbbccc | |||
| e828e1c074 | |||
| 97a9300aa4 | |||
| fd56152202 | |||
| 58862300f9 | |||
| 1612d2f345 | |||
| 920c6d16b1 | |||
| 8aecba27d1 | |||
| fc63d72032 | |||
| eb2a9d97a2 | |||
| 9abe4165d1 | |||
| 82ab2d2d06 | |||
| bbf24d1d39 | |||
| 224cb403a7 | |||
| 1cd8fea423 | |||
| a98680cd14 | |||
| 7d423a3a0f | |||
| 033d2d9a6f | |||
| 6e2075f3df | |||
| 5d2fd7bf7e | |||
| f6742662ec | |||
| 583f66ec4e | |||
| cd23e77fd1 | |||
| 230a501d36 | |||
| 3022edd060 | |||
| 1713a88656 | |||
| 00a25db9ea | |||
| c678580621 | |||
| 44bc9cc264 | |||
| dfa92906c0 | |||
| 27dc5efd2e | |||
| 86659be668 | |||
| e314f10909 | |||
| 54a24ab6f7 | |||
| a17d131da3 | |||
| 6320bb6219 |
+12
@@ -120,6 +120,18 @@ WindowMaker/Defaults/WMWindowAttributes
|
||||
WindowMaker/Defaults/WindowMaker
|
||||
WindowMaker/IconSets/Default.iconset
|
||||
|
||||
WPrefs.app/WPrefs.desktop
|
||||
|
||||
# These files are generated by the i18n process
|
||||
/po/WindowMaker.pot
|
||||
/po/*.mo
|
||||
/WINGs/po/WINGs.pot
|
||||
/WINGs/po/*.mo
|
||||
/WPrefs.app/po/WPrefs.pot
|
||||
/WPrefs.app/po/*.mo
|
||||
/util/po/*.pot
|
||||
/util/po/*.mo
|
||||
|
||||
# Some text editors generate backup files
|
||||
*~
|
||||
|
||||
|
||||
@@ -4063,7 +4063,7 @@ Changes since version 0.17.5:
|
||||
icons
|
||||
- fixed bug in focusfollowmouse that made windows under the currently
|
||||
focused window that close, to not get the focus
|
||||
- if the app is a .app, it will try to find it's icon in the .app
|
||||
- if the app is a .app, it will try to find its icon in the .app
|
||||
directory and save it in the WMWindowAttributes, so that the dock can use it.
|
||||
- drag docklets that select for mouse events to with Alt+drag
|
||||
|
||||
@@ -4934,7 +4934,7 @@ Changes since version 0.3.2:
|
||||
|
||||
- application icons (not mini-windows) like I think how it is on NEXTSTEP(tm)
|
||||
- fixed "slippery" icon movement
|
||||
- added a Dock (not for GNUstep, as it will have it's own)
|
||||
- added a Dock (not for GNUstep, as it will have its own)
|
||||
|
||||
Changes since version 0.3.1:
|
||||
............................
|
||||
@@ -4964,7 +4964,7 @@ it's opened to select items, just drag the pointer
|
||||
- transient owners get a different titlebar color when the focus
|
||||
is in the transient (e.g, in NeXTese: mainWindow is highlighted correctly when
|
||||
the keyWindow is a panel)
|
||||
- when transient is closed, it's owner always get the focus
|
||||
- when transient is closed, its owner always get the focus
|
||||
- fixed XGrabButton/BadAccess bug
|
||||
- fixed window_count error (this time I'm 90% sure)
|
||||
- fixed focusNextWindow through Alt-Tab bug with non-focusable windows
|
||||
|
||||
@@ -333,7 +333,7 @@ Window Maker distribution.
|
||||
|
||||
The author Anthony Quinn <southgat@frontiernet.net> has released a
|
||||
version that works with Window Maker >= 0.15.x. It is available from
|
||||
it's home page at http://www.frontiernet.net/~southgat/wmsound/
|
||||
its home page at http://www.frontiernet.net/~southgat/wmsound/
|
||||
or on Largo's site at http://wm.current.nu/files.html#wmsound
|
||||
for your convenience.
|
||||
|
||||
@@ -352,7 +352,7 @@ GNOME application they have no title bar" below.
|
||||
To use it with CDE, read the answer for "How do I switch
|
||||
CDE's window manager to use Window Maker?"
|
||||
|
||||
To use it with KDE, read it's documentation to get rid of kwm (and possibly
|
||||
To use it with KDE, read its documentation to get rid of kwm (and possibly
|
||||
kpanel) and replace it with wmaker. Then, start WPrefs.app, go to "Mouse
|
||||
Preferences" and set the "Disable mouse actions" check box. You will
|
||||
need to restart Window Maker to make this change take effect. The
|
||||
@@ -1283,7 +1283,7 @@ WM_NORMAL_HINTS(WM_SIZE_HINTS):
|
||||
user specified size: 400 by 300
|
||||
program specified minimum size: 400 by 300
|
||||
|
||||
Now, when scilab opens it's window, Window Maker nicely does exactly what it
|
||||
Now, when scilab opens its window, Window Maker nicely does exactly what it
|
||||
is told, that is, map the window at position 136679205, 1074468360 which
|
||||
obviously falls outside the screen no matter how big is your monitor ;)
|
||||
|
||||
|
||||
+40
-4
@@ -19,10 +19,19 @@ config-paths.h: Makefile
|
||||
@echo '#define PIXMAPDIR "$(pixmapdir)"' >> $@
|
||||
@echo '' >> $@
|
||||
@echo '/* where shared data is stored */' >> $@
|
||||
@echo '#define PKGDATADIR "$(datadir)/WindowMaker"' >> $@
|
||||
@echo '#define PKGDATADIR "$(datadir)/$(PACKAGE_TARNAME)"' >> $@
|
||||
@echo '' >> $@
|
||||
@echo '/* where the global defaults are stored */' >> $@
|
||||
@echo '#define DEFSDATADIR "$(defsdatadir)"' >> $@
|
||||
@echo '#define PKGCONFDIR "$(pkgconfdir)"' >> $@
|
||||
@echo '' >> $@
|
||||
@echo '/* where the user data root is located */' >> $@
|
||||
@echo '#define GSUSER_SUBDIR "GNUstep"' >> $@
|
||||
@echo '' >> $@
|
||||
@echo '/* where the user defaults are stored */' >> $@
|
||||
@echo '#define DEFAULTS_SUBDIR "Defaults"' >> $@
|
||||
@echo '' >> $@
|
||||
@echo '/* where the user data are stored */' >> $@
|
||||
@echo '#define USERDATA_SUBDIR "Library"' >> $@
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
@@ -41,11 +50,13 @@ EXTRA_DIST = TODO BUGS BUGFORM FAQ INSTALL \
|
||||
script/check-cmdline-options-doc.sh \
|
||||
script/check-translation-sources.sh \
|
||||
script/check-wmaker-loaddef-callbacks.sh \
|
||||
script/generate-html-from-man.sh \
|
||||
script/generate-mapfile-from-header.sh \
|
||||
script/generate-po-from-template.sh \
|
||||
script/generate-txt-from-texi.sh \
|
||||
script/nested-func-to-macro.sh \
|
||||
script/replace-ac-keywords.sh
|
||||
script/replace-ac-keywords.sh \
|
||||
script/replace-generated-content.sh
|
||||
|
||||
|
||||
.PHONY: coverage-reset coverage
|
||||
@@ -62,6 +73,10 @@ coverage:
|
||||
genhtml --output-directory @lcov_output_directory@ coverage/coverage.info
|
||||
endif
|
||||
|
||||
################################################################################
|
||||
# Section for the I18N processing
|
||||
################################################################################
|
||||
|
||||
# make update-lang PO=<lang>
|
||||
# ==========================
|
||||
# Update the PO files against the POT file in all the translation sub-directories
|
||||
@@ -80,13 +95,34 @@ if HAVE_XGETTEXT
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) update-lang || exit $$?); \
|
||||
done
|
||||
|
||||
SUBDIRS_PO = WINGs/po po util/po WPrefs.app/po
|
||||
SUBDIRS_PO = wrlib/po WINGs/po po util/po WPrefs.app/po
|
||||
else
|
||||
@echo "Error: the program 'xgettext' was not found by configure, it is mandatory for this operation" >&2 ; exit 1
|
||||
endif
|
||||
|
||||
.PHONY: update-lang
|
||||
|
||||
################################################################################
|
||||
# Section related to generating HTML content for the website
|
||||
################################################################################
|
||||
|
||||
if WITH_WEB_REPO
|
||||
|
||||
SUBDIRS_WEB = doc
|
||||
|
||||
website:
|
||||
@for subdir in $(SUBDIRS_WEB); do \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) website || exit $$?); \
|
||||
done
|
||||
|
||||
endif
|
||||
|
||||
.PHONY: website
|
||||
|
||||
################################################################################
|
||||
# Section for the automated checks
|
||||
################################################################################
|
||||
|
||||
# Create a 'silent-rule' for our make check the same way automake does
|
||||
AM_V_CHKOPTS = $(am__v_CHKOPTS_$(V))
|
||||
am__v_CHKOPTS_ = $(am__v_CHKOPTS_$(AM_DEFAULT_VERBOSITY))
|
||||
|
||||
@@ -1,6 +1,15 @@
|
||||
NEWS for veteran Window Maker users
|
||||
-----------------------------------
|
||||
|
||||
-- 0.95.10
|
||||
|
||||
Keep dock on primary head
|
||||
-------------------------
|
||||
|
||||
To keep the dock on the primary head in a multi-head setup, set the option
|
||||
"KeepDockOnPrimaryHead" in ~/GNUstep/Defaults/WindowMaker to "YES" or click
|
||||
"Keep dock on primary head" under the WPrefs "Expert User Preferences" tab.
|
||||
|
||||
-- 0.95.9
|
||||
|
||||
Configurable SwitchPanel
|
||||
@@ -1643,7 +1652,7 @@ raising/lowering there is a time threshold before raising/lowering.
|
||||
The thresholds can be changed in wconfig.h by changing one or both of
|
||||
AUTO_LOWER_DELAY and AUTO_RAISE_DELAY (expressed in milliseconds).
|
||||
For example if you set AUTO_RAISE_DELAY to 0, then the Clip will be raised as
|
||||
soon as the mouse pointer enters it's area. Setting AUTO_RAISE_DELAY to a very
|
||||
soon as the mouse pointer enters its area. Setting AUTO_RAISE_DELAY to a very
|
||||
big value, will make the Clip to practically do not auto raise unless clicked,
|
||||
but to be automatically lowered after AUTO_LOWER_DELAY (ms) when leaved.
|
||||
|
||||
@@ -2572,7 +2581,7 @@ The OPEN_MENU command now supports the following syntax:
|
||||
// it in current position
|
||||
OPEN_MENU file.menu
|
||||
2. Pipe menu handling.
|
||||
// opens command and uses it's stdout to construct menu.
|
||||
// opens command and uses its stdout to construct menu.
|
||||
// Command's output must be a valid menu description.
|
||||
OPEN_MENU | command
|
||||
3. Directory handling.
|
||||
@@ -3175,7 +3184,7 @@ when they are first mapped
|
||||
titlebar gradients are in a single piece now
|
||||
|
||||
the WMDock file was merged into the WMState file. You can insert this
|
||||
file in WMState and set it's key to Dock. For example, if your WMDock
|
||||
file in WMState and set its key to Dock. For example, if your WMDock
|
||||
contains:
|
||||
|
||||
{
|
||||
|
||||
@@ -178,7 +178,7 @@ Running multiple instances of Window Maker
|
||||
|
||||
It is not a good idea to run more than one instance of Window Maker
|
||||
from the same user (so that wmaker will use the same configuration files) at the
|
||||
same time. You might get unexpected behavior when Window Maker updates it's
|
||||
same time. You might get unexpected behavior when Window Maker updates its
|
||||
configuration files.
|
||||
|
||||
If you really desire to do this, try running Window Maker with the command line
|
||||
@@ -209,7 +209,7 @@ while keeping a nice appearance and good functionality, follow the items bellow:
|
||||
- remove support for image formats you don't use
|
||||
- to reduce memory usage, disable the icon cache, by setting the RIMAGE_CACHE
|
||||
environment variable to 0. If you want to increase performance at the cost of
|
||||
memory usage, set it's value to a value like the number of different icons you
|
||||
memory usage, set its value to a value like the number of different icons you
|
||||
use. Also, disable anti-aliased text support in ~/GNUstep/Defaults/WMGLOBAL.
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Changes since wmaker 0.95.10:
|
||||
............................
|
||||
|
||||
- added W_KeycodeToKeysym to replace XKeycodeToKeysym/XkbKeycodeToKeysym calls
|
||||
|
||||
|
||||
Changes since wmaker 0.92.0:
|
||||
............................
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ noinst_PROGRAMS = fontl puzzle colorpick
|
||||
|
||||
LDADD= $(top_builddir)/WINGs/libWINGs.la $(top_builddir)/wrlib/libwraster.la \
|
||||
$(top_builddir)/WINGs/libWUtil.la \
|
||||
@XFTLIBS@ @INTLIBS@ @XLIBS@
|
||||
@XFT_LIBS@ @INTLIBS@ @XLIBS@
|
||||
|
||||
colorpick_DEPENDENCIES = $(top_builddir)/WINGs/libWINGs.la
|
||||
|
||||
|
||||
@@ -25,6 +25,6 @@ AM_CPPFLAGS = -I$(top_srcdir)/wrlib -I$(top_srcdir)/WINGs \
|
||||
|
||||
LDADD= $(top_builddir)/WINGs/libWINGs.la $(top_builddir)/wrlib/libwraster.la \
|
||||
$(top_builddir)/WINGs/libWUtil.la \
|
||||
@XFTLIBS@ @INTLIBS@
|
||||
@XFT_LIBS@ @INTLIBS@
|
||||
|
||||
test_LDADD = wtableview.o wtabledelegates.o $(LDADD)
|
||||
|
||||
+7
-6
@@ -12,7 +12,7 @@ lib_LTLIBRARIES = libWUtil.la libWINGs.la
|
||||
|
||||
|
||||
LDADD= libWUtil.la libWINGs.la $(top_builddir)/wrlib/libwraster.la @INTLIBS@
|
||||
libWINGs_la_LIBADD = libWUtil.la $(top_builddir)/wrlib/libwraster.la @XLIBS@ @XFTLIBS@ @FCLIBS@ @LIBM@ @PANGOLIBS@
|
||||
libWINGs_la_LIBADD = libWUtil.la $(top_builddir)/wrlib/libwraster.la @XLIBS@ @XFT_LIBS@ @FCLIBS@ @LIBM@ @PANGO_LIBS@
|
||||
libWUtil_la_LIBADD = @LIBBSD@
|
||||
|
||||
EXTRA_DIST = BUGS make-rgb Examples Extras Tests
|
||||
@@ -87,11 +87,12 @@ libWUtil_la_SOURCES = \
|
||||
wutil.c
|
||||
|
||||
|
||||
AM_CFLAGS =
|
||||
AM_CFLAGS = @PANGO_CFLAGS@
|
||||
|
||||
AM_CPPFLAGS = -DRESOURCE_PATH=\"$(datadir)/WINGs\" \
|
||||
-I$(top_srcdir)/WINGs/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
|
||||
@XFTFLAGS@ @HEADER_SEARCH_PATH@
|
||||
-I$(top_srcdir)/WINGs/WINGs -I$(top_builddir)/WINGs/WINGs \
|
||||
-I$(top_builddir)/wrlib -I$(top_srcdir)/src \
|
||||
@XFT_CFLAGS@ @HEADER_SEARCH_PATH@
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = WINGs.pc WUtil.pc
|
||||
@@ -105,8 +106,8 @@ WINGs.pc: Makefile
|
||||
@echo 'Version: $(VERSION)' >> $@
|
||||
@echo 'Requires: wrlib WUtil' >> $@
|
||||
@echo 'Libs: $(lib_search_path) -lWINGs' >> $@
|
||||
@echo 'Libs.private: $(XFTLIBS) $(PANGOLIBS) $(XLIBS) -lm $(INTLIBS)' >> $@
|
||||
@echo 'Cflags: $(inc_search_path)' >> $@
|
||||
@echo 'Libs.private: $(XFT_LIBS) $(PANGOLIBS) $(XLIBS) -lm $(INTLIBS)' >> $@
|
||||
@echo 'Cflags: $(inc_search_path) @PANGO_CFLAGS@' >> $@
|
||||
|
||||
WUtil.pc: Makefile
|
||||
@echo "Generating $@"
|
||||
|
||||
+3
-1
@@ -1,7 +1,9 @@
|
||||
** API and ABI modifications since wmaker 0.92.0
|
||||
** API and ABI modifications since wmaker 0.95.10
|
||||
----------------------------------------------------
|
||||
|
||||
** libWINGs **
|
||||
<WINGsP.h>
|
||||
W_KeycodeToKeysym ADDED
|
||||
struct W_DragDestinationInfo: new members added SIZE CHANGE
|
||||
|
||||
<WINGs.h>
|
||||
|
||||
+6
-6
@@ -8,25 +8,25 @@
|
||||
kojima@windowmaker.info
|
||||
|
||||
|
||||
WINGs is a small widget set with the N*XTSTEP look and feel. It's API
|
||||
is inspired in OpenStep and it's implementation borrows some ideas
|
||||
WINGs is a small widget set with the N*XTSTEP look and feel. Its API
|
||||
is inspired in OpenStep and its implementation borrows some ideas
|
||||
from Tk. It has a reasonable set of widgets, sufficient for building
|
||||
small applications (like a CDPlayer or hacking something like rxvt). It
|
||||
also has other functions that are usefull for applications, like a
|
||||
User Defaults alike configuration manager and a notification system.
|
||||
|
||||
The library is limited and it's design is a little sloppy,
|
||||
The library is limited and its design is a little sloppy,
|
||||
so it's not intended to build large or complex applications, like
|
||||
anything more complex than a CDPlayer. GNUstep should be used for such
|
||||
applications.
|
||||
|
||||
Since WINGs is written in C and is sort of low-level it is small
|
||||
and faster than say, Motif or even Athena. Knowing Xlib will help you to
|
||||
workaround some of it's limitations, although you'll probably be able to
|
||||
workaround some of its limitations, although you'll probably be able to
|
||||
write something like a trivial tic-tac-toe game without knowing much Xlib.
|
||||
|
||||
Some of it's functions are designed to support the Window Maker window
|
||||
manager (see http://windowmaker.info) In fact, it's primary role is to
|
||||
Some of its functions are designed to support the Window Maker window
|
||||
manager (see http://windowmaker.info) In fact, its primary role is to
|
||||
support Window Maker. All other uses of it are just an added bonus.
|
||||
|
||||
It will help you to understand the API if you read the ApplicationKit
|
||||
|
||||
@@ -6,7 +6,7 @@ noinst_PROGRAMS = wtest wmquery wmfile testmywidget
|
||||
|
||||
LDADD= $(top_builddir)/WINGs/libWINGs.la $(top_builddir)/wrlib/libwraster.la \
|
||||
$(top_builddir)/WINGs/libWUtil.la \
|
||||
@XFTLIBS@ @INTLIBS@ @XLIBS@
|
||||
@XFT_LIBS@ @INTLIBS@ @XLIBS@
|
||||
|
||||
|
||||
testmywidget_SOURCES = testmywidget.c mywidget.c mywidget.h
|
||||
@@ -17,4 +17,4 @@ wtest_DEPENDENCIES = $(top_builddir)/WINGs/libWINGs.la
|
||||
EXTRA_DIST = logo.xpm upbtn.xpm wm.html wm.png
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
|
||||
-DRESOURCE_PATH=\"$(datadir)/WINGs\" @XFTFLAGS@ @HEADER_SEARCH_PATH@
|
||||
-DRESOURCE_PATH=\"$(datadir)/WINGs\" @XFT_CFLAGS@ @HEADER_SEARCH_PATH@
|
||||
|
||||
+11
-1
@@ -5,4 +5,14 @@ AUTOMAKE_OPTIONS =
|
||||
# is this a kluge? if so, how should i do it?
|
||||
includedir = @includedir@/WINGs
|
||||
|
||||
include_HEADERS = WINGs.h WUtil.h WINGsP.h
|
||||
BUILT_SOURCES = WINGsP.h
|
||||
CLEANFILES = WINGsP.h
|
||||
include_HEADERS = WINGs.h WUtil.h
|
||||
nodist_include_HEADERS = WINGsP.h
|
||||
EXTRA_DIST = WINGsP.h.in
|
||||
|
||||
WINGsP.h: WINGsP.h.in $(top_builddir)/config.h
|
||||
$(AM_V_GEN)$(top_srcdir)/script/replace-ac-keywords.sh \
|
||||
--header "$(top_builddir)/config.h" \
|
||||
--filter "USE_PANGO" \
|
||||
-o $@ $<
|
||||
|
||||
+16
-16
@@ -26,7 +26,7 @@
|
||||
#include <WINGs/WUtil.h>
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
#define WINGS_H_VERSION 20150508
|
||||
#define WINGS_H_VERSION 20230226
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -736,7 +736,7 @@ Bool WMRequestSelection(WMView *view, Atom selection, Atom target,
|
||||
void *cdata);
|
||||
|
||||
|
||||
extern char *WMSelectionOwnerDidChangeNotification;
|
||||
extern const char *WMSelectionOwnerDidChangeNotification;
|
||||
|
||||
/* ---[ WINGs/dragcommon.c ]---------------------------------------------- */
|
||||
|
||||
@@ -977,11 +977,11 @@ WMPoint WMGetViewScreenPosition(WMView *view);
|
||||
WMWidget* WMWidgetOfView(WMView *view);
|
||||
|
||||
/* notifications */
|
||||
extern char *WMViewSizeDidChangeNotification;
|
||||
extern const char *WMViewSizeDidChangeNotification;
|
||||
|
||||
extern char *WMViewFocusDidChangeNotification;
|
||||
extern const char *WMViewFocusDidChangeNotification;
|
||||
|
||||
extern char *WMViewRealizedNotification;
|
||||
extern const char *WMViewRealizedNotification;
|
||||
|
||||
/* ---[ WINGs/wballoon.c ]------------------------------------------------ */
|
||||
|
||||
@@ -1190,9 +1190,9 @@ void WMSetTextFieldDelegate(WMTextField *tPtr, WMTextFieldDelegate *delegate);
|
||||
|
||||
WMTextFieldDelegate* WMGetTextFieldDelegate(WMTextField *tPtr);
|
||||
|
||||
extern char *WMTextDidChangeNotification;
|
||||
extern char *WMTextDidBeginEditingNotification;
|
||||
extern char *WMTextDidEndEditingNotification;
|
||||
extern const char *WMTextDidChangeNotification;
|
||||
extern const char *WMTextDidBeginEditingNotification;
|
||||
extern const char *WMTextDidEndEditingNotification;
|
||||
|
||||
/* ---[ WINGs/wscroller.c ]----------------------------------------------- */
|
||||
|
||||
@@ -1212,7 +1212,7 @@ void WMSetScrollerAction(WMScroller *sPtr, WMAction *action, void *clientData);
|
||||
void WMSetScrollerArrowsPosition(WMScroller *sPtr,
|
||||
WMScrollArrowPosition position);
|
||||
|
||||
extern char *WMScrollerDidScrollNotification;
|
||||
extern const char *WMScrollerDidScrollNotification;
|
||||
|
||||
/* ---[ WINGs/wlist.c ]--------------------------------------------------- */
|
||||
|
||||
@@ -1291,8 +1291,8 @@ Bool WMListAllowsMultipleSelection(WMList *lPtr);
|
||||
Bool WMListAllowsEmptySelection(WMList *lPtr);
|
||||
|
||||
|
||||
extern char *WMListDidScrollNotification;
|
||||
extern char *WMListSelectionDidChangeNotification;
|
||||
extern const char *WMListDidScrollNotification;
|
||||
extern const char *WMListSelectionDidChangeNotification;
|
||||
|
||||
/* ---[ WINGs/wbrowser.c ]------------------------------------------------ */
|
||||
|
||||
@@ -1324,7 +1324,7 @@ void WMSortBrowserColumnWithComparer(WMBrowser *bPtr, int column,
|
||||
WMCompareDataProc *func);
|
||||
|
||||
/* Don't free the returned string. */
|
||||
char* WMSetBrowserPath(WMBrowser *bPtr, char *path);
|
||||
const char* WMSetBrowserPath(WMBrowser *bPtr, const char *path);
|
||||
|
||||
/* free the returned string */
|
||||
char* WMGetBrowserPath(WMBrowser *bPtr);
|
||||
@@ -1496,7 +1496,7 @@ void WMSetColorPanelPickerMode(WMColorPanel *panel, WMColorPanelMode mode);
|
||||
|
||||
void WMSetColorPanelAction(WMColorPanel *panel, WMAction2 *action, void *data);
|
||||
|
||||
extern char *WMColorPanelColorChangedNotification;
|
||||
extern const char *WMColorPanelColorChangedNotification;
|
||||
|
||||
/* ---[ WINGs/wcolorwell.c ]---------------------------------------------- */
|
||||
|
||||
@@ -1509,7 +1509,7 @@ WMColor* WMGetColorWellColor(WMColorWell *cPtr);
|
||||
void WSetColorWellBordered(WMColorWell *cPtr, Bool flag);
|
||||
|
||||
|
||||
extern char *WMColorWellDidChangeNotification;
|
||||
extern const char *WMColorWellDidChangeNotification;
|
||||
|
||||
|
||||
/* ---[ WINGs/wscrollview.c ]--------------------------------------------- */
|
||||
@@ -1876,7 +1876,7 @@ void WMSetFilePanelCanChooseFiles(WMFilePanel *panel, Bool flag);
|
||||
|
||||
void WMSetFilePanelAutoCompletion(WMFilePanel *panel, Bool flag);
|
||||
|
||||
void WMSetFilePanelDirectory(WMFilePanel *panel, char *path);
|
||||
void WMSetFilePanelDirectory(WMFilePanel *panel, const char *path);
|
||||
|
||||
/* you can free the returned string */
|
||||
char* WMGetFilePanelFileName(WMFilePanel *panel);
|
||||
@@ -1884,7 +1884,7 @@ char* WMGetFilePanelFileName(WMFilePanel *panel);
|
||||
void WMFreeFilePanel(WMFilePanel *panel);
|
||||
|
||||
int WMRunModalFilePanelForDirectory(WMFilePanel *panel, WMWindow *owner,
|
||||
char *path, const char *name, char **fileTypes);
|
||||
const char *path, const char *name, char **fileTypes);
|
||||
|
||||
void WMSetFilePanelAccessoryView(WMFilePanel *panel, WMView *view);
|
||||
|
||||
|
||||
@@ -5,9 +5,7 @@
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
|
||||
#ifdef USE_PANGO
|
||||
#include <pango/pango.h>
|
||||
#endif
|
||||
@USE_PANGO@#include <pango/pango.h>
|
||||
|
||||
#include <WINGs/WINGs.h>
|
||||
|
||||
@@ -43,7 +41,7 @@ typedef struct _WINGsConfiguration {
|
||||
unsigned mouseWheelDown;
|
||||
} _WINGsConfiguration;
|
||||
|
||||
extern char *_WINGS_progname;
|
||||
extern const char *_WINGS_progname;
|
||||
extern _WINGsConfiguration WINGsConfiguration;
|
||||
extern struct W_Application WMApplication;
|
||||
|
||||
@@ -459,9 +457,7 @@ typedef struct W_Font {
|
||||
short refCount;
|
||||
char *name;
|
||||
|
||||
#ifdef USE_PANGO
|
||||
PangoLayout *layout;
|
||||
#endif
|
||||
@USE_PANGO@ PangoLayout *layout;
|
||||
} W_Font;
|
||||
|
||||
#define W_FONTID(f) (f)->font->fid
|
||||
@@ -498,6 +494,8 @@ void W_SetPreeditPositon(W_View *view, int x, int y);
|
||||
int W_LookupString(W_View *view, XKeyPressedEvent *event, char *buffer,
|
||||
int buflen, KeySym *keysym, Status *status);
|
||||
|
||||
KeySym W_KeycodeToKeysym(Display *display, KeyCode keycode, int index);
|
||||
|
||||
|
||||
/* ---[ wmisc.c ]--------------------------------------------------------- */
|
||||
|
||||
+2
-1
@@ -249,7 +249,7 @@ char* wexpandpath(const char *path);
|
||||
int wcopy_file(const char *toPath, const char *srcFile, const char *destFile);
|
||||
|
||||
/* don't free the returned string */
|
||||
char* wgethomedir(void);
|
||||
const char* wgethomedir(void);
|
||||
|
||||
/* ---[ WINGs/proplist.c ]------------------------------------------------ */
|
||||
|
||||
@@ -864,6 +864,7 @@ Bool WMWritePropListToFile(WMPropList *plist, const char *path);
|
||||
|
||||
/* don't free the returned string */
|
||||
const char* wusergnusteppath(void);
|
||||
const char* wuserdatapath(void);
|
||||
|
||||
/* Free the returned string when you no longer need it */
|
||||
char* wdefaultspathfordomain(const char *domain);
|
||||
|
||||
@@ -599,7 +599,7 @@ static void dragSourceResponseTimeOut(void *destView)
|
||||
W_DragDestinationInfoClear(info);
|
||||
}
|
||||
|
||||
void W_DragDestinationStopTimer()
|
||||
void W_DragDestinationStopTimer(void)
|
||||
{
|
||||
if (dndDestinationTimer != NULL) {
|
||||
WMDeleteTimerHandler(dndDestinationTimer);
|
||||
|
||||
+1
-1
@@ -1080,7 +1080,7 @@ static void dragSourceResponseTimeOut(void *source)
|
||||
}
|
||||
}
|
||||
|
||||
void W_DragSourceStopTimer()
|
||||
void W_DragSourceStopTimer(void)
|
||||
{
|
||||
if (dndSourceTimer != NULL) {
|
||||
WMDeleteTimerHandler(dndSourceTimer);
|
||||
|
||||
+2
-6
@@ -39,7 +39,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
char *wgethomedir()
|
||||
const char *wgethomedir(void)
|
||||
{
|
||||
static char *home = NULL;
|
||||
char *tmp;
|
||||
@@ -48,11 +48,7 @@ char *wgethomedir()
|
||||
if (home)
|
||||
return home;
|
||||
|
||||
#ifdef HAVE_SECURE_GETENV
|
||||
tmp = secure_getenv("HOME");
|
||||
#else
|
||||
tmp = getenv("HOME");
|
||||
#endif
|
||||
tmp = GETENV("HOME");
|
||||
if (tmp) {
|
||||
home = wstrdup(tmp);
|
||||
return home;
|
||||
|
||||
@@ -107,6 +107,7 @@ void *wmalloc(size_t size)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (tmp != NULL)
|
||||
memset(tmp, 0, size);
|
||||
return tmp;
|
||||
}
|
||||
|
||||
+1
-1
@@ -536,7 +536,7 @@ found_end_define_fname:
|
||||
while (*src != '\0') {
|
||||
idx = 0;
|
||||
if (*src == '~') {
|
||||
char *home = wgethomedir();
|
||||
const char *home = wgethomedir();
|
||||
while (*home != '\0') {
|
||||
if (idx < sizeof(buffer) - 2)
|
||||
buffer[idx++] = *home;
|
||||
|
||||
@@ -279,7 +279,8 @@ WParserMacro *menu_parser_find_macro(WMenuParser parser, const char *name)
|
||||
continue;
|
||||
|
||||
return macro;
|
||||
check_next_macro: ;
|
||||
check_next_macro:
|
||||
;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
+39
-14
@@ -1695,6 +1695,7 @@ Bool WMWritePropListToFile(WMPropList * plist, const char *path)
|
||||
if (fprintf(theFile, "%s\n", desc) != strlen(desc) + 1) {
|
||||
werror(_("writing to file: %s failed"), thePath);
|
||||
wfree(desc);
|
||||
fclose(theFile);
|
||||
goto failure;
|
||||
}
|
||||
|
||||
@@ -1731,23 +1732,36 @@ Bool WMWritePropListToFile(WMPropList * plist, const char *path)
|
||||
* file, and the last component is stripped off. the rest is the
|
||||
* the hierarchy to be created.
|
||||
*
|
||||
* refuses to create anything outside $WMAKER_USER_ROOT
|
||||
* refuses to create anything outside $WMAKER_USER_ROOT/Defaults or $WMAKER_USER_ROOT/Library
|
||||
*
|
||||
* returns 1 on success, 0 on failure
|
||||
*/
|
||||
int wmkdirhier(const char *path)
|
||||
{
|
||||
const char *t;
|
||||
const char *libpath;
|
||||
char *udefpath;
|
||||
int cmp;
|
||||
char *thePath = NULL, buf[1024];
|
||||
size_t p, plen;
|
||||
struct stat st;
|
||||
|
||||
/* Only create directories under $WMAKER_USER_ROOT */
|
||||
if ((t = wusergnusteppath()) == NULL)
|
||||
return 0;
|
||||
if (strncmp(path, t, strlen(t)) != 0)
|
||||
/* Only create directories under $WMAKER_USER_ROOT/Defaults or $WMAKER_USER_ROOT/Library */
|
||||
libpath = wuserdatapath();
|
||||
if (strncmp(path, libpath, strlen(libpath)) == 0)
|
||||
if (path[strlen(libpath)] == '/')
|
||||
goto path_in_valid_tree;
|
||||
|
||||
udefpath = wdefaultspathfordomain("");
|
||||
cmp = strncmp(path, udefpath, strlen(udefpath));
|
||||
wfree(udefpath);
|
||||
if (cmp == 0)
|
||||
/* Note: by side effect, 'udefpath' already contains a final '/' */
|
||||
goto path_in_valid_tree;
|
||||
|
||||
/* If we reach this point, the path is outside the allowed tree */
|
||||
return 0;
|
||||
|
||||
path_in_valid_tree:
|
||||
thePath = wstrdup(path);
|
||||
/* Strip the trailing component if it is a file */
|
||||
p = strlen(thePath);
|
||||
@@ -1770,7 +1784,6 @@ int wmkdirhier(const char *path)
|
||||
}
|
||||
|
||||
memset(buf, 0, sizeof(buf));
|
||||
strncpy(buf, t, sizeof(buf) - 1);
|
||||
p = strlen(buf);
|
||||
plen = strlen(thePath);
|
||||
|
||||
@@ -1781,7 +1794,7 @@ int wmkdirhier(const char *path)
|
||||
strncpy(buf, thePath, p);
|
||||
if (mkdir(buf, 0777) == -1 && errno == EEXIST &&
|
||||
stat(buf, &st) == 0 && !S_ISDIR(st.st_mode)) {
|
||||
werror(_("Could not create component %s"), buf);
|
||||
werror(_("Could not create path component %s"), buf);
|
||||
wfree(thePath);
|
||||
return 0;
|
||||
}
|
||||
@@ -1823,7 +1836,7 @@ static int wrmdirhier_fn(const char *path, const struct stat *st,
|
||||
/*
|
||||
* remove a directory hierarchy
|
||||
*
|
||||
* refuses to remove anything outside $WMAKER_USER_ROOT
|
||||
* refuses to remove anything outside $WMAKER_USER_ROOT/Defaults or $WMAKER_USER_ROOT/Library
|
||||
*
|
||||
* returns 1 on success, 0 on failure
|
||||
*
|
||||
@@ -1833,16 +1846,28 @@ static int wrmdirhier_fn(const char *path, const struct stat *st,
|
||||
*/
|
||||
int wrmdirhier(const char *path)
|
||||
{
|
||||
const char *libpath;
|
||||
char *udefpath = NULL;
|
||||
struct stat st;
|
||||
int error;
|
||||
const char *t;
|
||||
|
||||
/* Only remove directories under $WMAKER_USER_ROOT */
|
||||
if ((t = wusergnusteppath()) == NULL)
|
||||
return EPERM;
|
||||
if (strncmp(path, t, strlen(t)) != 0)
|
||||
/* Only remove directories under $WMAKER_USER_ROOT/Defaults or $WMAKER_USER_ROOT/Library */
|
||||
libpath = wuserdatapath();
|
||||
if (strncmp(path, libpath, strlen(libpath)) == 0)
|
||||
if (path[strlen(libpath)] == '/')
|
||||
goto path_in_valid_tree;
|
||||
|
||||
udefpath = wdefaultspathfordomain("");
|
||||
if (strncmp(path, udefpath, strlen(udefpath)) == 0)
|
||||
/* Note: by side effect, 'udefpath' already contains a final '/' */
|
||||
goto path_in_valid_tree;
|
||||
|
||||
wfree(udefpath);
|
||||
return EPERM;
|
||||
|
||||
path_in_valid_tree:
|
||||
wfree(udefpath);
|
||||
|
||||
/* Shortcut if it doesn't exist to begin with */
|
||||
if (stat(path, &st) == -1)
|
||||
return ENOENT;
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
#define MAX_PROPERTY_SIZE 8*1024
|
||||
|
||||
char *WMSelectionOwnerDidChangeNotification = "WMSelectionOwnerDidChange";
|
||||
const char *WMSelectionOwnerDidChangeNotification = "WMSelectionOwnerDidChange";
|
||||
|
||||
typedef struct SelectionHandler {
|
||||
WMView *view;
|
||||
|
||||
+5
-7
@@ -204,7 +204,7 @@ char *wstrndup(const char *str, size_t len)
|
||||
char *wstrconcat(const char *str1, const char *str2)
|
||||
{
|
||||
char *str;
|
||||
size_t slen;
|
||||
size_t slen, slen1;
|
||||
|
||||
if (!str1 && str2)
|
||||
return wstrdup(str2);
|
||||
@@ -213,13 +213,11 @@ char *wstrconcat(const char *str1, const char *str2)
|
||||
else if (!str1 && !str2)
|
||||
return NULL;
|
||||
|
||||
slen = strlen(str1) + strlen(str2) + 1;
|
||||
slen1 = strlen(str1);
|
||||
slen = slen1 + strlen(str2) + 1;
|
||||
str = wmalloc(slen);
|
||||
if (wstrlcpy(str, str1, slen) >= slen ||
|
||||
wstrlcat(str, str2, slen) >= slen) {
|
||||
wfree(str);
|
||||
return NULL;
|
||||
}
|
||||
strcpy(str, str1);
|
||||
strcpy(str + slen1, str2);
|
||||
|
||||
return str;
|
||||
}
|
||||
|
||||
+21
-20
@@ -40,29 +40,25 @@ char *WMUserDefaultsDidChangeNotification = "WMUserDefaultsDidChangeNotification
|
||||
|
||||
static void synchronizeUserDefaults(void *foo);
|
||||
|
||||
#define DEFAULTS_DIR "/Defaults"
|
||||
#ifndef HAVE_INOTIFY
|
||||
/* Check defaults database for changes every this many milliseconds */
|
||||
/* XXX: this is shared with src/ stuff, put it in some common header */
|
||||
#define UD_SYNC_INTERVAL 2000
|
||||
#endif
|
||||
|
||||
const char *wusergnusteppath()
|
||||
const char *wusergnusteppath(void)
|
||||
{
|
||||
static const char subdir[] = "/GNUstep";
|
||||
static const char subdir[] = "/" GSUSER_SUBDIR;
|
||||
static char *path = NULL;
|
||||
char *gspath, *h;
|
||||
char *gspath;
|
||||
const char *h;
|
||||
int pathlen;
|
||||
|
||||
if (path)
|
||||
/* Value have been already computed, re-use it */
|
||||
return path;
|
||||
|
||||
#ifdef HAVE_SECURE_GETENV
|
||||
gspath = secure_getenv("WMAKER_USER_ROOT");
|
||||
#else
|
||||
gspath = getenv("WMAKER_USER_ROOT");
|
||||
#endif
|
||||
gspath = GETENV("WMAKER_USER_ROOT");
|
||||
if (gspath) {
|
||||
gspath = wexpandpath(gspath);
|
||||
if (gspath) {
|
||||
@@ -84,6 +80,19 @@ const char *wusergnusteppath()
|
||||
return path;
|
||||
}
|
||||
|
||||
const char *wuserdatapath(void)
|
||||
{
|
||||
static char *path = NULL;
|
||||
|
||||
if (path)
|
||||
/* Value have been already computed, re-use it */
|
||||
return path;
|
||||
|
||||
path = wstrconcat(wusergnusteppath(), "/" USERDATA_SUBDIR);
|
||||
|
||||
return path;
|
||||
}
|
||||
|
||||
char *wdefaultspathfordomain(const char *domain)
|
||||
{
|
||||
char *path;
|
||||
@@ -91,12 +100,11 @@ char *wdefaultspathfordomain(const char *domain)
|
||||
size_t slen;
|
||||
|
||||
gspath = wusergnusteppath();
|
||||
slen = strlen(gspath) + strlen(DEFAULTS_DIR) + strlen(domain) + 4;
|
||||
slen = strlen(gspath) + strlen("/" DEFAULTS_SUBDIR "/") + strlen(domain) + 1;
|
||||
path = wmalloc(slen);
|
||||
|
||||
strcpy(path, gspath);
|
||||
strcat(path, DEFAULTS_DIR);
|
||||
strcat(path, "/");
|
||||
strcat(path, "/" DEFAULTS_SUBDIR "/");
|
||||
strcat(path, domain);
|
||||
|
||||
return path;
|
||||
@@ -105,14 +113,7 @@ char *wdefaultspathfordomain(const char *domain)
|
||||
/* XXX: doesn't quite belong to *user*defaults.c */
|
||||
char *wglobaldefaultspathfordomain(const char *domain)
|
||||
{
|
||||
char *t = NULL;
|
||||
size_t len;
|
||||
|
||||
len = strlen(DEFSDATADIR) + strlen(domain) + 2;
|
||||
t = wmalloc(len);
|
||||
snprintf(t, len, "%s/%s", DEFSDATADIR, domain);
|
||||
|
||||
return t;
|
||||
return wstrconcat(PKGCONFDIR "/", domain);
|
||||
}
|
||||
|
||||
void w_save_defaults_changes(void)
|
||||
|
||||
+31
-21
@@ -9,7 +9,7 @@
|
||||
|
||||
struct W_Application WMApplication;
|
||||
|
||||
char *_WINGS_progname = NULL;
|
||||
const char *_WINGS_progname = NULL;
|
||||
|
||||
Bool W_ApplicationInitialized(void)
|
||||
{
|
||||
@@ -83,7 +83,7 @@ void WMSetResourcePath(const char *path)
|
||||
WMApplication.resourcePath = wstrdup(path);
|
||||
}
|
||||
|
||||
char *WMGetApplicationName()
|
||||
char *WMGetApplicationName(void)
|
||||
{
|
||||
return WMApplication.applicationName;
|
||||
}
|
||||
@@ -131,7 +131,9 @@ error:
|
||||
|
||||
char *WMPathForResourceOfType(const char *resource, const char *ext)
|
||||
{
|
||||
const char *gslocapps, *gssysapps, *gsuserapps;
|
||||
char *path, *appdir;
|
||||
char buffer[PATH_MAX];
|
||||
size_t slen;
|
||||
|
||||
path = appdir = NULL;
|
||||
@@ -141,11 +143,11 @@ char *WMPathForResourceOfType(const char *resource, const char *ext)
|
||||
* - resourcePath/ext
|
||||
* - dirname(argv[0])/ext
|
||||
* - WMAKER_USER_ROOT/Applications/ApplicationName.app/ext
|
||||
* - ~/GNUstep/Applications/ApplicationName.app/ext
|
||||
* - GNUSTEP_LOCAL_ROOT/Applications/ApplicationName.app/ext
|
||||
* - /usr/local/GNUstep/Applications/ApplicationName.app/ext
|
||||
* - GNUSTEP_SYSTEM_ROOT/Applications/ApplicationName.app/ext
|
||||
* - /usr/GNUstep/Applications/ApplicationName.app/ext
|
||||
* - GNUSTEP_USER_APPS/ApplicationName.app/ext
|
||||
* - GNUSTEP_LOCAL_APPS/ApplicationName.app/ext
|
||||
* - /usr/local/lib/GNUstep/Applications/ApplicationName.app/ext
|
||||
* - GNUSTEP_SYSTEM_APPS/ApplicationName.app/ext
|
||||
* - /usr/lib/GNUstep/Applications/ApplicationName.app/ext
|
||||
*/
|
||||
|
||||
if (WMApplication.resourcePath) {
|
||||
@@ -170,32 +172,40 @@ char *WMPathForResourceOfType(const char *resource, const char *ext)
|
||||
}
|
||||
}
|
||||
|
||||
slen = strlen(WMApplication.applicationName) + sizeof("Applications/.app");
|
||||
snprintf(buffer, sizeof(buffer), "Applications/%s.app", WMApplication.applicationName);
|
||||
path = checkFile(GETENV("WMAKER_USER_ROOT"), buffer, ext, resource);
|
||||
if (path)
|
||||
goto out;
|
||||
|
||||
slen = strlen(WMApplication.applicationName) + sizeof("/.app");
|
||||
appdir = wmalloc(slen);
|
||||
if (snprintf(appdir, slen, "Applications/%s.app", WMApplication.applicationName) >= slen)
|
||||
if (snprintf(appdir, slen, "/%s.app", WMApplication.applicationName) >= slen)
|
||||
goto out;
|
||||
|
||||
path = checkFile(getenv("WMAKER_USER_ROOT"), appdir, ext, resource);
|
||||
gsuserapps = GETENV("GNUSTEP_USER_APPS");
|
||||
if (!gsuserapps) {
|
||||
snprintf(buffer, sizeof(buffer), "%s/Applications", wusergnusteppath());
|
||||
gsuserapps = buffer;
|
||||
}
|
||||
path = checkFile(gsuserapps, appdir, ext, resource);
|
||||
if (path)
|
||||
goto out;
|
||||
|
||||
path = checkFile(wusergnusteppath(), appdir, ext, resource);
|
||||
gslocapps = GETENV("GNUSTEP_LOCAL_APPS");
|
||||
if (!gslocapps)
|
||||
gslocapps = "/usr/local/lib/GNUstep/Applications";
|
||||
path = checkFile(gslocapps, appdir, ext, resource);
|
||||
if (path)
|
||||
goto out;
|
||||
|
||||
path = checkFile(getenv("GNUSTEP_LOCAL_ROOT"), appdir, ext, resource);
|
||||
gssysapps = GETENV("GNUSTEP_SYSTEM_APPS");
|
||||
if (!gssysapps)
|
||||
gssysapps = "/usr/lib/GNUstep/Applications";
|
||||
path = checkFile(gssysapps, appdir, ext, resource);
|
||||
if (path)
|
||||
goto out;
|
||||
|
||||
path = checkFile("/usr/local/GNUstep", appdir, ext, resource);
|
||||
if (path)
|
||||
goto out;
|
||||
|
||||
path = checkFile(getenv("GNUSTEP_SYSTEM_ROOT"), appdir, ext, resource);
|
||||
if (path)
|
||||
goto out;
|
||||
|
||||
path = checkFile("/usr/GNUstep", appdir, ext, resource); /* falls through */
|
||||
path = checkFile("/usr/GNUstep/System/Applications", appdir, ext, resource); /* falls through */
|
||||
|
||||
out:
|
||||
if (appdir)
|
||||
|
||||
+3
-2
@@ -619,11 +619,12 @@ void WMSetBrowserHasScroller(WMBrowser * bPtr, int hasScroller)
|
||||
bPtr->flags.hasScroller = hasScroller;
|
||||
}
|
||||
|
||||
char *WMSetBrowserPath(WMBrowser * bPtr, char *path)
|
||||
const char *WMSetBrowserPath(WMBrowser * bPtr, const char *path)
|
||||
{
|
||||
int i;
|
||||
char *str;
|
||||
char *tmp, *retPtr = NULL;
|
||||
char *tmp;
|
||||
const char *retPtr = NULL;
|
||||
int item;
|
||||
WMListItem *listItem;
|
||||
|
||||
|
||||
+3
-3
@@ -51,7 +51,7 @@ static WMColor *findCloseColor(WMScreen * scr, unsigned short red, unsigned shor
|
||||
color->refCount = 1;
|
||||
color->color = xcolor;
|
||||
color->alpha = alpha;
|
||||
color->flags.exact = 1;
|
||||
color->flags.exact = 0;
|
||||
color->gc = NULL;
|
||||
|
||||
return color;
|
||||
@@ -91,7 +91,7 @@ WMColor *WMCreateRGBColor(WMScreen * scr, unsigned short red, unsigned short gre
|
||||
color = findCloseColor(scr, red, green, blue, 0xffff);
|
||||
}
|
||||
if (!color)
|
||||
color = WMBlackColor(scr);
|
||||
color = scr->black;
|
||||
|
||||
return color;
|
||||
}
|
||||
@@ -117,7 +117,7 @@ WMColor *WMCreateRGBAColor(WMScreen * scr, unsigned short red, unsigned short gr
|
||||
color = findCloseColor(scr, red, green, blue, alpha);
|
||||
}
|
||||
if (!color)
|
||||
color = WMBlackColor(scr);
|
||||
color = scr->black;
|
||||
|
||||
return color;
|
||||
}
|
||||
|
||||
+15
-14
@@ -44,7 +44,7 @@
|
||||
# include <X11/extensions/shape.h>
|
||||
#endif
|
||||
|
||||
char *WMColorPanelColorChangedNotification = "WMColorPanelColorChangedNotification";
|
||||
const char *WMColorPanelColorChangedNotification = "WMColorPanelColorChangedNotification";
|
||||
|
||||
/*
|
||||
* Bitmaps for magnifying glass cursor
|
||||
@@ -394,7 +394,7 @@ static WMColorPanel *makeColorPanel(WMScreen * scrPtr, const char *name)
|
||||
panel->mode = WMWheelModeColorPanel;
|
||||
panel->lastChanged = 0;
|
||||
panel->slidersmode = WMRGBModeColorPanel;
|
||||
panel->configurationPath = wstrconcat(wusergnusteppath(), "/Library/Colors/");
|
||||
panel->configurationPath = wstrconcat(wuserdatapath(), "/Colors/");
|
||||
|
||||
/* Some General Purpose Widgets */
|
||||
panel->colorWell = WMCreateColorWell(panel->win);
|
||||
@@ -1159,11 +1159,9 @@ static void readConfiguration(W_ColorPanel * panel)
|
||||
|
||||
DIR *dPtr;
|
||||
struct dirent *dp;
|
||||
struct stat stat_buf;
|
||||
int item;
|
||||
|
||||
if (stat(panel->configurationPath, &stat_buf) != 0) {
|
||||
if (mkdir(panel->configurationPath, S_IRWXU | S_IRGRP | S_IROTH | S_IXGRP | S_IXOTH) != 0) {
|
||||
if (!wmkdirhier(panel->configurationPath)) {
|
||||
werror(_("Color Panel: Could not create directory %s needed"
|
||||
" to store configurations"), panel->configurationPath);
|
||||
WMSetPopUpButtonEnabled(panel->customPaletteMenuBtn, False);
|
||||
@@ -1173,7 +1171,6 @@ static void readConfiguration(W_ColorPanel * panel)
|
||||
_("File Error"),
|
||||
_("Could not create ColorPanel configuration directory"),
|
||||
_("OK"), NULL, NULL);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2645,7 +2642,7 @@ static void hsbTextFieldCallback(void *observerData, WMNotification * notificati
|
||||
{
|
||||
CPColor cpColor;
|
||||
int value[3];
|
||||
char tmp[4];
|
||||
char tmp[12]; /* We only 4 bytes needed, but compilers cannot know that */
|
||||
int n;
|
||||
W_ColorPanel *panel = (W_ColorPanel *) observerData;
|
||||
|
||||
@@ -3504,13 +3501,17 @@ static void convertCPColor(CPColor * color)
|
||||
old_hue = color->hsv.hue;
|
||||
RRGBtoHSV(&(color->rgb), &(color->hsv));
|
||||
|
||||
/* In black the hue is undefined, and may change by conversion
|
||||
* Same for white. */
|
||||
if (((color->rgb.red == 0) &&
|
||||
(color->rgb.green == 0) &&
|
||||
(color->rgb.blue == 0)) ||
|
||||
((color->rgb.red == 0) && (color->rgb.green == 0) && (color->rgb.blue == 255))
|
||||
)
|
||||
/*
|
||||
* For pure grey colors, the Hue is generally calculated
|
||||
* as 0, but in reality the Hue does not matter.
|
||||
*
|
||||
* But in an interactive GUI it is interresting to remember
|
||||
* the previous Hue because if user moves away from perfect
|
||||
* grey then he could be interrested in finding back his
|
||||
* previous tint
|
||||
*/
|
||||
if ((color->rgb.red == color->rgb.green) &&
|
||||
(color->rgb.red == color->rgb.blue) )
|
||||
color->hsv.hue = old_hue;
|
||||
break;
|
||||
case cpHSV:
|
||||
|
||||
+3
-3
@@ -3,7 +3,7 @@
|
||||
|
||||
#define XDND_COLOR_DATA_TYPE "application/X-color"
|
||||
|
||||
char *WMColorWellDidChangeNotification = "WMColorWellDidChangeNotification";
|
||||
const char *WMColorWellDidChangeNotification = "WMColorWellDidChangeNotification";
|
||||
|
||||
typedef struct W_ColorWell {
|
||||
W_Class widgetClass;
|
||||
@@ -173,10 +173,10 @@ WMColorWell *WMCreateColorWell(WMWidget * parent)
|
||||
|
||||
void WMSetColorWellColor(WMColorWell * cPtr, WMColor * color)
|
||||
{
|
||||
if (cPtr->color)
|
||||
if (cPtr->color && cPtr->color != color) {
|
||||
WMReleaseColor(cPtr->color);
|
||||
|
||||
cPtr->color = WMRetainColor(color);
|
||||
}
|
||||
|
||||
if (cPtr->colorView->flags.realized && cPtr->colorView->flags.mapped)
|
||||
paintColorWell(cPtr);
|
||||
|
||||
@@ -29,6 +29,12 @@
|
||||
# define _(text) (text)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SECURE_GETENV
|
||||
#define GETENV(x) secure_getenv((x))
|
||||
#else
|
||||
#define GETENV(x) getenv((x))
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* WINGS_CONFIG_H_ */
|
||||
|
||||
|
||||
+4
-4
@@ -343,7 +343,7 @@ void WMFreeFilePanel(WMFilePanel * panel)
|
||||
}
|
||||
|
||||
int
|
||||
WMRunModalFilePanelForDirectory(WMFilePanel * panel, WMWindow * owner, char *path, const char *name, char **fileTypes)
|
||||
WMRunModalFilePanelForDirectory(WMFilePanel * panel, WMWindow * owner, const char *path, const char *name, char **fileTypes)
|
||||
{
|
||||
WMScreen *scr = WMWidgetScreen(panel->win);
|
||||
|
||||
@@ -387,12 +387,12 @@ WMRunModalFilePanelForDirectory(WMFilePanel * panel, WMWindow * owner, char *pat
|
||||
return (panel->flags.canceled ? False : True);
|
||||
}
|
||||
|
||||
void WMSetFilePanelDirectory(WMFilePanel * panel, char *path)
|
||||
void WMSetFilePanelDirectory(WMFilePanel * panel, const char *path)
|
||||
{
|
||||
WMList *list;
|
||||
WMListItem *item;
|
||||
int col;
|
||||
char *rest;
|
||||
const char *rest;
|
||||
|
||||
rest = WMSetBrowserPath(panel->browser, path);
|
||||
if (strcmp(path, "/") == 0)
|
||||
@@ -761,7 +761,7 @@ static void goFloppy(WMWidget *widget, void *p_panel)
|
||||
static void goHome(WMWidget *widget, void *p_panel)
|
||||
{
|
||||
WMFilePanel *panel = p_panel;
|
||||
char *home;
|
||||
const char *home;
|
||||
|
||||
/* Parameter not used, but tell the compiler that it is ok */
|
||||
(void) widget;
|
||||
|
||||
@@ -253,6 +253,9 @@ WMFrame *WMCreateFrame(WMWidget * parent)
|
||||
|
||||
static void destroyFrame(Frame * fPtr)
|
||||
{
|
||||
if (fPtr->textColor)
|
||||
WMReleaseColor(fPtr->textColor);
|
||||
|
||||
if (fPtr->caption)
|
||||
wfree(fPtr->caption);
|
||||
|
||||
|
||||
+1
-1
@@ -945,7 +945,7 @@ void WMSetFocusToWidget(WMWidget * widget)
|
||||
|
||||
/*
|
||||
* WMRealizeWidget-
|
||||
* Realizes the widget and all it's children.
|
||||
* Realizes the widget and all its children.
|
||||
*
|
||||
*/
|
||||
void WMRealizeWidget(WMWidget * w)
|
||||
|
||||
@@ -213,3 +213,35 @@ int W_LookupString(W_View *view, XKeyPressedEvent *event, char *buffer, int bufl
|
||||
#endif
|
||||
return XLookupString(event, buffer, buflen, keysym, (XComposeStatus *) status);
|
||||
}
|
||||
|
||||
/*
|
||||
* Map a keycode to the corresponding keysym
|
||||
* To replace the deprecated X11 function XKeycodeToKeysym
|
||||
*/
|
||||
KeySym W_KeycodeToKeysym(Display *display, KeyCode keycode, int index)
|
||||
{
|
||||
static int min_kc = -1;
|
||||
static int max_kc;
|
||||
int num_syms;
|
||||
KeySym *key_syms;
|
||||
KeySym ks;
|
||||
|
||||
if (min_kc == -1) {
|
||||
(void) XDisplayKeycodes(display, &min_kc, &max_kc);
|
||||
}
|
||||
|
||||
if (keycode < min_kc || keycode > max_kc || index < 0) {
|
||||
return NoSymbol;
|
||||
}
|
||||
|
||||
key_syms = XGetKeyboardMapping(display, keycode, 1, &num_syms);
|
||||
if (index >= num_syms) {
|
||||
XFree(key_syms);
|
||||
return NoSymbol;
|
||||
}
|
||||
|
||||
ks = key_syms[index];
|
||||
XFree(key_syms);
|
||||
|
||||
return ks;
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
|
||||
#include "WINGsP.h"
|
||||
|
||||
char *WMListDidScrollNotification = "WMListDidScrollNotification";
|
||||
char *WMListSelectionDidChangeNotification = "WMListSelectionDidChangeNotification";
|
||||
const char *WMListDidScrollNotification = "WMListDidScrollNotification";
|
||||
const char *WMListSelectionDidChangeNotification = "WMListSelectionDidChangeNotification";
|
||||
|
||||
typedef struct W_List {
|
||||
W_Class widgetClass;
|
||||
|
||||
+3
-3
@@ -25,7 +25,7 @@ static void handleKeyPress(XEvent * event, void *clientData)
|
||||
|
||||
XLookupString(&event->xkey, NULL, 0, &ksym, NULL);
|
||||
|
||||
if (ksym == XK_Return && panel->defBtn) {
|
||||
if ((ksym == XK_Return || ksym == XK_KP_Enter) && panel->defBtn) {
|
||||
WMPerformButtonClick(panel->defBtn);
|
||||
} else if (ksym == XK_Escape) {
|
||||
if (panel->altBtn || panel->othBtn) {
|
||||
@@ -421,7 +421,7 @@ static void handleKeyPress2(XEvent * event, void *clientData)
|
||||
|
||||
XLookupString(&event->xkey, NULL, 0, &ksym, NULL);
|
||||
|
||||
if (ksym == XK_Return && panel->defBtn) {
|
||||
if ((ksym == XK_Return || ksym == XK_KP_Enter) && panel->defBtn) {
|
||||
WMPerformButtonClick(panel->defBtn);
|
||||
} else if (ksym == XK_Escape) {
|
||||
if (panel->altBtn) {
|
||||
@@ -709,7 +709,7 @@ static void handleKeyPress3(XEvent * event, void *clientData)
|
||||
|
||||
XLookupString(&event->xkey, NULL, 0, &ksym, NULL);
|
||||
|
||||
if (ksym == XK_Return && panel->defBtn) {
|
||||
if ((ksym == XK_Return || ksym == XK_KP_Enter) && panel->defBtn) {
|
||||
WMPerformButtonClick(panel->defBtn);
|
||||
} else if (ksym == XK_Escape) {
|
||||
if (panel->altBtn) {
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
#define AUTOSCROLL_DELAY 40
|
||||
|
||||
char *WMScrollerDidScrollNotification = "WMScrollerDidScrollNotification";
|
||||
const char *WMScrollerDidScrollNotification = "WMScrollerDidScrollNotification";
|
||||
|
||||
typedef struct W_Scroller {
|
||||
W_Class widgetClass;
|
||||
|
||||
+22
-11
@@ -215,6 +215,11 @@ static char *default_bullet[] = {
|
||||
" ooo "
|
||||
};
|
||||
|
||||
/* These id are used when sharing the selected text between applications */
|
||||
static Atom XA_Targets = None;
|
||||
static Atom XA_Format_Text = None;
|
||||
static Atom XA_Format_Compound_Text = None;
|
||||
|
||||
static void handleEvents(XEvent * event, void *data);
|
||||
static void layOutDocument(Text * tPtr);
|
||||
static void updateScrollers(Text * tPtr);
|
||||
@@ -617,7 +622,7 @@ static void paintText(Text * tPtr)
|
||||
TextBlock *tb;
|
||||
WMFont *font;
|
||||
const char *text;
|
||||
int len, y, c, s, done = False, dir /* 1 = down */ ;
|
||||
int len, y, c, s, done = False, dir; /* dir 1 = down */
|
||||
WMScreen *scr = tPtr->view->screen;
|
||||
Display *dpy = tPtr->view->screen->display;
|
||||
Window win = tPtr->view->window;
|
||||
@@ -2036,17 +2041,13 @@ static void releaseSelection(Text * tPtr)
|
||||
static WMData *requestHandler(WMView * view, Atom selection, Atom target, void *cdata, Atom * type)
|
||||
{
|
||||
Text *tPtr = view->self;
|
||||
Display *dpy = tPtr->view->screen->display;
|
||||
Atom _TARGETS;
|
||||
Atom TEXT = XInternAtom(dpy, "TEXT", False);
|
||||
Atom COMPOUND_TEXT = XInternAtom(dpy, "COMPOUND_TEXT", False);
|
||||
WMData *data = NULL;
|
||||
|
||||
/* Parameter not used, but tell the compiler that it is ok */
|
||||
(void) selection;
|
||||
(void) cdata;
|
||||
|
||||
if (target == XA_STRING || target == TEXT || target == COMPOUND_TEXT) {
|
||||
if (target == XA_STRING || target == XA_Format_Text || target == XA_Format_Compound_Text) {
|
||||
char *text = WMGetTextSelectedStream(tPtr);
|
||||
|
||||
if (text) {
|
||||
@@ -2059,14 +2060,13 @@ static WMData *requestHandler(WMView * view, Atom selection, Atom target, void *
|
||||
} else
|
||||
printf("didn't get it\n");
|
||||
|
||||
_TARGETS = XInternAtom(dpy, "TARGETS", False);
|
||||
if (target == _TARGETS) {
|
||||
if (target == XA_Targets) {
|
||||
Atom array[4];
|
||||
|
||||
array[0] = _TARGETS;
|
||||
array[0] = XA_Targets;
|
||||
array[1] = XA_STRING;
|
||||
array[2] = TEXT;
|
||||
array[3] = COMPOUND_TEXT;
|
||||
array[2] = XA_Format_Text;
|
||||
array[3] = XA_Format_Compound_Text;
|
||||
|
||||
data = WMCreateDataWithBytes(&array, sizeof(array));
|
||||
WMSetDataFormat(data, 32);
|
||||
@@ -2974,6 +2974,17 @@ WMText *WMCreateTextForDocumentType(WMWidget * parent, WMAction * parser, WMActi
|
||||
dpy = tPtr->view->screen->display;
|
||||
scr = tPtr->view->screen;
|
||||
|
||||
if (XA_Targets == None) {
|
||||
/*
|
||||
* Because the X protocol guaranties that the value will never change in
|
||||
* the lifespan of the server, we query the values only the first time a
|
||||
* widget is created
|
||||
*/
|
||||
XA_Targets = XInternAtom(dpy, "TARGETS", False);
|
||||
XA_Format_Text = XInternAtom(dpy, "TEXT", False);
|
||||
XA_Format_Compound_Text = XInternAtom(dpy, "COMPOUND_TEXT", False);
|
||||
}
|
||||
|
||||
tPtr->view->self = tPtr;
|
||||
tPtr->view->attribs.cursor = scr->textCursor;
|
||||
tPtr->view->attribFlags |= CWOverrideRedirect | CWCursor;
|
||||
|
||||
+5
-5
@@ -10,9 +10,9 @@
|
||||
#define CURSOR_BLINK_ON_DELAY 600
|
||||
#define CURSOR_BLINK_OFF_DELAY 300
|
||||
|
||||
char *WMTextDidChangeNotification = "WMTextDidChangeNotification";
|
||||
char *WMTextDidBeginEditingNotification = "WMTextDidBeginEditingNotification";
|
||||
char *WMTextDidEndEditingNotification = "WMTextDidEndEditingNotification";
|
||||
const char *WMTextDidChangeNotification = "WMTextDidChangeNotification";
|
||||
const char *WMTextDidBeginEditingNotification = "WMTextDidBeginEditingNotification";
|
||||
const char *WMTextDidEndEditingNotification = "WMTextDidEndEditingNotification";
|
||||
|
||||
typedef struct W_TextField {
|
||||
W_Class widgetClass;
|
||||
@@ -661,7 +661,7 @@ static void didResizeTextField(W_ViewDelegate * self, WMView * view)
|
||||
|
||||
tPtr->offsetWidth = WMAX((tPtr->view->size.height - WMFontHeight(tPtr->font)) / 2, 1);
|
||||
|
||||
tPtr->usableWidth = tPtr->view->size.width - 2 * tPtr->offsetWidth /*+ 2 */ ;
|
||||
tPtr->usableWidth = tPtr->view->size.width - 2 * tPtr->offsetWidth;
|
||||
}
|
||||
|
||||
static char *makeHiddenString(int length)
|
||||
@@ -942,7 +942,7 @@ static void handleTextFieldKeyPress(TextField * tPtr, XEvent * event)
|
||||
{
|
||||
char buffer[64];
|
||||
KeySym ksym;
|
||||
char *textEvent = NULL;
|
||||
const char *textEvent = NULL;
|
||||
void *data = NULL;
|
||||
int count, refresh = 0;
|
||||
int control_pressed = 0;
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "WINGsP.h"
|
||||
|
||||
void WHandleEvents()
|
||||
void WHandleEvents(void)
|
||||
{
|
||||
/* Check any expired timers */
|
||||
W_CheckTimerHandlers();
|
||||
|
||||
+3
-3
@@ -5,9 +5,9 @@
|
||||
|
||||
/* the notifications about views */
|
||||
|
||||
char *WMViewSizeDidChangeNotification = "WMViewSizeDidChangeNotification";
|
||||
char *WMViewFocusDidChangeNotification = "WMViewFocusDidChangeNotification";
|
||||
char *WMViewRealizedNotification = "WMViewRealizedNotification";
|
||||
const char *WMViewSizeDidChangeNotification = "WMViewSizeDidChangeNotification";
|
||||
const char *WMViewFocusDidChangeNotification = "WMViewFocusDidChangeNotification";
|
||||
const char *WMViewRealizedNotification = "WMViewRealizedNotification";
|
||||
|
||||
#define EVENT_MASK \
|
||||
KeyPressMask|KeyReleaseMask|ButtonPressMask|ButtonReleaseMask| \
|
||||
|
||||
@@ -446,12 +446,18 @@ static void str2rcolor(RContext * rc, const char *name, RColor * color)
|
||||
{
|
||||
XColor xcolor;
|
||||
|
||||
XParseColor(rc->dpy, rc->cmap, name, &xcolor);
|
||||
|
||||
if (XParseColor(rc->dpy, rc->cmap, name, &xcolor) != 0) {
|
||||
color->alpha = 255;
|
||||
color->red = xcolor.red >> 8;
|
||||
color->green = xcolor.green >> 8;
|
||||
color->blue = xcolor.blue >> 8;
|
||||
} else {
|
||||
/* Color Name was not found - Return white instead */
|
||||
color->alpha = 255;
|
||||
color->red = 255;
|
||||
color->green = 255;
|
||||
color->blue = 255;
|
||||
}
|
||||
}
|
||||
|
||||
static void dumpRImage(const char *path, RImage * image)
|
||||
@@ -1822,7 +1828,7 @@ static void createPanel(Panel * p)
|
||||
char *tmp;
|
||||
Bool ok = True;
|
||||
|
||||
panel->fprefix = wstrconcat(wusergnusteppath(), "/Library/WindowMaker");
|
||||
panel->fprefix = wstrconcat(wuserdatapath(), "/" PACKAGE_TARNAME);
|
||||
|
||||
if (access(panel->fprefix, F_OK) != 0) {
|
||||
if (mkdir(panel->fprefix, 0755) < 0) {
|
||||
|
||||
+14
-4
@@ -113,7 +113,15 @@ static const struct {
|
||||
/* default: */ False, OPTION_WMAKER, "OpenTransientOnOwnerWorkspace" },
|
||||
|
||||
{ N_("Wrap dock-attached icons around the screen edges."),
|
||||
/* default: */ True, OPTION_WMAKER, "WrapAppiconsInDock" }
|
||||
/* default: */ True, OPTION_WMAKER, "WrapAppiconsInDock" },
|
||||
|
||||
{ N_("Double click on titlebar maximize a window to full screen."),
|
||||
/* default: */ False, OPTION_WMAKER, "DbClickFullScreen" },
|
||||
|
||||
{ N_("Close rootmenu when mouse (left or right) is clicked outside focus."),
|
||||
/* default: */ False, OPTION_WMAKER, "CloseRootMenuByLeftOrRightMouseClick" },
|
||||
{ N_("Keep dock on primary head."),
|
||||
/* default: */ False, OPTION_WMAKER, "KeepDockOnPrimaryHead"},
|
||||
|
||||
};
|
||||
|
||||
@@ -140,15 +148,16 @@ typedef struct _Panel {
|
||||
static void changeIntTextfield(void *data, int delta)
|
||||
{
|
||||
WMTextField *textfield;
|
||||
char *text;
|
||||
char *text, buffer[12];
|
||||
int value;
|
||||
|
||||
textfield = (WMTextField *)data;
|
||||
text = WMGetTextFieldText(textfield);
|
||||
value = atoi(text);
|
||||
wfree(text);
|
||||
value += delta;
|
||||
sprintf(text, "%d", value);
|
||||
WMSetTextFieldText(textfield, text);
|
||||
sprintf(buffer, "%d", value);
|
||||
WMSetTextFieldText(textfield, buffer);
|
||||
}
|
||||
|
||||
static void downButtonCallback(WMWidget *self, void *data)
|
||||
@@ -308,6 +317,7 @@ static void storeDefaults(_Panel *panel)
|
||||
|
||||
text = WMGetTextFieldText(panel->textfield[i]);
|
||||
value = atoi(text);
|
||||
wfree(text);
|
||||
|
||||
SetIntegerForKey(value, expert_options[i].op_name);
|
||||
break;
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "WPrefs.h"
|
||||
#include <unistd.h>
|
||||
#include <fontconfig/fontconfig.h>
|
||||
#include <math.h>
|
||||
|
||||
/* workaround for older fontconfig, that doesn't define these constants */
|
||||
#ifndef FC_WEIGHT_NORMAL
|
||||
@@ -521,7 +522,7 @@ static void selectedOption(WMWidget * w, void *data)
|
||||
WMListItem *item = WMGetListItem(panel->sizeL, i);
|
||||
int distance;
|
||||
|
||||
distance = abs(size - atoi(item->text));
|
||||
distance = fabs(size - atoi(item->text));
|
||||
|
||||
if (i == 0 || distance < closest) {
|
||||
closest = distance;
|
||||
|
||||
+3
-3
@@ -195,8 +195,8 @@ static void showData(_Panel * panel)
|
||||
|
||||
if (i < 0)
|
||||
i = 0;
|
||||
else if (i > 9)
|
||||
i = 9;
|
||||
else if (i > 29)
|
||||
i = 29;
|
||||
WMSetPopUpButtonSelectedItem(panel->sizeP, i);
|
||||
|
||||
/* Mini-Previews for Icons */
|
||||
@@ -339,7 +339,7 @@ static void createPanel(Panel * p)
|
||||
panel->sizeP = WMCreatePopUpButton(panel->sizeF);
|
||||
WMResizeWidget(panel->sizeP, 80, 20);
|
||||
WMMoveWidget(panel->sizeP, 10, 19);
|
||||
for (i = 24; i <= 96; i += 8) {
|
||||
for (i = 24; i <= 256; i += 8) {
|
||||
sprintf(buf, "%ix%i", i, i);
|
||||
WMAddPopUpButtonItem(panel->sizeP, buf);
|
||||
}
|
||||
|
||||
@@ -156,6 +156,7 @@ static const struct {
|
||||
{ "WindowRelaunchKey", N_("Launch new instance of application") },
|
||||
{ "ScreenSwitchKey", N_("Switch to Next Screen/Monitor") },
|
||||
{ "RunKey", N_("Run application") },
|
||||
{ "ExitKey", N_("Exit Window Maker") },
|
||||
{ "DockRaiseLowerKey", N_("Raise/Lower Dock") },
|
||||
{ "ClipRaiseLowerKey", N_("Raise/Lower Clip") }
|
||||
#ifdef XKB_MODELOCK
|
||||
@@ -316,11 +317,8 @@ char *capture_shortcut(Display *dpy, Bool *capturing, Bool convert_case)
|
||||
if (ev.type == KeyPress && ev.xkey.keycode != 0) {
|
||||
numlock_mask = NumLockMask(dpy);
|
||||
|
||||
if (xext_xkb_supported)
|
||||
/* conditional mask check to get numeric keypad keys */
|
||||
ksym = XkbKeycodeToKeysym(dpy, ev.xkey.keycode, 0, ev.xkey.state & numlock_mask?1:0);
|
||||
else
|
||||
ksym = XKeycodeToKeysym(dpy, ev.xkey.keycode, 0);
|
||||
ksym = W_KeycodeToKeysym(dpy, ev.xkey.keycode, ev.xkey.state & numlock_mask?1:0);
|
||||
|
||||
if (!IsModifierKey(ksym)) {
|
||||
if (convert_case) {
|
||||
@@ -368,6 +366,36 @@ char *capture_shortcut(Display *dpy, Bool *capturing, Bool convert_case)
|
||||
return wstrdup(buffer);
|
||||
}
|
||||
|
||||
/*
|
||||
* check if the keystr entered is already set to another action
|
||||
* if found it returns the position in the keyOptions
|
||||
*/
|
||||
static int isKeySet(_Panel *panel, char *keystr)
|
||||
{
|
||||
int i;
|
||||
char *str;
|
||||
|
||||
for (i = 0; i < panel->actionCount; i++) {
|
||||
str = NULL;
|
||||
if (panel->shortcuts[i]) {
|
||||
str = wtrimspace(panel->shortcuts[i]);
|
||||
if (strlen(str) == 0) {
|
||||
wfree(str);
|
||||
str = NULL;
|
||||
}
|
||||
}
|
||||
if (str) {
|
||||
if (strcmp(keystr, str) == 0) {
|
||||
wfree(str);
|
||||
return i;
|
||||
}
|
||||
wfree(str);
|
||||
}
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
static void captureClick(WMWidget * w, void *data)
|
||||
{
|
||||
_Panel *panel = (_Panel *) data;
|
||||
@@ -382,8 +410,21 @@ static void captureClick(WMWidget * w, void *data)
|
||||
XGrabKeyboard(dpy, WMWidgetXID(panel->parent), True, GrabModeAsync, GrabModeAsync, CurrentTime);
|
||||
shortcut = capture_shortcut(dpy, &panel->capturing, 1);
|
||||
if (shortcut) {
|
||||
int key_idx = -1;
|
||||
int row = WMGetListSelectedItemRow(panel->actLs);
|
||||
|
||||
key_idx = isKeySet(panel, shortcut);
|
||||
if (key_idx >= 0 && (key_idx != row)) {
|
||||
char *msg;
|
||||
|
||||
msg = wstrconcat(_("Key shortcut already in use by the "), _(keyOptions[key_idx].title));
|
||||
WMRunAlertPanel(WMWidgetScreen(w), GetWindow(),
|
||||
_("Error"),
|
||||
msg,
|
||||
_("OK"), NULL, NULL);
|
||||
wfree(msg);
|
||||
wfree(shortcut);
|
||||
} else {
|
||||
WMSetTextFieldText(panel->shoT, shortcut);
|
||||
if (row >= 0) {
|
||||
if (panel->shortcuts[row])
|
||||
@@ -396,6 +437,7 @@ static void captureClick(WMWidget * w, void *data)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
panel->capturing = 0;
|
||||
WMSetButtonText(w, _("Capture"));
|
||||
WMSetLabelText(panel->instructionsL, _("Click on Capture to interactively define the shortcut key."));
|
||||
|
||||
+15
-3
@@ -10,9 +10,20 @@ wpdatadir = @wprefs_datadir@
|
||||
|
||||
wpdata_DATA = WPrefs.tiff WPrefs.xpm
|
||||
|
||||
applicationsdir = @datadir@/applications
|
||||
|
||||
applications_DATA = WPrefs.desktop
|
||||
|
||||
WPrefs.desktop: WPrefs.desktop.in
|
||||
$(AM_V_GEN)sed -e "s:#wprefs_bindir#:${wprefs_bindir}:" \
|
||||
-e "s:#wprefs_datadir#:${wprefs_datadir}:" $< > $@
|
||||
|
||||
EXTRA_DIST = $(wpdata_DATA) \
|
||||
KeyboardSettings.c \
|
||||
Themes.c
|
||||
Themes.c \
|
||||
WPrefs.desktop.in
|
||||
|
||||
DISTCLEANFILES = WPrefs.desktop
|
||||
|
||||
WPrefs_SOURCES = \
|
||||
main.c \
|
||||
@@ -45,10 +56,11 @@ WPrefs_SOURCES = \
|
||||
# KeyboardSettings.c \
|
||||
# Themes.c
|
||||
|
||||
AM_CFLAGS =
|
||||
AM_CFLAGS = @PANGO_CFLAGS@
|
||||
|
||||
AM_CPPFLAGS = -DRESOURCE_PATH=\"$(wpdatadir)\" -DWMAKER_RESOURCE_PATH=\"$(pkgdatadir)\" \
|
||||
-I$(top_srcdir)/wrlib -I$(top_srcdir)/WINGs @HEADER_SEARCH_PATH@
|
||||
-I$(top_builddir)/wrlib -I$(top_srcdir)/WINGs -I$(top_builddir)/WINGs \
|
||||
@HEADER_SEARCH_PATH@
|
||||
|
||||
WPrefs_DEPENDENCIES = $(top_builddir)/WINGs/libWINGs.la
|
||||
|
||||
|
||||
+29
-12
@@ -507,7 +507,7 @@ static void createPanel(_Panel * p)
|
||||
WMSetScrollViewContentView(sview, WMWidgetView(pad));
|
||||
|
||||
data = putNewItem(panel, pad, ExternalInfo, _("Debian Menu"));
|
||||
data->param.pipe.command = "/etc/GNUstep/Defaults/menu.hook";
|
||||
data->param.pipe.command = "/etc/" GSUSER_SUBDIR "/" DEFAULTS_SUBDIR "/menu.hook";
|
||||
|
||||
data = putNewItem(panel, pad, PipeInfo, _("RedHat Menu"));
|
||||
data->param.pipe.command = "wmconfig --output wmaker";
|
||||
@@ -518,19 +518,25 @@ static void createPanel(_Panel * p)
|
||||
data = putNewItem(panel, pad, DirectoryInfo, _("Themes"));
|
||||
data->param.directory.command = "setstyle";
|
||||
data->param.directory.directory =
|
||||
"/usr/share/WindowMaker/Themes /usr/local/share/WindowMaker/Themes $HOME/GNUstep/Library/WindowMaker/Themes";
|
||||
"/usr/share/" PACKAGE_TARNAME "/Themes"
|
||||
" /usr/local/share/" PACKAGE_TARNAME "/Themes"
|
||||
" $HOME/" GSUSER_SUBDIR "/" USERDATA_SUBDIR "/" PACKAGE_TARNAME "/Themes";
|
||||
data->param.directory.stripExt = 1;
|
||||
|
||||
data = putNewItem(panel, pad, DirectoryInfo, _("Bg Images (scale)"));
|
||||
data->param.directory.command = "wmsetbg -u -s";
|
||||
data->param.directory.directory =
|
||||
"/opt/kde2/share/wallpapers /usr/share/WindowMaker/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds";
|
||||
"/opt/kde2/share/wallpapers"
|
||||
" /usr/share/" PACKAGE_TARNAME "/Backgrounds"
|
||||
" $HOME/" GSUSER_SUBDIR "/" USERDATA_SUBDIR "/" PACKAGE_TARNAME "/Backgrounds";
|
||||
data->param.directory.stripExt = 1;
|
||||
|
||||
data = putNewItem(panel, pad, DirectoryInfo, _("Bg Images (tile)"));
|
||||
data->param.directory.command = "wmsetbg -u -t";
|
||||
data->param.directory.directory =
|
||||
"/opt/kde2/share/wallpapers /usr/share/WindowMaker/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds";
|
||||
"/opt/kde2/share/wallpapers"
|
||||
" /usr/share/" PACKAGE_TARNAME "/Backgrounds"
|
||||
" $HOME/" GSUSER_SUBDIR "/" USERDATA_SUBDIR "/" PACKAGE_TARNAME "/Backgrounds";
|
||||
data->param.directory.stripExt = 1;
|
||||
|
||||
smenu = putNewSubmenu(pad, _("Assorted XTerms"));
|
||||
@@ -619,7 +625,8 @@ static void createPanel(_Panel * p)
|
||||
WMSetLabelText(label, _("Enter the path for a file containing a menu\n"
|
||||
"or a list of directories with the programs you\n"
|
||||
"want to have listed in the menu. Ex:\n"
|
||||
"~/GNUstep/Library/WindowMaker/menu\n" "or\n" "/usr/bin ~/xbin"));
|
||||
"~/" GSUSER_SUBDIR "/" USERDATA_SUBDIR "/" PACKAGE_TARNAME "/menu\n"
|
||||
"or\n" "/usr/bin ~/xbin"));
|
||||
|
||||
WMMapSubwidgets(panel->pathF);
|
||||
|
||||
@@ -914,6 +921,11 @@ static ItemData *parseCommand(WMPropList * item)
|
||||
|
||||
data->type = ExecInfo;
|
||||
|
||||
if (parameter == NULL) {
|
||||
wfree(data);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
data->param.exec.command = wstrdup(parameter);
|
||||
if (shortcut)
|
||||
data->param.exec.shortcut = wstrdup(shortcut);
|
||||
@@ -926,6 +938,12 @@ static ItemData *parseCommand(WMPropList * item)
|
||||
* |pipe
|
||||
*/
|
||||
p = parameter;
|
||||
|
||||
if (p == NULL) {
|
||||
wfree(data);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
while (isspace(*p) && *p)
|
||||
p++;
|
||||
if (*p == '|') {
|
||||
@@ -1482,16 +1500,11 @@ static WMPropList *getDefaultMenu(_Panel * panel)
|
||||
|
||||
static void showData(_Panel * panel)
|
||||
{
|
||||
const char *gspath;
|
||||
char *menuPath, *labelText;
|
||||
char buf[1024];
|
||||
WMPropList *pmenu;
|
||||
|
||||
gspath = wusergnusteppath();
|
||||
|
||||
menuPath = wmalloc(strlen(gspath) + 32);
|
||||
strcpy(menuPath, gspath);
|
||||
strcat(menuPath, "/Defaults/WMRootMenu");
|
||||
menuPath = wdefaultspathfordomain("WMRootMenu");
|
||||
|
||||
pmenu = WMReadPropListFromFile(menuPath);
|
||||
|
||||
@@ -1502,8 +1515,12 @@ static void showData(_Panel * panel)
|
||||
|
||||
path = wexpandpath(WMGetFromPLString(pmenu));
|
||||
|
||||
if (access(path, F_OK) < 0)
|
||||
if (access(path, F_OK) < 0) {
|
||||
char *old_path = path;
|
||||
|
||||
path = wfindfile(DEF_CONFIG_PATHS, path);
|
||||
wfree(old_path);
|
||||
}
|
||||
|
||||
/* TODO: if needed, concatenate locale suffix to path.
|
||||
See getLocalizedMenuFile() in src/rootmenu.c. */
|
||||
|
||||
@@ -381,10 +381,7 @@ static void fillModifierPopUp(WMPopUpButton * pop)
|
||||
if (mapping->modifiermap[idx] != 0) {
|
||||
int l;
|
||||
for (l = 0; l < 4; l++) {
|
||||
if (xext_xkb_supported)
|
||||
ksym = XkbKeycodeToKeysym(dpy, mapping->modifiermap[idx], 0, l);
|
||||
else
|
||||
ksym = XKeycodeToKeysym(dpy, mapping->modifiermap[idx], 0);
|
||||
ksym = W_KeycodeToKeysym(dpy, mapping->modifiermap[idx], l);
|
||||
if (ksym != NoSymbol)
|
||||
break;
|
||||
}
|
||||
@@ -650,7 +647,7 @@ static void storeCommandInScript(const char *cmd, const char *line)
|
||||
umask(permissions);
|
||||
permissions = (S_IRWXU | S_IRWXG | S_IRWXO) & (~permissions);
|
||||
|
||||
path = wstrconcat(wusergnusteppath(), "/Library/WindowMaker/autostart");
|
||||
path = wstrconcat(wuserdatapath(), "/" PACKAGE_TARNAME "/autostart");
|
||||
|
||||
f = fopen(path, "rb");
|
||||
if (!f) {
|
||||
@@ -668,7 +665,7 @@ static void storeCommandInScript(const char *cmd, const char *line)
|
||||
char *tmppath;
|
||||
FILE *fo;
|
||||
|
||||
tmppath = wstrconcat(wusergnusteppath(), "/Library/WindowMaker/autostart.tmp");
|
||||
tmppath = wstrconcat(wuserdatapath(), "/" PACKAGE_TARNAME "/autostart.tmp");
|
||||
fo = fopen(tmppath, "wb");
|
||||
if (!fo) {
|
||||
werror(_("could not create temporary file %s"), tmppath);
|
||||
|
||||
+6
-6
@@ -77,11 +77,11 @@ static void showData(_Panel * panel)
|
||||
if (array)
|
||||
wwarning(_("bad value in option IconPath. Using default path list"));
|
||||
addPathToList(panel->icoL, -1, "~/pixmaps");
|
||||
addPathToList(panel->icoL, -1, "~/GNUstep/Library/Icons");
|
||||
addPathToList(panel->icoL, -1, "~/" GSUSER_SUBDIR "/" USERDATA_SUBDIR "/Icons");
|
||||
addPathToList(panel->icoL, -1, "/usr/include/X11/pixmaps");
|
||||
addPathToList(panel->icoL, -1, "/usr/local/share/WindowMaker/Icons");
|
||||
addPathToList(panel->icoL, -1, "/usr/local/share/WindowMaker/Pixmaps");
|
||||
addPathToList(panel->icoL, -1, "/usr/share/WindowMaker/Icons");
|
||||
addPathToList(panel->icoL, -1, "/usr/local/share/" PACKAGE_TARNAME "/Icons");
|
||||
addPathToList(panel->icoL, -1, "/usr/local/share/" PACKAGE_TARNAME "/Pixmaps");
|
||||
addPathToList(panel->icoL, -1, "/usr/share/" PACKAGE_TARNAME "/Icons");
|
||||
} else {
|
||||
for (i = 0; i < WMGetPropListItemCount(array); i++) {
|
||||
val = WMGetFromPLArray(array, i);
|
||||
@@ -94,8 +94,8 @@ static void showData(_Panel * panel)
|
||||
if (array)
|
||||
wwarning(_("bad value in option PixmapPath. Using default path list"));
|
||||
addPathToList(panel->pixL, -1, "~/pixmaps");
|
||||
addPathToList(panel->pixL, -1, "~/GNUstep/Library/WindowMaker/Pixmaps");
|
||||
addPathToList(panel->pixL, -1, "/usr/local/share/WindowMaker/Pixmaps");
|
||||
addPathToList(panel->pixL, -1, "~/" GSUSER_SUBDIR "/" USERDATA_SUBDIR "/" PACKAGE_TARNAME "/Pixmaps");
|
||||
addPathToList(panel->pixL, -1, "/usr/local/share/" PACKAGE_TARNAME "/Pixmaps");
|
||||
} else {
|
||||
for (i = 0; i < WMGetPropListItemCount(array); i++) {
|
||||
val = WMGetFromPLArray(array, i);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
|
||||
WPrefs.app is the preferences "editor" for the WindowMaker window
|
||||
manager. It can be used to set most of the preference options of WindowMaker
|
||||
and define it's applications menu. It also can change some settings
|
||||
and define its applications menu. It also can change some settings
|
||||
that do not belong to WindowMaker.
|
||||
|
||||
Although WPrefs.app is designed to be easy to use, you should read the
|
||||
@@ -16,7 +16,7 @@ of WindowMaker that are not related to configuration.
|
||||
|
||||
To run WPrefs, do not put it in your search path. Instead, run it
|
||||
with the full path, like /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
|
||||
Then, dock it's application icon. The dock will automatically detect it's
|
||||
Then, dock its application icon. The dock will automatically detect its
|
||||
icon and use it.
|
||||
|
||||
If you change configuration often, you might want to leave WPrefs
|
||||
@@ -46,7 +46,7 @@ The mouse speed configuration is saved as a call for xset in
|
||||
~/G/D/L/W/autostart. WindowMaker calls this file when it is started.
|
||||
|
||||
If you don't want or can't use the menu definition section, do not
|
||||
open it's section (or if you do open it, do not Save), or WPrefs will
|
||||
open its section (or if you do open it, do not Save), or WPrefs will
|
||||
overwrite your ~/G/D/WMRootMenu file.
|
||||
|
||||
Only options that have different values than what is found in the
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Version=1.5
|
||||
Type=Application
|
||||
Name=WPrefs
|
||||
Comment=Window Maker Preferences
|
||||
TryExec=#wprefs_bindir#/WPrefs
|
||||
Exec=WPrefs
|
||||
Icon=#wprefs_datadir#/WPrefs.xpm
|
||||
Categories=Settings;DesktopSettings;
|
||||
+1
-1
@@ -33,6 +33,7 @@
|
||||
#include <wraster.h>
|
||||
|
||||
#include <WINGs/WINGs.h>
|
||||
#include <WINGs/WINGsP.h>
|
||||
|
||||
/* Needed for HAVE_LIBINTL_H and EXTENDED_WINDOWSHORTCUT */
|
||||
#include "../src/wconfig.h"
|
||||
@@ -54,7 +55,6 @@
|
||||
/****/
|
||||
|
||||
extern char *NOptionValueChanged;
|
||||
extern Bool xext_xkb_supported;
|
||||
|
||||
typedef struct _Panel Panel;
|
||||
|
||||
|
||||
@@ -35,8 +35,6 @@
|
||||
#endif
|
||||
|
||||
char *NOptionValueChanged = "NOptionValueChanged";
|
||||
Bool xext_xkb_supported = False;
|
||||
|
||||
|
||||
#define MAX_DEATHS 64
|
||||
|
||||
@@ -157,8 +155,6 @@ int main(int argc, char **argv)
|
||||
exit(0);
|
||||
}
|
||||
|
||||
xext_xkb_supported = XkbQueryExtension(dpy, NULL, NULL, NULL, NULL, NULL);
|
||||
|
||||
WMPLSetCaseSensitive(False);
|
||||
|
||||
Initialize(scr);
|
||||
|
||||
@@ -5,7 +5,7 @@ CATALOGS = @WPREFSMOFILES@
|
||||
CLEANFILES = $(DOMAIN).pot $(CATALOGS)
|
||||
|
||||
EXTRA_DIST = bg.po ca.po cs.po de.po es.po et.po fi.po fr.po fy.po hr.po hu.po \
|
||||
it.po ja.po ko.po nl.po pt.po ru.po sk.po uk.po zh_CN.po zh_TW.po
|
||||
it.po ja.po ko.po nl.po pt.po ru.po sk.po tr.po uk.po zh_CN.po zh_TW.po
|
||||
|
||||
POTFILES = \
|
||||
$(top_srcdir)/WPrefs.app/Appearance.c \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
File Language Current Maintainer
|
||||
------------------------------------------------------------------------------
|
||||
pt.po Portuguese Eliphas Levy Theodoro <eliphas@conectiva.com.br>
|
||||
hr.po Croatian Toni Biliæ <tbilic@oliver.efos.hr>
|
||||
hr.po Croatian Toni Biliæ <tbilic@oliver.efos.hr>
|
||||
fr.po French Bastien NOCERA <hadess@writeme.com>
|
||||
Hadess <hadess@infonie.fr>
|
||||
Antoine Hulin <antoine@origan.fdn.org>
|
||||
@@ -23,6 +23,6 @@ bg.po Bulgarian Slavei Karadjov <slaff@exco.net>
|
||||
Anton Zinoviev <zinoviev@debian.org>
|
||||
sk.po Slovak Jan 'judas' Tomka <judas@linux.sk>
|
||||
et.po Estonian Ivar Smolin <okul@linux.ee>
|
||||
ca.po Catalan Ernest Adrogué <eadrogue@gmx.net>
|
||||
ca.po Catalan Ernest Adrogué <eadrogue@gmx.net>
|
||||
nl.po Dutch Alwin <translations@ziggo.nl>
|
||||
fy.po Frisian Alwin <translations@ziggo.nl>
|
||||
|
||||
+1
-1
@@ -819,7 +819,7 @@ msgstr "Clip in den Vor-/Hintergrund"
|
||||
|
||||
#: ../../WPrefs.app/KeyboardShortcuts.c:518
|
||||
msgid "Toggle keyboard language"
|
||||
msgstr "Tastatursbelegung ändern"
|
||||
msgstr "Tastaturbelegung ändern"
|
||||
|
||||
#: ../../WPrefs.app/KeyboardShortcuts.c:532
|
||||
msgid "Shortcut"
|
||||
|
||||
+1
-1
@@ -1671,7 +1671,7 @@ msgstr "Keela tiitliriba"
|
||||
msgid ""
|
||||
"Remove the titlebar of this window.\n"
|
||||
"To access the window commands menu of a window\n"
|
||||
"without it's titlebar, press Control+Esc (or the\n"
|
||||
"without its titlebar, press Control+Esc (or the\n"
|
||||
"equivalent shortcut, if you changed the default\n"
|
||||
"settings)."
|
||||
msgstr ""
|
||||
|
||||
+69
-18
@@ -380,45 +380,71 @@ msgstr ""
|
||||
"параметров и количества цветов для резервирования за\n"
|
||||
"Window Maker'ом при работе с 8bit'ным цветом (8bpp)."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:75
|
||||
msgid ""
|
||||
"Disable miniwindows (icons for miniaturized windows). For use with KDE/GNOME."
|
||||
msgstr ""
|
||||
"Запретить миниокна (иконки для минимизированных окон). Для использования с "
|
||||
"KDE/GNOME."
|
||||
#: ../../WPrefs.app/Expert.c:44
|
||||
msgid "Disable miniwindows (icons for minimized windows). For use with KDE/GNOME."
|
||||
msgstr "Запретить миниокна иконки для минимизированных окон. Для использования с KDE/GNOME."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:76
|
||||
#: ../../WPrefs.app/Expert.c:47
|
||||
msgid "Ignore decoration hints for GTK applications."
|
||||
msgstr "Игнорировать декорацию окон для GTK приложений."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:53
|
||||
msgid "Do not set non-WindowMaker specific parameters (do not use xset)."
|
||||
msgstr ""
|
||||
"Не устанавливать параметры, не относящиеся непосредственно к\n"
|
||||
"Window Maker'у (не использовать xset)."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:77
|
||||
#: ../../WPrefs.app/Expert.c:56
|
||||
msgid "Automatically save session when exiting Window Maker."
|
||||
msgstr "Автоматически сохранять сессию при выходе из Window Maker'а."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:78
|
||||
#: ../../WPrefs.app/Expert.c:59
|
||||
msgid "Use SaveUnder in window frames, icons, menus and other objects."
|
||||
msgstr "Использовать SaveUnder для окон, иконок, меню и других объектов."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:79
|
||||
msgid "Use Windoze style cycling."
|
||||
msgstr "Переключение окон в стиле Windows"
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:80
|
||||
#: ../../WPrefs.app/Expert.c:62
|
||||
msgid "Disable confirmation panel for the Kill command."
|
||||
msgstr "Запретить диалог подтверждения для команды `Убить'."
|
||||
|
||||
# awn: FIXME: что это вообще значит?
|
||||
#: ../../WPrefs.app/Expert.c:81
|
||||
msgid "Disable selection animation for selected icons."
|
||||
msgstr "Запретить анимацию выбора для выбранных иконок."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:115
|
||||
msgid "Show switch panel when cycling windows."
|
||||
msgstr "Показывать панель переключения окон."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:68
|
||||
msgid "Smooth font edges (needs restart)."
|
||||
msgstr "Cглаживание шрифтов (требуется перезагрузка)."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:80
|
||||
msgid "Show workspace title on Clip."
|
||||
msgstr "Показывать имя рабочего места на скрепке."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:83
|
||||
msgid "Highlight the icon of the application when it has the focus."
|
||||
msgstr "Подсвечивание иконок при нажатии (в фокусе)."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:91
|
||||
msgid "Maximize (snap) a window to edge or corner by dragging."
|
||||
msgstr "Прилипания окон по краям и углам."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:100
|
||||
msgid "Snapping a window to the top maximizes it to the full screen."
|
||||
msgstr "Распахнуть окно при перетаскивании к верхнему краю."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:118
|
||||
msgid "Double click on titlebar maximize a window to full screen."
|
||||
msgstr "Распахнуть окно двойным щелчком."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:121
|
||||
msgid "Close rootmenu when mouse (left or right) is clicked outside focus."
|
||||
msgstr "Закрывать меню приложений правым или левым щелчком мыши вне фокуса."
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:328
|
||||
msgid "Expert User Preferences"
|
||||
msgstr "Установки для опытного пользователя"
|
||||
|
||||
#: ../../WPrefs.app/Expert.c:117
|
||||
#: ../../WPrefs.app/Expert.c:330
|
||||
msgid ""
|
||||
"Options for people who know what they're doing...\n"
|
||||
"Also have some other misc. options."
|
||||
@@ -623,6 +649,11 @@ msgstr ""
|
||||
"Параметры обработки иконок и миниокон. Размещение иконок,\n"
|
||||
"размер иконок, в каком стиле анимировать сворачивание."
|
||||
|
||||
#: ../../WPrefs.app/Icons.c:414
|
||||
msgid "Single click activation"
|
||||
msgstr "Одинарный щелчок мыши"
|
||||
|
||||
|
||||
#: ../../WPrefs.app/imagebrowser.c:95
|
||||
msgid "View"
|
||||
msgstr ""
|
||||
@@ -1901,6 +1932,10 @@ msgstr ""
|
||||
msgid "Resist"
|
||||
msgstr "Упираться"
|
||||
|
||||
#: ../../WPrefs.app/WindowHandling.c:406
|
||||
msgid "Opaque Move/Resize"
|
||||
msgstr "Перемещ/Измен.разм."
|
||||
|
||||
#: ../../WPrefs.app/WindowHandling.c:407
|
||||
msgid "Attract"
|
||||
msgstr "Притягиваться"
|
||||
@@ -1923,6 +1958,22 @@ msgstr ""
|
||||
"Как обращаться с окнами. Начальное расположение окон.\n"
|
||||
"Сопротивляемость границ. Сплошное/каркасное перемещение, и т.п."
|
||||
|
||||
#: ../../WPrefs.app/WindowHandling.c:474
|
||||
msgid "by keyboard"
|
||||
msgstr "c помощ.клав."
|
||||
|
||||
#: ../../WPrefs.app/WindowHandling.c:490
|
||||
msgid "...do not cover:"
|
||||
msgstr "не перекрывать:"
|
||||
|
||||
#: ../../WPrefs.app/WindowHandling.c:497
|
||||
msgid "Icons"
|
||||
msgstr "Иконок"
|
||||
|
||||
#: ../../WPrefs.app/WindowHandling.c:502
|
||||
msgid "The dock"
|
||||
msgstr "Дока"
|
||||
|
||||
#: ../../WPrefs.app/Workspace.c:176
|
||||
msgid "Workspace Navigation"
|
||||
msgstr "Навигация по рабочим пространствам"
|
||||
|
||||
+2627
File diff suppressed because it is too large
Load Diff
@@ -171,10 +171,7 @@ static void x_reset_modifier_mapping(Display * display)
|
||||
KeySym sym;
|
||||
|
||||
if (code) {
|
||||
if (xext_xkb_supported)
|
||||
sym = XkbKeycodeToKeysym(display, code, 0, column);
|
||||
else
|
||||
sym = XKeycodeToKeysym(display, code, column);
|
||||
sym = W_KeycodeToKeysym(display, code, column);
|
||||
} else {
|
||||
sym = NoSymbol;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
defsdatadir = $(pkgdatadir)/Backgrounds
|
||||
bgdatadir = $(pkgdatadir)/Backgrounds
|
||||
|
||||
defsdata_DATA = BlueImage.jpeg
|
||||
bgdata_DATA = BlueImage.jpeg
|
||||
|
||||
EXTRA_DIST = $(defsdata_DATA)
|
||||
EXTRA_DIST = $(bgdata_DATA)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
defsdata_DATA = WMRootMenu WMWindowAttributes WindowMaker WMState WMGLOBAL
|
||||
pkgconf_DATA = WMRootMenu WMWindowAttributes WindowMaker WMState WMGLOBAL
|
||||
|
||||
wpexecbindir = @wprefs_bindir@
|
||||
|
||||
|
||||
@@ -106,6 +106,7 @@
|
||||
SwitchPanelOnlyOpen = NO;
|
||||
MiniPreviewSize = 128;
|
||||
IgnoreGtkHints = NO;
|
||||
KeepDockOnPrimaryHead = NO;
|
||||
MenuStyle = normal;
|
||||
WidgetColor = (solid, gray);
|
||||
WorkspaceSpecificBack = ();
|
||||
@@ -231,6 +232,7 @@
|
||||
WindowRelaunchKey = None;
|
||||
ScreenSwitchKey = None;
|
||||
RunKey = None;
|
||||
ExitKey = None;
|
||||
NormalCursor = (builtin, left_ptr);
|
||||
ArrowCursor = (builtin, top_left_arrow);
|
||||
MoveCursor = (builtin, fleur);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
defsdatadir = $(pkgdatadir)/IconSets
|
||||
iconsetdatadir = $(pkgdatadir)/IconSets
|
||||
|
||||
defsdata_DATA = Default.iconset
|
||||
iconsetdata_DATA = Default.iconset
|
||||
|
||||
EXTRA_DIST =
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
|
||||
defsdatadir = $(pkgdatadir)/Icons
|
||||
icondatadir = $(pkgdatadir)/Icons
|
||||
|
||||
|
||||
defsdata_DATA = \
|
||||
icondata_DATA = \
|
||||
BitchX.tiff\
|
||||
BitchX.xpm\
|
||||
clip.tiff\
|
||||
@@ -74,5 +74,5 @@ defsdata_DATA = \
|
||||
xv.xpm
|
||||
|
||||
|
||||
EXTRA_DIST = $(defsdata_DATA)
|
||||
EXTRA_DIST = $(icondata_DATA)
|
||||
|
||||
|
||||
@@ -74,7 +74,10 @@ dist_prefsdata_DATA =\
|
||||
|
||||
nodist_prefsdata_DATA = $(GENERATED_MENUS)
|
||||
|
||||
EXTRA_DIST = $(addsuffix .in, $(GENERATED_MENUS))
|
||||
xsessionsdir = @datadir@/xsessions
|
||||
xsessions_DATA = wmaker.desktop
|
||||
|
||||
EXTRA_DIST = $(addsuffix .in, $(GENERATED_MENUS)) wmaker.desktop
|
||||
|
||||
CLEANFILES = $(GENERATED_MENUS)
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
|
||||
defsdatadir = $(pkgdatadir)/Pixmaps
|
||||
pixmapdatadir = $(pkgdatadir)/Pixmaps
|
||||
|
||||
defsdata_DATA = tile.tiff \
|
||||
pixmapdata_DATA = tile.tiff \
|
||||
tile.xpm \
|
||||
swtile.png \
|
||||
swback.png \
|
||||
swback2.png
|
||||
|
||||
EXTRA_DIST = $(defsdata_DATA)
|
||||
EXTRA_DIST = $(pixmapdata_DATA)
|
||||
|
||||
+3
-3
@@ -36,7 +36,7 @@ menu.ja Japanese MANOME Tomonori <manome@itlb.te.noda.sut.ac.jp>
|
||||
ABE Shige <sabe@ibm.net>
|
||||
menu.pt Portuguese Alfredo K. Kojima <kojima@inf.ufrgs.br>
|
||||
menu.de German Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
|
||||
menu.cz Czech David ©auer <xsauer@hwlab.felk.cvut.cz>
|
||||
menu.cz Czech David ©auer <xsauer@hwlab.felk.cvut.cz>
|
||||
menu.ko Korean Chae-Yong Chong <cychong@metro.telecom.samsung.co.kr>
|
||||
Byeong-Chan Kim <redhands@linux.sarang.net>
|
||||
menu.gl Galician Xose Vazquez <xose@arrakis.es>
|
||||
@@ -44,7 +44,7 @@ menu.fr French ObiTuarY <obituary@freshmeat.net>
|
||||
menu.it Italian Roberto Checozzo <croberto@aerre.it>
|
||||
menu.ru Russian August S.Sigov <freedomain@actor.ru>
|
||||
menu.es Spanish Rodrigo Hornos Prados <tnetrhp@ctv.es>
|
||||
José Luis Rivas López <jrivas@ares.ipf.uvigo.es>
|
||||
José Luis Rivas López <jrivas@ares.ipf.uvigo.es>
|
||||
menu.he Hebrew Please send me your name/email if you wrote this
|
||||
We unfortunately lost that info :(
|
||||
menu.tr Turkish F. Kagan Gurkaynak <kgf@wpi.edu>
|
||||
@@ -56,7 +56,7 @@ menu.dk Danish John M. Lockard <jlockard@math.lsa.umich.edu>
|
||||
Jacob Sparre Andersen <sparre@cats.nbi.dk>
|
||||
menu.sl Slovene Alen Salamun <snowman@hal9000.medinet.si>
|
||||
menu.hu Hungarian Csanaki Csaba <prew@mail.matav.hu>
|
||||
menu.ca Català Carles Amig<F3> dj_fr3nd@hotmail.com
|
||||
menu.ca Català Carles Amig<F3> dj_fr3nd@hotmail.com
|
||||
menu.zh_TW.Big5 Chinese Li Wei Jih <lwj83@cs.ccu.edu.tw>
|
||||
menu.zh_CN Chinese Wang Jian <wangjian2@asiainfo.com>
|
||||
menu.pl Polish Maciej Friedel <tytus@tytus.itma.pwr.wroc.pl>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
prefsdatadir = $(pkgdatadir)/Styles
|
||||
styledatadir = $(pkgdatadir)/Styles
|
||||
|
||||
prefsdata_DATA =\
|
||||
styledata_DATA =\
|
||||
Adwaita.style\
|
||||
Autumn.style\
|
||||
Black.style\
|
||||
@@ -39,6 +39,6 @@ prefsdata_DATA =\
|
||||
Traditional.style\
|
||||
VioletBlue.style
|
||||
|
||||
EXTRA_DIST = $(prefsdata_DATA)
|
||||
EXTRA_DIST = $(styledata_DATA)
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
defsdatadir = $(pkgdatadir)/Themes
|
||||
themesdatadir = $(pkgdatadir)/Themes
|
||||
|
||||
defsdata_DATA = Default.style OpenStep.style Pastel.style SteelBlueSilk.style Blau.style
|
||||
themesdata_DATA = Default.style OpenStep.style Pastel.style SteelBlueSilk.style Blau.style
|
||||
|
||||
EXTRA_DIST = $(defsdata_DATA)
|
||||
EXTRA_DIST = $(themesdata_DATA)
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
* // it in current position
|
||||
* OPEN_MENU file.menu
|
||||
* 2. Pipe menu handling.
|
||||
* // opens command and uses it's stdout to construct menu.
|
||||
* // opens command and uses its stdout to construct menu.
|
||||
* // Command's output must be a valid menu description.
|
||||
* // The space between '|' and command itself is optional.
|
||||
* OPEN_MENU | command
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@
|
||||
* // it in current position
|
||||
* OPEN_MENU file.menu
|
||||
* 2. Pipe menu handling.
|
||||
* // opens command and uses it's stdout to construct menu.
|
||||
* // opens command and uses its stdout to construct menu.
|
||||
* // Command's output must be a valid menu description.
|
||||
* // The space between '|' and command itself is optional.
|
||||
* OPEN_MENU | command
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@
|
||||
* // it in current position
|
||||
* OPEN_MENU file.menu
|
||||
* 2. Pipe menu handling.
|
||||
* // opens command and uses it's stdout to construct menu.
|
||||
* // opens command and uses its stdout to construct menu.
|
||||
* // Command's output must be a valid menu description.
|
||||
* // The space between '|' and command itself is optional.
|
||||
* OPEN_MENU | command
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
* // it in current position
|
||||
* OPEN_MENU file.menu
|
||||
* 2. Pipe menu handling.
|
||||
* // opens command and uses it's stdout to construct menu.
|
||||
* // opens command and uses its stdout to construct menu.
|
||||
* // Command's output must be a valid menu description.
|
||||
* // The space between '|' and command itself is optional.
|
||||
* OPEN_MENU | command
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@
|
||||
* // it in current position
|
||||
* OPEN_MENU file.menu
|
||||
* 2. Pipe menu handling.
|
||||
* // opens command and uses it's stdout to construct menu.
|
||||
* // opens command and uses its stdout to construct menu.
|
||||
* // Command's output must be a valid menu description.
|
||||
* // The space between '|' and command itself is optional.
|
||||
* OPEN_MENU | command
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
* // it in current position
|
||||
* OPEN_MENU file.menu
|
||||
* 2. Pipe menu handling.
|
||||
* // opens command and uses it's stdout to construct menu.
|
||||
* // opens command and uses its stdout to construct menu.
|
||||
* // Command's output must be a valid menu description.
|
||||
* // The space between '|' and command itself is optional.
|
||||
* OPEN_MENU | command
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
* // it in current position
|
||||
* OPEN_MENU file.menu
|
||||
* 2. Pipe menu handling.
|
||||
* // opens command and uses it's stdout to construct menu.
|
||||
* // opens command and uses its stdout to construct menu.
|
||||
* // Command's output must be a valid menu description.
|
||||
* // The space between '|' and command itself is optional.
|
||||
* OPEN_MENU | command
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Name=Window Maker
|
||||
Comment=This session logs you into Window Maker
|
||||
Exec=wmaker
|
||||
TryExec=wmaker
|
||||
DesktopNames=WindowMaker
|
||||
X-GDM-SessionRegisters=true
|
||||
+8
-6
@@ -2419,8 +2419,10 @@ sub process {
|
||||
|
||||
# function brace can't be on same line, except for #defines of do while,
|
||||
# or if closed on same line
|
||||
if (($line=~/$Type\s*$Ident\(.*\).*\s{/) and
|
||||
!($line=~/\#\s*define.*do\s{/) and !($line=~/}/)) {
|
||||
if ($line =~ /$Type\s*$Ident\s*$balanced_parens\s*\{/ &&
|
||||
$line !~ /\#\s*define\b.*do\s*\{/ &&
|
||||
$line !~ /}/) {
|
||||
|
||||
ERROR("OPEN_BRACE",
|
||||
"open brace '{' following function declarations go on the next line\n" . $herecurr);
|
||||
}
|
||||
@@ -2847,12 +2849,12 @@ sub process {
|
||||
|
||||
|
||||
#need space before brace following if, while, etc
|
||||
if (($line =~ /\(.*\){/ && $line !~ /\($Type\){/) ||
|
||||
$line =~ /do{/) {
|
||||
if (($line =~ /\(.*\)\{/ && $line !~ /\($Type\)\{/) ||
|
||||
$line =~ /\b(?:else|do)\{/) {
|
||||
if (ERROR("SPACING",
|
||||
"space required before the open brace '{'\n" . $herecurr) &&
|
||||
$fix) {
|
||||
$fixed[$linenr - 1] =~ s/^(\+.*(?:do|\))){/$1 {/;
|
||||
$fixed[$linenr - 1] =~ s/^(\+.*(?:do|else|\)))\{/$1 {/;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3198,7 +3200,7 @@ sub process {
|
||||
$dstat !~ /^for\s*$Constant$/ && # for (...)
|
||||
$dstat !~ /^for\s*$Constant\s+(?:$Ident|-?$Constant)$/ && # for (...) bar()
|
||||
$dstat !~ /^do\s*{/ && # do {...
|
||||
$dstat !~ /^\({/ && # ({...
|
||||
$dstat !~ /^\(\{/ && # ({...
|
||||
$ctx !~ /^.\s*#\s*define\s+TRACE_(?:SYSTEM|INCLUDE_FILE|INCLUDE_PATH)\b/)
|
||||
{
|
||||
$ctx =~ s/\n*$//;
|
||||
|
||||
+151
-88
@@ -41,7 +41,7 @@ AC_CONFIG_HEADERS([config.h])
|
||||
dnl We need the EXTRA_xxx_DEPENDENCIES keyword in Makefiles which have been
|
||||
dnl introduced in the version 1.11.3; because the 1.12 was realeased shortly
|
||||
dnl after, we just ask for it
|
||||
AM_INIT_AUTOMAKE([1.12 silent-rules])
|
||||
AM_INIT_AUTOMAKE([1.12 silent-rules -Wno-portability])
|
||||
|
||||
dnl Reference file used by 'configure' to make sure the path to sources is valid
|
||||
AC_CONFIG_SRCDIR([src/WindowMaker.h])
|
||||
@@ -78,9 +78,9 @@ WRASTER_VERSION=$WRASTER_CURRENT:$WRASTER_REVISION:$WRASTER_AGE
|
||||
AC_SUBST(WRASTER_VERSION)
|
||||
dnl
|
||||
dnl libWINGs
|
||||
WINGS_CURRENT=4
|
||||
WINGS_CURRENT=5
|
||||
WINGS_REVISION=0
|
||||
WINGS_AGE=1
|
||||
WINGS_AGE=2
|
||||
WINGS_VERSION=$WINGS_CURRENT:$WINGS_REVISION:$WINGS_AGE
|
||||
AC_SUBST(WINGS_VERSION)
|
||||
dnl
|
||||
@@ -103,6 +103,7 @@ LT_INIT
|
||||
|
||||
dnl Debugging Options
|
||||
dnl =================
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([debug],
|
||||
[AS_HELP_STRING([--enable-debug], [enable debugging options, @<:@default=no@:>@])],
|
||||
[AS_CASE(["$enableval"],
|
||||
@@ -110,6 +111,7 @@ AC_ARG_ENABLE([debug],
|
||||
[no], [debug=no],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-debug])] )],
|
||||
[debug=no])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
AS_IF([test "x$debug" = "xyes"],
|
||||
[dnl This flag should have already been detected and added, but if user
|
||||
dnl provided an explicit CFLAGS it may not be the case
|
||||
@@ -232,6 +234,20 @@ AS_IF([test "x$debug" = "xyes"],
|
||||
])
|
||||
|
||||
|
||||
dnl To upload documentation to the Website
|
||||
dnl ======================================
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_WITH([web-repo],
|
||||
[AS_HELP_STRING([--with-web-repo=PATH], [path to your git repository for the Web home page (maintainer stuff)])],
|
||||
[AS_CASE([$withval],
|
||||
[yes], [AC_MSG_ERROR([bad value '$withval' for --with-web-repo, expected a path]) ],
|
||||
[no], [WEB_REPO_ROOT=""],
|
||||
[WEB_REPO_ROOT=$withval])],
|
||||
[WEB_REPO_ROOT=""])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
WM_CHECK_WEBREPODIR
|
||||
|
||||
|
||||
dnl Support for Nested Functions by the compiler
|
||||
dnl ============================================
|
||||
WM_PROG_CC_NESTEDFUNC
|
||||
@@ -254,8 +270,8 @@ supported_gfx=""
|
||||
dnl Platform-specific Makefile setup
|
||||
dnl ================================
|
||||
AS_CASE(["$host"],
|
||||
[*-*-linux*|*-*-cygwin*|*-gnu*], [WM_OSDEP="linux" ; CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600"],
|
||||
[*-*-freebsd*|*-k*bsd-gnu*], [WM_OSDEP="bsd" ; CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600 -DFREEBSD"],
|
||||
[*-*-linux*|*-*-cygwin*|*-gnu*], [WM_OSDEP="linux" ; CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=700"],
|
||||
[*-*-freebsd*|*-k*bsd-gnu*], [WM_OSDEP="bsd" ; CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=700 -DFREEBSD"],
|
||||
[*-*-netbsd*], [WM_OSDEP="bsd" ; CPPFLAGS="$CPPFLAGS -DNETBSD"],
|
||||
[*-*-openbsd*], [WM_OSDEP="bsd" ; CPPFLAGS="$CPPFLAGS -DOPENBSD"],
|
||||
[*-*-dragonfly*], [WM_OSDEP="bsd" ; CPPFLAGS="$CPPFLAGS -DDRAGONFLYBSD"],
|
||||
@@ -284,40 +300,42 @@ _bindir=`eval echo $_bindir`
|
||||
_libdir=`eval echo $libdir`
|
||||
_libdir=`eval echo $_libdir`
|
||||
|
||||
lib_search_path='-L${libdir}'
|
||||
|
||||
inc_search_path='-I${includedir}'
|
||||
|
||||
dnl ===============================================
|
||||
dnl Specify paths to look for libraries and headers
|
||||
dnl ===============================================
|
||||
AC_ARG_WITH(libs-from, AS_HELP_STRING([--with-libs-from], [pass compiler flags to look for libraries]),
|
||||
[lib_search_path="$withval $lib_search_path"])
|
||||
[lib_search_path="$withval"], [lib_search_path='-L${libdir}'])
|
||||
|
||||
AC_ARG_WITH(incs-from, AS_HELP_STRING([--with-incs-from], [pass compiler flags to look for header files]),
|
||||
[inc_search_path="$withval $inc_search_path"])
|
||||
[inc_search_path="$withval"], [inc_search_path='-I${includedir}'])
|
||||
|
||||
|
||||
dnl Features Configuration
|
||||
dnl ======================
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([animations],
|
||||
[AS_HELP_STRING([--disable-animations], [disable permanently animations @<:@default=enabled@:>@])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-animations])])],
|
||||
[enable_animations="yes"])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
|
||||
AS_IF([test "x$enable_animations" = "xno"],
|
||||
[unsupported="$unsupported Animations"],
|
||||
[AC_DEFINE([USE_ANIMATIONS], [1], [Defined when user did not request to disable animations])
|
||||
supported_core="$supported_core Animations"])
|
||||
|
||||
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([mwm-hints],
|
||||
[AS_HELP_STRING([--disable-mwm-hints], [disable support for Motif WM hints @<:@default=enabled@:>@])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-mwm-hints])])],
|
||||
[enable_mwm_hints="yes"])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
|
||||
AS_IF([test "x$enable_mwm_hints" = "xno"],
|
||||
[unsupported="$unsupported MWMHints"],
|
||||
[AC_DEFINE([USE_MWM_HINTS], [1], [Defined when used did not request to disable Motif WM hints])
|
||||
@@ -327,6 +345,7 @@ AM_CONDITIONAL([USE_MWM_HINTS], [test "x$enable_mwm_hints" != "xno"])
|
||||
|
||||
dnl Boehm GC
|
||||
dnl ========
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([boehm-gc],
|
||||
[AS_HELP_STRING([--enable-boehm-gc], [use Boehm GC instead of the default libc malloc() [default=no]])],
|
||||
[AS_CASE(["$enableval"],
|
||||
@@ -334,6 +353,8 @@ AC_ARG_ENABLE([boehm-gc],
|
||||
[no], [with_boehm_gc=no],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-boehm-gc])] )],
|
||||
[with_boehm_gc=no])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
|
||||
AS_IF([test "x$with_boehm_gc" = "xyes"],
|
||||
AC_SEARCH_LIBS([GC_malloc], [gc],
|
||||
[AC_DEFINE(USE_BOEHM_GC, 1, [Define if Boehm GC is to be used])],
|
||||
@@ -342,10 +363,12 @@ AS_IF([test "x$with_boehm_gc" = "xyes"],
|
||||
|
||||
dnl LCOV
|
||||
dnl ====
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([lcov],
|
||||
[AS_HELP_STRING([--enable-lcov[=output-directory]], [enable coverage data generation using LCOV (GCC only) [default=no]])],
|
||||
[],
|
||||
[enable_lcov=no])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
|
||||
AS_IF([test "x$enable_lcov" != "xno"],
|
||||
[AX_CFLAGS_GCC_OPTION(-fprofile-arcs -ftest-coverage)
|
||||
@@ -364,7 +387,7 @@ AC_FUNC_MEMCMP
|
||||
AC_FUNC_VPRINTF
|
||||
WM_FUNC_SECURE_GETENV
|
||||
AC_CHECK_FUNCS(gethostname select poll strcasecmp strncasecmp \
|
||||
setsid mallinfo mkstemp sysconf)
|
||||
setsid mallinfo2 mkstemp sysconf)
|
||||
AC_SEARCH_LIBS([strerror], [cposix])
|
||||
|
||||
dnl nanosleep is generally available in standard libc, although not always the
|
||||
@@ -378,13 +401,15 @@ WM_FUNC_OPEN_NOFOLLOW
|
||||
|
||||
dnl Check for strlcat/strlcpy
|
||||
dnl =========================
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_WITH([libbsd],
|
||||
[AS_HELP_STRING([--without-libbsd], [do not use libbsd for strlcat and strlcpy [default=check]])],
|
||||
[AS_IF([test "x$with_libbsd" != "xno"],
|
||||
[with_libbsd=bsd]
|
||||
[with_libbsd=bsd],
|
||||
[with_libbsd=]
|
||||
)],
|
||||
[with_libbsd=bsd])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
|
||||
tmp_libs=$LIBS
|
||||
AC_SEARCH_LIBS([strlcat],[$with_libbsd],
|
||||
@@ -459,6 +484,7 @@ dnl that the gettext environment works
|
||||
WM_I18N_LANGUAGES
|
||||
WM_I18N_XGETTEXT
|
||||
WM_I18N_MENUTEXTDOMAIN
|
||||
WM_LIBRARY_CONSTRUCTORS
|
||||
|
||||
dnl ===========================================
|
||||
dnl Stuff that uses X
|
||||
@@ -468,7 +494,7 @@ AC_PATH_XTRA
|
||||
|
||||
AS_IF([test "x$no_x" = "xyes"],
|
||||
[AC_MSG_ERROR([The path for the X11 files not found!
|
||||
Make sure you have X and it's headers and libraries (the -devel packages
|
||||
Make sure you have X and its headers and libraries (the -devel packages
|
||||
in Linux) installed.])])
|
||||
|
||||
X_LIBRARY_PATH=$x_libraries
|
||||
@@ -507,24 +533,30 @@ AC_CHECK_LIB([X11], [XConvertCase],
|
||||
|
||||
dnl XKB keyboard language status
|
||||
dnl ============================
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([modelock],
|
||||
[AS_HELP_STRING([--enable-modelock], [XKB keyboard language status support])],
|
||||
[AS_CASE([$enableval],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value '$enableval' for --enable-modelock])])],
|
||||
[enable_modelock=no])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
|
||||
AS_IF([test "x$enable_modelock" = "xyes"],
|
||||
[AC_DEFINE([XKB_MODELOCK], [1], [whether XKB language MODELOCK should be enabled]) ])
|
||||
|
||||
|
||||
dnl XDND Drag-nd-Drop support
|
||||
dnl =========================
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([xdnd],
|
||||
[AS_HELP_STRING([--disable-xdnd], [disable support for Drag-and-Drop on the dock @<:@default=enabled@:>@])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --disable-xdnd]) ]) ],
|
||||
[enable_xdnd=yes])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
|
||||
AS_IF([test "x$enable_xdnd" = "xyes"],
|
||||
[supported_core="$supported_core XDnD"
|
||||
AC_DEFINE([USE_DOCK_XDND], [1], [whether Drag-and-Drop on the dock should be enabled])],
|
||||
@@ -534,37 +566,57 @@ AM_CONDITIONAL([USE_DOCK_XDND], [test "x$enable_xdnd" != "xno"])
|
||||
|
||||
dnl Support for ICCCM 2.0 Window Manager replacement
|
||||
dnl ================================================
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([wmreplace],
|
||||
[AS_HELP_STRING([--enable-wmreplace], [support for ICCCM window manager replacement])],
|
||||
[AS_CASE([$enableval],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value '$enableval' for --enable-wmreplace])])],
|
||||
[enable_wmreplace=no])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
|
||||
AS_IF([test "x$enable_wmreplace" = "xyes"],
|
||||
[AC_DEFINE([USE_ICCCM_WMREPLACE], [1],
|
||||
[define to support ICCCM protocol for window manager replacement])
|
||||
supported_xext="$supported_xext WMReplace"])
|
||||
|
||||
dnl XRes support
|
||||
dnl ==============
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([res],
|
||||
[AS_HELP_STRING([--disable-res], [disable resource window extension support])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-res]) ]) ],
|
||||
[enable_res=auto])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
|
||||
WM_XEXT_CHECK_XRES
|
||||
|
||||
dnl XShape support
|
||||
dnl ==============
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([shape],
|
||||
[AS_HELP_STRING([--disable-shape], [disable shaped window extension support])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-shape]) ]) ],
|
||||
[enable_shape=auto])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
|
||||
WM_XEXT_CHECK_XSHAPE
|
||||
|
||||
|
||||
dnl MIT-SHM support
|
||||
dnl ===============
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([shm],
|
||||
[AS_HELP_STRING([--disable-shm], [disable usage of MIT-SHM extension])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-shm]) ]) ],
|
||||
[enable_shm=auto])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
WM_XEXT_CHECK_XSHM
|
||||
|
||||
|
||||
@@ -576,23 +628,27 @@ WM_EXT_CHECK_XMU
|
||||
|
||||
dnl XINERAMA support
|
||||
dnl ================
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([xinerama],
|
||||
[AS_HELP_STRING([--enable-xinerama], [enable Xinerama extension support])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-xinerama]) ]) ],
|
||||
[enable_xinerama=auto])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
WM_XEXT_CHECK_XINERAMA
|
||||
|
||||
|
||||
dnl RandR support
|
||||
dnl =============
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([randr],
|
||||
[AS_HELP_STRING([--enable-randr], [enable RandR extension support (NOT recommended, buggy)])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-randr]) ]) ],
|
||||
[enable_randr=no])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
WM_XEXT_CHECK_XRANDR
|
||||
|
||||
|
||||
@@ -618,72 +674,38 @@ AC_SUBST(FCLIBS)
|
||||
|
||||
dnl Xft2 antialiased font support
|
||||
dnl =============================
|
||||
m4_define([XFT_MIN_VERSION], [2.1.0])
|
||||
PKG_CHECK_MODULES([XFT], [xft >= ]XFT_MIN_VERSION,
|
||||
[], dnl Module found, nothing to do
|
||||
[XFT_CFLAGS=failed])
|
||||
AS_IF([test "x$XFT_CFLAGS" = "xfailed"],
|
||||
[dnl pkg-config did not find it, try the legacy method
|
||||
AC_CHECK_PROG([XFTCONFIG], [xft-config], [xft-config])
|
||||
AS_IF([test -z "$XFTCONFIG"],
|
||||
[AC_MSG_ERROR([libXft2 is not installed, is too old or could not be found -- $XFT_PKG_ERRORS]) ])
|
||||
XFT_LIBS=`$XFTCONFIG --libs`
|
||||
XFT_CFLAGS=`$XFTCONFIG --cflags`
|
||||
WM_CHECK_XFT_VERSION(XFT_MIN_VERSION,
|
||||
[], dnl Version is ok, nothing to do
|
||||
[AC_MSG_ERROR([Version of libXft is too old, consider upgrading to] XFT_MIN_VERSION [or newer]) ])
|
||||
])
|
||||
AC_SUBST(XFT_CFLAGS)
|
||||
AC_SUBST(XFT_LIBS)
|
||||
|
||||
xft=yes
|
||||
XFTLIBS=""
|
||||
|
||||
if test "x$PKG_CONFIG" != x -a "`$PKG_CONFIG xft; echo $?`" = 0; then
|
||||
XFTCONFIG="$PKG_CONFIG xft"
|
||||
pkgconfig_xft=yes
|
||||
else
|
||||
AC_CHECK_PROG(XFTCONFIG, xft-config, xft-config)
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([for the Xft2 library])
|
||||
|
||||
if test "x$XFTCONFIG" != x; then
|
||||
XFTLIBS=`$XFTCONFIG --libs`
|
||||
XFTFLAGS=`$XFTCONFIG --cflags`
|
||||
AC_MSG_RESULT([found])
|
||||
else
|
||||
AC_MSG_RESULT([not found])
|
||||
echo
|
||||
echo "ERROR!!! libXft2 is not installed or could not be found."
|
||||
echo " Xft2 is a requirement for building Window Maker."
|
||||
echo " Please install it (along with fontconfig) before continuing."
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
||||
minXFT="2.1.0"
|
||||
goodxft="no"
|
||||
|
||||
dnl
|
||||
dnl The macro below will use $XFTFLAGS (defined above) to find Xft.h
|
||||
dnl
|
||||
WM_CHECK_XFT_VERSION($minXFT, goodxft=yes, goodxft=no)
|
||||
|
||||
if test "$goodxft" = no; then
|
||||
echo
|
||||
echo "ERROR!!! libXft on this system is an old version."
|
||||
echo " Please consider upgrading to at least version ${minXFT}."
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
||||
AC_SUBST(XFTFLAGS)
|
||||
AC_SUBST(XFTLIBS)
|
||||
|
||||
dnl PANGO support
|
||||
dnl =============
|
||||
pango=no
|
||||
AC_ARG_ENABLE(pango, AS_HELP_STRING([--enable-pango], [enable Pango text layout support]),
|
||||
pango=$enableval, pango=no)
|
||||
dnl The libray can be used by WINGs to get better support on UTF-8 for i18n
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([pango],
|
||||
[AS_HELP_STRING([--disable-pango], [disable Pango text layout support @<:@default=auto@:>@])],
|
||||
[AS_CASE([$enableval],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --disable-pango])] )],
|
||||
[enable_pango=auto])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
WM_CHECK_LIBPANGO
|
||||
|
||||
PANGOFLAGS=
|
||||
PANGOLIBS=
|
||||
if test "$pango" = yes; then
|
||||
PANGOLIBS=`$PKG_CONFIG pangoxft --libs`
|
||||
PANGOFLAGS=`$PKG_CONFIG pangoxft --cflags`
|
||||
if test "x$PANGOLIBS" = "x" ; then
|
||||
AC_MSG_RESULT([not found])
|
||||
else
|
||||
AC_DEFINE(USE_PANGO, 1, [Define if Pango is to be used])
|
||||
AC_MSG_RESULT([found])
|
||||
fi
|
||||
fi
|
||||
inc_search_path="$inc_search_path $PANGOFLAGS"
|
||||
AC_SUBST(PANGOLIBS)
|
||||
|
||||
dnl ==============================================
|
||||
dnl Graphic Format Libraries
|
||||
@@ -691,12 +713,14 @@ dnl ==============================================
|
||||
|
||||
dnl XPM Support
|
||||
dnl ===========
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([xpm],
|
||||
[AS_HELP_STRING([--disable-xpm], [disable use of XPM pixmaps through libXpm])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-xpm])] )],
|
||||
[enable_xpm=auto])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
WM_IMGFMT_CHECK_XPM
|
||||
|
||||
|
||||
@@ -720,67 +744,79 @@ AS_IF([test "x$LIBEXIF" != "x"],
|
||||
|
||||
dnl PNG Support
|
||||
dnl ===========
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([png],
|
||||
[AS_HELP_STRING([--disable-png], [disable PNG support through libpng])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-png])] )],
|
||||
[enable_png=auto])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
WM_IMGFMT_CHECK_PNG
|
||||
|
||||
|
||||
dnl JPEG Support
|
||||
dnl ============
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([jpeg],
|
||||
[AS_HELP_STRING([--disable-jpeg], [disable JPEG support through libjpeg])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-jpeg])] )],
|
||||
[enable_jpeg=auto])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
WM_IMGFMT_CHECK_JPEG
|
||||
|
||||
|
||||
dnl GIF Support
|
||||
dnl ============
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE(gif,
|
||||
[AS_HELP_STRING([--disable-gif], [disable GIF support through libgif or libungif])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-gif])] )],
|
||||
[enable_gif=auto])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
WM_IMGFMT_CHECK_GIF
|
||||
|
||||
|
||||
dnl TIFF Support
|
||||
dnl ============
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([tiff],
|
||||
[AS_HELP_STRING([--disable-tiff], [disable use of TIFF images through libtiff])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-tiff])] )],
|
||||
[enable_tiff=auto])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
WM_IMGFMT_CHECK_TIFF
|
||||
|
||||
|
||||
dnl WEBP Support
|
||||
dnl ============
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([webp],
|
||||
[AS_HELP_STRING([--disable-webp], [disable WEBP support through libwebp])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-webp])] )],
|
||||
[enable_webp=auto])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
WM_IMGFMT_CHECK_WEBP
|
||||
|
||||
|
||||
dnl MagicK Support
|
||||
dnl ==============
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([magick],
|
||||
[AS_HELP_STRING([--disable-magick], [disable MAGICK support through libMagickWand])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-magick])] )],
|
||||
[enable_magick=auto])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
WM_IMGFMT_CHECK_MAGICK
|
||||
|
||||
|
||||
@@ -822,6 +858,7 @@ AC_CHECK_HEADERS(stdlib.h)
|
||||
|
||||
dnl Support for PIXMAPDIR option
|
||||
dnl ============================
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_WITH([pixmapdir],
|
||||
[AS_HELP_STRING([--with-pixmapdir=PATH], [specify where pixmaps are located [DATADIR/pixmaps]])],
|
||||
[AS_CASE([$withval],
|
||||
@@ -830,6 +867,7 @@ AC_ARG_WITH([pixmapdir],
|
||||
[\$*], [], dnl Assumes it starts with a reference to $prefix or a similar variable, ok
|
||||
[AC_MSG_ERROR([bad path '$withval' for pixmapdir, expecting an absolute path])])],
|
||||
[with_pixmapdir=""])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
|
||||
AS_IF([test "x$with_pixmapdir" != "x"],
|
||||
[pixmapdir="$with_pixmapdir"],
|
||||
@@ -839,6 +877,7 @@ AC_SUBST([pixmapdir])dnl
|
||||
|
||||
dnl Support for GNUSTEP_LOCAL_ROOT, for WPrefs.app
|
||||
dnl ==============================================
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_WITH([gnustepdir],
|
||||
[AS_HELP_STRING([--with-gnustepdir=PATH], [specify the directory for GNUstep applications])],
|
||||
[AS_CASE([$withval],
|
||||
@@ -848,6 +887,7 @@ AC_ARG_WITH([gnustepdir],
|
||||
[AC_MSG_ERROR([bad path '$withval' for gnustepdir, expecting an absolute path])])],
|
||||
[dnl If no command-line option was given, we use $GNUSTEP_LOCAL_ROOT if it was set
|
||||
with_gnustepdir="$GNUSTEP_LOCAL_ROOT"])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
|
||||
AS_IF([test "x$with_gnustepdir" = "x"],
|
||||
[dnl No path specified, use default
|
||||
@@ -861,30 +901,43 @@ AS_IF([test "x$with_gnustepdir" = "x"],
|
||||
AC_SUBST([wprefs_datadir])dnl
|
||||
AC_SUBST([wprefs_bindir])dnl
|
||||
|
||||
dnl Support for DEFSDATADIR option
|
||||
dnl ============================
|
||||
AC_ARG_WITH([defsdatadir],
|
||||
[AS_HELP_STRING([--with-defsdatadir=PATH], [specify where global defaults are located [SYSCONFDIR/WindowMaker]])],
|
||||
|
||||
dnl Support for PKGCONFDIR option
|
||||
dnl =============================
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_WITH([pkgconfdir],
|
||||
[AS_HELP_STRING([--with-pkgconfdir=PATH], [specify where global defaults are located [SYSCONFDIR/WindowMaker]])],
|
||||
[AS_CASE([$withval],
|
||||
[yes|no], [AC_MSG_ERROR([bad value '$withval' for --with-defsdatadir, expected a path]) ],
|
||||
[yes|no], [AC_MSG_ERROR([bad value '$withval' for --with-pkgconfdir, expected a path]) ],
|
||||
[/*], [], dnl Absolute path, ok
|
||||
[\$*], [], dnl Assumes it starts with a reference to $prefix or a similar variable, ok
|
||||
[AC_MSG_ERROR([bad path '$withval' for defsdatadir, expecting an absolute path])])],
|
||||
[with_defsdatadir=""])
|
||||
[AC_MSG_ERROR([bad path '$withval' for pkgconfdir, expecting an absolute path])])],
|
||||
[with_pkgconfdir=""])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
|
||||
dnl Provide a message when trying to use "--with-defsdatadir" so that user can update its
|
||||
dnl arguments. Otherwise only a warning is issued, which is likely to be missed, which will
|
||||
dnl lead to perceived misbehaviour much later (and hard to debug).
|
||||
WM_DENY_ARG_WITH([defsdatadir],
|
||||
[AC_MSG_ERROR([option "--with-defsdatadir" have been replaced by "--with-pkgconfdir"])])
|
||||
|
||||
AS_IF([test "x$with_pkgconfdir" != "x"],
|
||||
[pkgconfdir="$with_pkgconfdir"],
|
||||
[pkgconfdir='${sysconfdir}/${PACKAGE_TARNAME}'])
|
||||
AC_SUBST([pkgconfdir])dnl
|
||||
|
||||
AS_IF([test "x$with_defsdatadir" != "x"],
|
||||
[defsdatadir="$with_defsdatadir"],
|
||||
[defsdatadir='${sysconfdir}/WindowMaker'])
|
||||
AC_SUBST([defsdatadir])dnl
|
||||
|
||||
dnl Enable User Defined Menu thing
|
||||
dnl ==============================
|
||||
m4_divert_push([INIT_PREPARE])dnl
|
||||
AC_ARG_ENABLE([usermenu],
|
||||
[AS_HELP_STRING([--enable-usermenu], [user defined menus for applications])],
|
||||
[AS_CASE([$enableval],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value '$enableval' for --enable-usermenu])])],
|
||||
[enable_usermenu=no])
|
||||
m4_divert_pop([INIT_PREPARE])dnl
|
||||
|
||||
AS_IF([test "x$enable_usermenu" = "xyes"],
|
||||
[AC_DEFINE([USER_MENU], [1],
|
||||
[define if you want user defined menus for applications])])
|
||||
@@ -910,7 +963,7 @@ AC_CONFIG_FILES(
|
||||
Makefile
|
||||
|
||||
dnl WRaster Library
|
||||
wrlib/Makefile
|
||||
wrlib/Makefile wrlib/po/Makefile
|
||||
wrlib/tests/Makefile
|
||||
|
||||
dnl WINGs toolkit
|
||||
@@ -955,9 +1008,10 @@ echo "Supported core features: :$supported_core"
|
||||
echo "Supported X extensions: :$supported_xext"
|
||||
echo "Supported graphic format libraries :$supported_gfx"
|
||||
echo "Unsupported features :$unsupported"
|
||||
echo "Antialiased text support in WINGs : $xft"
|
||||
echo "Pango text layout support in WINGs : $pango"
|
||||
echo "Translated languages to support :$supported_locales"
|
||||
AS_IF([test "x$WEB_REPO_ROOT" != "x"],
|
||||
[AS_ECHO(["Git repository for WMaker's Website : $WEB_REPO_ROOT"]) ])
|
||||
AS_IF([test "x$debug" = "xyes"],
|
||||
[AS_ECHO(["Debug enabled: CFLAGS = $CFLAGS"]) ])
|
||||
echo
|
||||
@@ -982,6 +1036,15 @@ AS_IF([test "x$enable_jpeg" = xno], [dnl
|
||||
AS_ECHO(["WARNING WARNING WARNING WARNING WARNING WARNING WARNING"])dnl
|
||||
])
|
||||
|
||||
AS_IF([test "x$LINGUAS" != "x"],
|
||||
[AS_IF([test "X$wm_cv_library_constructors" = "Xlegacy"],
|
||||
[AC_MSG_WARN([I18N is enabled, but library constructor attribute is not supported])
|
||||
AS_ECHO([" If you have translation problems in lib WRaster, yet you know that the translation"])
|
||||
AS_ECHO([" file (po) is valid, this could be a cause."])
|
||||
AS_ECHO([])dnl
|
||||
])dnl
|
||||
])
|
||||
|
||||
|
||||
dnl This is for Emacs. I'm lazy, I know... (nicolai)
|
||||
dnl ================================================
|
||||
|
||||
Vendored
-203
@@ -1,203 +0,0 @@
|
||||
Window Maker for DEBIAN
|
||||
=======================
|
||||
|
||||
This is Debian GNU/Linux's prepackaged version of Window Maker, yet
|
||||
another window manager, written mostly from scratch by Alfredo Kojima
|
||||
in an attempt to provide as much of the useful OpenStep functionality
|
||||
as possible under X11. It is the natural step after AfterStep.
|
||||
|
||||
There are some changes in the paths, added support for Debian menu
|
||||
system, improved user configuration (from the sysadmin point of view).
|
||||
|
||||
To run Window Maker put this at the end of ~/.xsession:
|
||||
|
||||
exec /usr/bin/wmaker
|
||||
|
||||
and remove other exec lines if present. I have done my best to
|
||||
overcome certain glitches and gotchas regarding Window Maker
|
||||
installation. /usr/bin/wmaker is a shell script that tries to
|
||||
make sure things are properly set up. Take a look at it to see what's
|
||||
going on. Please read wmaker(1).
|
||||
|
||||
|
||||
Other sources for documentation
|
||||
-------------------------------
|
||||
|
||||
* The Window Maker web site
|
||||
http://www.windowmaker.org/
|
||||
|
||||
You can find all sorts of information here. It's kept very up to
|
||||
date.
|
||||
|
||||
* The Window Maker manual written by Alfredo Kojima
|
||||
ftp://ftp.windowmaker.org/pub/wmaker/docs/
|
||||
|
||||
Please note the manual documents version 0.10.x of Window Maker, and
|
||||
many features/changes have occurred since then. To find out what has
|
||||
changed, please read file:/usr/share/doc/wmaker/NEWS.gz and
|
||||
file:/usr/share/doc/wmaker/changelog.gz. A new version of this manual is
|
||||
being developed. If you want to contribute to the manual please
|
||||
contact wm-user@windowmaker.info
|
||||
|
||||
* The Window Maker mailing list
|
||||
http://www.windowmaker.org/lists.php
|
||||
|
||||
There's a Window Maker mailing list. There you can ask questions about
|
||||
Window Maker and *related* applications (s/n is _way_ low nowadays
|
||||
due to unrelated discussions).
|
||||
|
||||
Please read the archives before asking!
|
||||
|
||||
* The Window Maker FAQ
|
||||
http://www.dpo.uab.edu/~grapeape/wmfaq.html
|
||||
|
||||
This is NOT file:/usr/share/doc/wmaker/FAQ.gz, but another document.
|
||||
It contains information about several aspects of Window Maker that are
|
||||
not covered on the FAQ included alongside with this Readme.
|
||||
|
||||
* The Window Maker Configuration documents
|
||||
ftp://ftp.windowmaker.info/pub/wmaker/docs/WindowMaker-*-Config.txt.gz
|
||||
|
||||
This documents the files found on ~/GNUstep/Defaults/. It's kept as
|
||||
up to date as possible.
|
||||
|
||||
As a sidenote, I can't package these files with wmaker because they
|
||||
don't have a copyright statement that permits redistribution.
|
||||
|
||||
Debian specific notes
|
||||
---------------------
|
||||
|
||||
Debian prepackaged version of Window Maker will search
|
||||
~/GNUstep/Library/WindowMaker and /usr/share/WindowMaker (in that order)
|
||||
for its configuration files. It will read defaults from files in
|
||||
~/GNUstep/Defaults and /etc/GNUstep/Defaults. The files in the
|
||||
WindowMaker directories have cpp-like format and are preprocessed by
|
||||
WindowMaker. It will read both WindowMaker directories searching for
|
||||
#included files.
|
||||
|
||||
WindowMaker makes a (little) difference between Pixmaps and Icons, and
|
||||
there are two configurable options for setting the paths Window Maker
|
||||
would search Pixmaps and Icons in, namely, PixmapPath and
|
||||
IconPath. The compiled in defaults are:
|
||||
|
||||
PixmapPath = (
|
||||
"~/GNUstep/Library/WindowMaker/Pixmaps",
|
||||
"~/GNUstep/Library/WindowMaker/Backgrounds",
|
||||
"/usr/local/share/WindowMaker/Pixmaps",
|
||||
"/usr/local/share/WindowMaker/Backgrounds",
|
||||
"/usr/share/WindowMaker/Backgrounds",
|
||||
"/usr/share/WindowMaker/Pixmaps",
|
||||
"/usr/local/share/pixmaps",
|
||||
"/usr/share/pixmaps",
|
||||
);
|
||||
|
||||
IconPath = (
|
||||
"~/GNUstep/Library/Icons",
|
||||
"/usr/local/share/WindowMaker/Icons",
|
||||
"/usr/share/WindowMaker/Icons",
|
||||
"/usr/local/share/icons",
|
||||
"/usr/share/icons",
|
||||
);
|
||||
|
||||
Please note that the internal default doesn't include the "Pixmaps"
|
||||
paths anymore, but you are free to modify your Window Maker file in any
|
||||
way you see fit.
|
||||
|
||||
Other Window Maker packages should put pixmaps in
|
||||
/usr/share/WindowMaker/Pixmaps and icons in
|
||||
/usr/share/WindowMaker/Icons, ONLY.
|
||||
|
||||
The structure Window Maker tries to use is like this:
|
||||
|
||||
GNUstep
|
||||
+.AppInfo
|
||||
+Defaults
|
||||
+Library
|
||||
+WindowMaker
|
||||
+ Backgrounds [*]
|
||||
+ IconSets [*]
|
||||
+ Pixmaps
|
||||
+ Sounds
|
||||
+ Styles [*]
|
||||
+ Themes [*]
|
||||
+Icons
|
||||
|
||||
Please note Icons are not considered Window Maker-only resources.
|
||||
|
||||
[*] these directories are OPEN_MENU'ed WITH the right
|
||||
application. That means you can put the *file* "Great Debian Theme" on
|
||||
Themes, it will show up in the menu, and will be opened using
|
||||
setstyle, which installs it, i.e., sets that theme as the current
|
||||
theme.
|
||||
|
||||
If you don't like the arrangement of the Appearance menu, you can put
|
||||
a file "appearance.menu" in ~/GNUstep/Library/WindowMaker, and it will
|
||||
override the default one. Look at /etc/GNUstep/Defaults/appearance.menu
|
||||
for an example.
|
||||
|
||||
Shortcuts
|
||||
---------
|
||||
|
||||
Thanks to a suggestion, there's support for Shortcuts. If you want to
|
||||
have Shift F1 launch an XTerm, you can:
|
||||
|
||||
$ cp /usr/lib/menu/xterm /etc/menu
|
||||
$ sensible-editor /etc/menu/xterm
|
||||
|
||||
add:
|
||||
|
||||
shortcut=Shift+F1
|
||||
|
||||
and run update-menus.
|
||||
|
||||
Sound Support
|
||||
-------------
|
||||
|
||||
This version of Window Maker is compiled with sound support. The sound
|
||||
server is available as a separate package, but may not be in sync with
|
||||
the current release.
|
||||
|
||||
Changing the menus (or "WPrefs segfaults when I click the cute menu icon")
|
||||
--------------------------------------------------------------------------
|
||||
|
||||
First of all, I have this urge to say that it doesn't segfault for
|
||||
me. It gives me a nice warning about being unable to use my current
|
||||
menu.
|
||||
|
||||
The problem is that wmaker now is capable of using a new type of menu,
|
||||
namely a PropList menu. It looks something like this:
|
||||
|
||||
(
|
||||
Applications,
|
||||
(Debian, OPEN_MENU, menu.hook),
|
||||
(
|
||||
WorkSpace,
|
||||
(Appearance, OPEN_MENU, appearance.menu),
|
||||
(Workspaces, WORKSPACE_MENU),
|
||||
("Arrange Icons", ARRANGE_ICONS),
|
||||
("Hide Others", HIDE_OTHERS),
|
||||
("Show All Windows", SHOW_ALL),
|
||||
("Clear Session", CLEAR_SESSION),
|
||||
("Save Session", EXEC, "")
|
||||
),
|
||||
(About..., INFO_PANEL),
|
||||
(Exit, SHUTDOWN)
|
||||
)
|
||||
|
||||
That cute looking menu button (let's call it by its name: the Menu
|
||||
Guru) in WPrefs expects to find a menu in this format. I considered
|
||||
changing the menu-method to something that spits out a menu in this
|
||||
format (it's quite easy) but there's a little tiny problem: see that
|
||||
line that reads "OPEN_MENU" in the example above... well, it happens
|
||||
that appearance.menu has to be in the old format. That means that if
|
||||
I make the menu method produce a new style menu, that menu has to be
|
||||
the root menu. And that is not a good idea (the reason is left as an
|
||||
exercise to the reader, take into account the people that aren't using
|
||||
menu.hook as the root menu in the first place).
|
||||
|
||||
Still want to use WPrefs to edit you menu? Cut and paste the example
|
||||
above into ~/GNUstep/Defaults/WMRootMenu, start WPrefs, click the Menu
|
||||
Guru (the 9th icon, left to right). Now go read the docs. That's the
|
||||
reason they are there.
|
||||
|
||||
Marcelo E. Magallon <mmagallo@debian.org>, Thr, 1 Apr 1999 18:47:30 -0600
|
||||
Vendored
-2609
File diff suppressed because it is too large
Load Diff
Vendored
-1
@@ -1 +0,0 @@
|
||||
10
|
||||
Vendored
-196
@@ -1,196 +0,0 @@
|
||||
Source: wmaker
|
||||
Section: x11
|
||||
Priority: optional
|
||||
Maintainer: Debian Window Maker Team <pkg-wmaker-devel@lists.alioth.debian.org>
|
||||
Uploaders: Andreas Metzler <ametzler@debian.org>,
|
||||
Doug Torrance <dtorrance@piedmont.edu>
|
||||
Standards-Version: 4.0.1
|
||||
Build-Depends: automake (>= 1:1.12),
|
||||
debhelper (>= 10),
|
||||
gettext,
|
||||
libfontconfig1-dev,
|
||||
libgif-dev,
|
||||
libjpeg-dev,
|
||||
libpng-dev,
|
||||
libsm-dev,
|
||||
libtiff-dev,
|
||||
libtool,
|
||||
libx11-dev,
|
||||
libxext-dev,
|
||||
libxft-dev,
|
||||
libxinerama-dev,
|
||||
libxkbfile-dev,
|
||||
libxmu-dev,
|
||||
libxpm-dev,
|
||||
libxrandr-dev,
|
||||
libxrender-dev,
|
||||
libxt-dev,
|
||||
sharutils
|
||||
Homepage: http://windowmaker.org/
|
||||
Vcs-Browser: https://anonscm.debian.org/git/pkg-wmaker/wmaker.git
|
||||
Vcs-Git: https://anonscm.debian.org/git/pkg-wmaker/wmaker.git
|
||||
|
||||
Package: wmaker
|
||||
Architecture: any
|
||||
Multi-Arch: foreign
|
||||
Depends: wmaker-common (= ${source:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends}
|
||||
Provides: x-window-manager
|
||||
Suggests: desktop-base,
|
||||
wmaker-data,
|
||||
wmaker-utils,
|
||||
x-terminal-emulator,
|
||||
x11-apps,
|
||||
xterm
|
||||
Breaks: wmaker-common (<< 0.95.8-2~)
|
||||
Replaces: wmaker-common (<< 0.95.8-2~)
|
||||
Description: NeXTSTEP-like window manager for X
|
||||
Written by Alfredo Kojima almost from scratch, resembles the NeXTStep look
|
||||
very closely, and it is now an official GNU project. Window Maker (originally
|
||||
named WindowMaker) is not overloaded with features, and it is easier to
|
||||
configure than most other window managers. Its final goal is to produce a
|
||||
window manager that doesn't require editing of configuration files.
|
||||
Window Maker is fast and doesn't require tons of memory to run.
|
||||
|
||||
Package: wmaker-common
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Depends: ${misc:Depends}
|
||||
Suggests: wmaker
|
||||
Description: Window Maker - Architecture independent files
|
||||
Written by Alfredo Kojima almost from scratch, resembles the NeXTStep look
|
||||
very closely, and it is now an official GNU project. Window Maker (originally
|
||||
named WindowMaker) is not overloaded with features, and it is easier to
|
||||
configure than most other window managers. Its final goal is to produce a
|
||||
window manager that doesn't require editing of configuration files.
|
||||
Window Maker is fast and doesn't require tons of memory to run.
|
||||
.
|
||||
This package contains the architecture independent files.
|
||||
|
||||
Package: wmaker-utils
|
||||
Architecture: any
|
||||
Multi-Arch: foreign
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Breaks: wmaker (<< 0.95.7-6)
|
||||
Replaces: wmaker (<< 0.95.7-6)
|
||||
Description: Window Maker - Utilities
|
||||
Written by Alfredo Kojima almost from scratch, resembles the NeXTStep look
|
||||
very closely, and it is now an official GNU project. Window Maker (originally
|
||||
named WindowMaker) is not overloaded with features, and it is easier to
|
||||
configure than most other window managers. Its final goal is to produce a
|
||||
window manager that doesn't require editing of configuration files.
|
||||
Window Maker is fast and doesn't require tons of memory to run.
|
||||
.
|
||||
This package contains wxcopy and wxpaste, two utilities ordinarily shipped with
|
||||
Window Maker but not depending on it or any of its libraries. These
|
||||
utilities allow users to interact with cut buffers on the command line.
|
||||
|
||||
Package: libwraster-dev
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Section: libdevel
|
||||
Depends: libc6-dev,
|
||||
libgif-dev,
|
||||
libjpeg-dev,
|
||||
libpng-dev,
|
||||
libtiff5-dev,
|
||||
libwraster6 (= ${binary:Version}),
|
||||
libx11-dev,
|
||||
libxext-dev,
|
||||
libxpm-dev,
|
||||
${misc:Depends}
|
||||
Breaks: libwraster3-dev
|
||||
Replaces: libwraster3-dev
|
||||
Description: Static libraries and headers of Window Maker rasterizer
|
||||
This library is used to manipulate images and convert them to
|
||||
a format that can be displayed through the X window system.
|
||||
Read the wraster.h header for an idea of what is available
|
||||
.
|
||||
Contains libwraster and header files, for manipulating and
|
||||
rasterizing images.
|
||||
|
||||
Package: libwraster6
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Section: libs
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: Shared libraries of Window Maker rasterizer
|
||||
This library is used to manipulate images and convert them to
|
||||
a format that can be displayed through the X window system.
|
||||
Read the wraster.h header for an idea of what is available
|
||||
|
||||
Package: libwings-dev
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Section: libdevel
|
||||
Depends: libc6-dev,
|
||||
libfontconfig1-dev,
|
||||
libwings3 (= ${binary:Version}),
|
||||
libwraster-dev,
|
||||
libwutil5 (= ${binary:Version}),
|
||||
libx11-dev,
|
||||
libxext-dev,
|
||||
libxft-dev,
|
||||
${misc:Depends}
|
||||
Description: Window Maker's own widget set
|
||||
WINGs Is Not GNUstep (WINGs) is a small widget set with the NeXTSTEP
|
||||
look and feel. Its API is inspired in OpenSTEP and its
|
||||
implementation borrows some ideas from Tk. It has a reasonable set of
|
||||
widgets, sufficient for building small applications like a CDPlayer
|
||||
or hacking something like rxvt. It is used for basic widgets in
|
||||
the WindowMaker window manager.
|
||||
|
||||
Package: libwutil5
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Section: libs
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends},
|
||||
wmaker-common (>= ${source:Version})
|
||||
Description: Window Maker's own widget set - utility library
|
||||
WINGs Is Not GNUstep (WINGs) is a small widget set with the NeXTSTEP
|
||||
look and feel. Its API is inspired in OpenSTEP and its
|
||||
implementation borrows some ideas from Tk. It has a reasonable set of
|
||||
widgets, sufficient for building small applications like a CDPlayer
|
||||
or hacking something like rxvt. It is used for basic widgets in
|
||||
the WindowMaker window manager.
|
||||
.
|
||||
This package contains the libWUtils runtime library.
|
||||
|
||||
Package: libwings3
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Section: libs
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends},
|
||||
wmaker-common (>= ${source:Version})
|
||||
Description: Window Maker's own widget set - runtime library
|
||||
WINGs Is Not GNUstep (WINGs) is a small widget set with the NeXTSTEP
|
||||
look and feel. Its API is inspired in OpenSTEP and its
|
||||
implementation borrows some ideas from Tk. It has a reasonable set of
|
||||
widgets, sufficient for building small applications like a CDPlayer
|
||||
or hacking something like rxvt. It is used for basic widgets in
|
||||
the WindowMaker window manager.
|
||||
.
|
||||
This package contains the libWINGs runtime library.
|
||||
|
||||
Package: libwmaker-dev
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Section: libdevel
|
||||
Depends: libwmaker1 (= ${binary:Version}), 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.
|
||||
|
||||
Package: libwmaker1
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Section: libs
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: Runtime library for Window Maker applications
|
||||
Window Maker is a NeXTSTEP-like window manager for X.
|
||||
.
|
||||
This package contains the libWMaker runtime library for Window Maker
|
||||
aware applications.
|
||||
Vendored
-211
@@ -1,211 +0,0 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: wmaker
|
||||
Upstream-Contact: Window Maker developers mailing list <wmaker-dev@googlegroups.com>
|
||||
Source: http://repo.or.cz/w/wmaker-crm.git
|
||||
|
||||
Files: *
|
||||
Copyright: 1991-1995 Free Software Foundation, Inc.
|
||||
1995 Spencer Kimball
|
||||
1995 Peter Mattis
|
||||
1995 Sun Microsystems, Inc.
|
||||
1996 Ben Wing
|
||||
1997 Shige Abe
|
||||
1997-2004, 2006 Alfredo Kengi Kojima <kojima@windowmaker.info>
|
||||
1998-2004, 2006 Dan Pascu
|
||||
1998 scottc
|
||||
1998 James Thompson
|
||||
1999-2000 Nwanua Elumeze
|
||||
2001-2016 Window Maker Team
|
||||
2008 Norayr Chilingaryan <chnorik@gmail.com>
|
||||
2008 Guido U. Draheim <guidod@gmx.de>
|
||||
2010-2011 Carlos R. Mafra <crmafra@gmail.com>
|
||||
2010 Tamas Tevesz <ice@extreme.hu>
|
||||
2011 Camille d'Alméras <camilledalmeras@yahoo.com>
|
||||
2012-2015 Christophe Curis
|
||||
2012 Daniel Déchelotte
|
||||
2012 Leandro Vital <leandro.vital@yahoo.com.br>
|
||||
License: GPL-2+
|
||||
|
||||
Files: m4/ax_pthread.m4
|
||||
Copyright: 2008 Steven G. Johnson <stevenj@alum.mit.edu>
|
||||
2011 Daniel Richard G. <skunk@iSKUNK.ORG>
|
||||
License: GPL-3+
|
||||
|
||||
Files: m4/ld-version-script.m4
|
||||
Copyright: 2008-2015 Free Software Foundation, Inc.
|
||||
License: FSFULLR
|
||||
|
||||
Files: util/common.h wmlib/* wrlib/*
|
||||
Copyright: 1997-2003 Alfredo Kengi Kojima <kojima@windowmaker.info>
|
||||
1998-2004 Dan Pascu
|
||||
2011 Carlos R. Mafra <crmafra@gmail.com>
|
||||
License: LGPL-2+
|
||||
|
||||
Files: WindowMaker/Icons/BitchX.tiff WindowMaker/Icons/defaultAppIcon.tiff
|
||||
WindowMaker/Icons/GNUterm.tiff WindowMaker/Icons/defaultterm.tiff
|
||||
WindowMaker/Icons/draw.tiff WindowMaker/Icons/linuxterm.tiff
|
||||
WindowMaker/Icons/mixer.tiff WindowMaker/Icons/notepad.tiff
|
||||
WindowMaker/Icons/pdf.tiff WindowMaker/Icons/ps.tiff
|
||||
WindowMaker/Icons/real.tiff WindowMaker/Icons/sgiterm.tiff
|
||||
WindowMaker/Icons/staroffice2.tiff WindowMaker/Icons/timer.tiff
|
||||
WindowMaker/Icons/wilber.tiff WindowMaker/Icons/write.tiff
|
||||
WindowMaker/Icons/xdvi.tiff WindowMaker/Icons/xv.tiff
|
||||
Copyright: 1997, Marco van Hylckama Vlieg <marco@windowmaker.info>
|
||||
License: attribution
|
||||
They may be distributed freely and/or modified as long as the original
|
||||
Author is mentioned!
|
||||
|
||||
Files: WindowMaker/Icons/GNUstepGlow.tiff WindowMaker/Icons/GNUstepGlow.xpm
|
||||
WindowMaker/Icons/Magnify.tiff WindowMaker/Icons/Magnify.xpm
|
||||
WindowMaker/Icons/Terminal.tiff WindowMaker/Icons/Terminal.xpm
|
||||
WindowMaker/Icons/TerminalGNUstep.tiff WindowMaker/Icons/TerminalGNUstep.xpm
|
||||
WindowMaker/Icons/TerminalLinux.tiff WindowMaker/Icons/TerminalLinux.xpm
|
||||
WindowMaker/Icons/Ear.png WindowMaker/Icons/Ftp.png WindowMaker/Icons/ICQ.png
|
||||
WindowMaker/Icons/Jabber.png WindowMaker/Icons/Mozilla.png
|
||||
WindowMaker/Icons/Pen.png WindowMaker/Icons/Pencil.png
|
||||
WindowMaker/Icons/Shell.png WindowMaker/Icons/Speaker.png
|
||||
WindowMaker/Icons/XChat.png
|
||||
WPrefs.app/tiff/msty1.tiff WPrefs.app/tiff/msty2.tiff WPrefs.app/tiff/msty3.tiff
|
||||
WPrefs.app/xpm/msty1.xpm WPrefs.app/xpm/msty2.xpm WPrefs.app/xpm/msty3.xpm
|
||||
WPrefs.app/WPrefs.tiff WPrefs.app/WPrefs.xpm WPrefs.app/tiff/tdel.tiff
|
||||
WPrefs.app/tiff/tedit.tiff WPrefs.app/tiff/textr.tiff WPrefs.app/tiff/tnew.tiff
|
||||
WPrefs.app/xpm/tdel.xpm WPrefs.app/xpm/tedit.xpm WPrefs.app/xpm/textr.xpm
|
||||
WPrefs.app/xpm/tnew.xpm WINGs/Resources/defaultIcon.tiff
|
||||
WINGs/Resources/Images.tiff WINGs/Resources/Images.xpm
|
||||
WINGs/Resources/defaultIcon.xpm WINGs/Resources/Images.xcf
|
||||
Copyright: 2000, Banlu Kemiyatorn
|
||||
License: WTFPL-1
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 1997, Neil A. Rubin <nar5@po.cwru.edu>
|
||||
1997, Marcelo E. Magallon <mmagallo@debian.org>
|
||||
2011, Rodolfo García Peñas (kix) <kix@kix.es>
|
||||
License: GPL-2+
|
||||
|
||||
Files: debian/debianfiles/Themes/DebianLegacy.style
|
||||
debian/debianfiles/Themes/DebianLegacy.txt
|
||||
debian/debianfiles/Themes/DebianSwirl.jpg
|
||||
Copyright: 1999 Gary Burke <gfburke@earthlink.net>
|
||||
License: GPL-1+
|
||||
|
||||
Files: WINGs/string.c
|
||||
Copyright: 1998 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
License: Expat
|
||||
|
||||
Files: wrlib/load_ppm.c
|
||||
Copyright: 1988 Jef Poskanzer
|
||||
1997-2003 Alfredo K. Kojima
|
||||
2014 Window Maker Team
|
||||
License: HPND and LGPL-2+
|
||||
|
||||
License: Expat
|
||||
Permission to use, copy, modify, and distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
License: FSFULLR
|
||||
This file is free software; the Free Software Foundation gives unlimited
|
||||
permission to copy and/or distribute it, with or without modifications, as
|
||||
long as this notice is preserved.
|
||||
|
||||
License: GPL-1+
|
||||
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 1, or (at your option)
|
||||
any later version.
|
||||
.
|
||||
On Debian systems, the complete text of version 1 of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL-1'.
|
||||
|
||||
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'.
|
||||
|
||||
License: GPL-3+
|
||||
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 3 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 program. If not, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the full text of the GNU General Public
|
||||
License version 3 can be found in the file
|
||||
`/usr/share/common-licenses/GPL-3'.
|
||||
|
||||
License: HPND
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted, provided
|
||||
that the above copyright notice appear in all copies and that both that
|
||||
copyright notice and this permission notice appear in supporting
|
||||
documentation. This software is provided "as is" without express or
|
||||
implied warranty.
|
||||
|
||||
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'.
|
||||
|
||||
License: WTFPL-1
|
||||
do What The Fuck you want to Public License
|
||||
.
|
||||
Version 1.0, March 2000
|
||||
Copyright (C) 2000 Banlu Kemiyatorn (]d).
|
||||
136 Nives 7 Jangwattana 14 Laksi Bangkok
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
.
|
||||
Ok, the purpose of this license is simple
|
||||
and you just
|
||||
.
|
||||
DO WHAT THE FUCK YOU WANT TO.
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
{
|
||||
TitleJustify = left;
|
||||
WindowTitleFont = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
MenuTitleFont = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
MenuTextFont = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
IconTitleFont = "-*-helvetica-medium-r-normal-*-8-*-*-*-*-*-*-*";
|
||||
ClipTitleFont = "-*-helvetica-bold-r-normal-*-10-*-*-*-*-*-*-*";
|
||||
HighlightColor = white;
|
||||
HighlightTextColor = black;
|
||||
ClipTitleColor = black;
|
||||
CClipTitleColor = "rgb:61/61/61";
|
||||
FTitleColor = white;
|
||||
PTitleColor = white;
|
||||
UTitleColor = black;
|
||||
FTitleBack = (hgradient, "rgb:50/5a/5e", "rgb:20/2a/2e");
|
||||
PTitleBack = (hgradient, "rgb:51/50/55", "rgb:80/80/80");
|
||||
UTitleBack = (hgradient, "rgb:c2/c0/c5", "rgb:82/80/85");
|
||||
MenuTitleColor = white;
|
||||
MenuTextColor = black;
|
||||
MenuDisabledColor = gray40;
|
||||
MenuTitleBack = (hgradient, "rgb:50/5a/5e", "rgb:20/2a/2e");
|
||||
MenuTextBack = (hgradient, "rgb:c2/c0/c5", "rgb:82/80/85");
|
||||
WorkspaceBack = (spixmap, debian.tiff, "rgb:8c/81/65");
|
||||
IconBack = (dgradient, "rgb:a6/a6/b6", "rgb:51/55/61");
|
||||
}
|
||||
-28
@@ -1,28 +0,0 @@
|
||||
{
|
||||
TitleJustify = left;
|
||||
WindowTitleFont = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
MenuTitleFont = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
MenuTextFont = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
IconTitleFont = "-*-helvetica-medium-r-normal-*-8-*-*-*-*-*-*-*";
|
||||
ClipTitleFont = "-*-helvetica-bold-r-normal-*-10-*-*-*-*-*-*-*";
|
||||
DisplayFont = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
HighlightColor = white;
|
||||
HighlightTextColor = black;
|
||||
ClipTitleColor = black;
|
||||
CClipTitleColor = "rgb:93/0d/29";
|
||||
FTitleColor = white;
|
||||
PTitleColor = white;
|
||||
UTitleColor = black;
|
||||
FTitleBack = (dgradient, "rgb:62/08/19", "rgb:85/0b/22");
|
||||
PTitleBack = (dgradient, "rgb:51/50/55", "rgb:80/80/80");
|
||||
UTitleBack = (dgradient, "rgb:8c/81/6d", "rgb:c6/b9/ae");
|
||||
MenuTitleColor = white;
|
||||
MenuTextColor = black;
|
||||
MenuDisabledColor = gray40;
|
||||
MenuTitleBack = (hgradient, "rgb:93/0d/29", "rgb:85/0b/22");
|
||||
MenuTextBack = (hgradient, "rgb:c6/b9/ae", "rgb:ff/ff/ff");
|
||||
WorkspaceBack = (spixmap,
|
||||
"/usr/share/WindowMaker/Backgrounds/DebianSwirl.jpg",
|
||||
"rgb:8c/81/65");
|
||||
IconBack = (dgradient, "rgb:8c/81/6d", "rgb:c6/b9/ae");
|
||||
}
|
||||
-20
@@ -1,20 +0,0 @@
|
||||
Begin3
|
||||
Title: Debian
|
||||
Version: 1.0
|
||||
Entered-date: June 5, 1999
|
||||
Description: Debian swirl theme for WindowMaker
|
||||
This theme was inspired by the new Debian logo.
|
||||
The background art is derived from copyright-free
|
||||
stock artwork. GIMP was used for the imaging.
|
||||
|
||||
Keywords: Wmaker, theme, debian, swirl
|
||||
Author: gfburke@earthlink.net (Gary Burke)
|
||||
Maintained-by: gfburke@earthlink.net (Gary Burke)
|
||||
Primary-site: wm.themes.org
|
||||
Debian.tar.gz
|
||||
186123 Backgrounds/Debian
|
||||
1117 Themes/Debian
|
||||
|
||||
Platforms: WindowMaker, XFree86 window manager
|
||||
Copying-policy: GPL
|
||||
End
|
||||
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 182 KiB |
BIN
Binary file not shown.
Vendored
-1
@@ -1 +0,0 @@
|
||||
"menu.hook"
|
||||
-56
@@ -1,56 +0,0 @@
|
||||
{
|
||||
Logo.WMDock = {Icon = GNUstep.tiff;};
|
||||
Logo.WMPanel = {Icon = GNUstep.tiff;};
|
||||
Tile.WMClip = {Icon = clip.tiff;};
|
||||
WPrefs = {Icon = "/usr/share/lib/GNUstep/System/Applications/WPrefs.app/WPrefs.tiff";};
|
||||
Dockit = {Icon = GNUstep.tiff;};
|
||||
WMSoundServer = {Icon = Sound.tiff;};
|
||||
"*" = {Icon = defaultAppIcon.tiff;};
|
||||
Rxvt = {Icon = GNUterm.tiff;};
|
||||
KTerm = {Icon = GNUterm.tiff;};
|
||||
NXTerm = {Icon = GNUterm.tiff;};
|
||||
XTerm = {Icon = GNUterm.tiff;};
|
||||
Netscape = {Icon = "wmaker-netscape.tif";};
|
||||
"Mozilla-bin" = {Icon = "wmaker-nav.tif";};
|
||||
emacs = {Icon = "wmaker-emacs.tif";};
|
||||
Gimp = {AlwaysUserIcon = Yes;Icon = "wmaker-gimp2.tif";};
|
||||
toolbox.Gimp = {NoAppIcon = Yes;Icon = "wmaker-gimp2.tif";};
|
||||
gimp_startup.Gimp = {
|
||||
Icon = "wmaker-gimp2.tif";
|
||||
AlwaysUserIcon = Yes;
|
||||
NoTitlebar = Yes;
|
||||
NoResizebar = Yes;
|
||||
NotClosable = Yes;
|
||||
NotMiniaturizable = Yes;
|
||||
};
|
||||
tip_of_the_day.Gimp = {
|
||||
Icon = "wmaker-gimp2.tif";
|
||||
AlwaysUserIcon = Yes;
|
||||
NoResizebar = Yes;
|
||||
NoCloseButton = Yes;
|
||||
NoMiniaturizeButton = Yes;
|
||||
KeepOnTop = Yes;
|
||||
};
|
||||
image_window.Gimp = {Icon = "wmaker-gimp-work.tif";AlwaysUserIcon = Yes;};
|
||||
brushselection.Gimp = {Icon = "wmaker-gimp-brushes.tif";AlwaysUserIcon = Yes;};
|
||||
patternselection.Gimp = {Icon = "wmaker-gimp-patterns.tif";AlwaysUserIcon = Yes;};
|
||||
color_palette.Gimp = {
|
||||
Icon = "wmaker-gimp-palette.tif";
|
||||
AlwaysUserIcon = Yes;
|
||||
NoResizebar = Yes;
|
||||
};
|
||||
gradient_editor.Gimp = {Icon = "wmaker-gimp-gradient.tif";AlwaysUserIcon = Yes;};
|
||||
tool_options.Gimp = {Icon = "wmaker-gimp-tooloption.tif";AlwaysUserIcon = Yes;};
|
||||
layers_and_channels.Gimp = {Icon = "wmaker-gimp-layers.tif";AlwaysUserIcon = Yes;};
|
||||
indexed_color_palette.Gimp = {
|
||||
Icon = "wmaker-gimp-palette.tif";
|
||||
AlwaysUserIcon = Yes;
|
||||
NoResizebar = Yes;
|
||||
};
|
||||
"Script-fu" = {Icon = "wmaker-gimp-script-fu.tif";};
|
||||
"script-fu.Script-fu" = {Icon = "wmaker-gimp-script-fu.tif";};
|
||||
preferences.Gimp = {Icon = "wmaker-gimp-prefs.tif";AlwaysUserIcon = Yes;};
|
||||
panel = {NoAppIcon = Yes;};
|
||||
gmc = {NoAppIcon = Yes;Omnipresent = Yes;SkipWindowList = Yes;};
|
||||
Logo.WMClip = {Icon = clip.tiff;};
|
||||
}
|
||||
Vendored
-141
@@ -1,141 +0,0 @@
|
||||
{
|
||||
LargeDisplayFont = "-*-helvetica-bold-r-normal-*-24-*-*-*-*-*-*-*";
|
||||
MultiByteText = AUTO;
|
||||
KbdModeLock = NO;
|
||||
SmoothWorkspaceBack = NO;
|
||||
WindozeCycling = NO;
|
||||
PopupSwitchMenu = NO;
|
||||
DisableMiniwindows = NO;
|
||||
OpenTransientOnOwnerWorkspace = NO;
|
||||
EdgeResistance = 30;
|
||||
IconificationStyle = Zoom;
|
||||
IconPath = (
|
||||
"~/GNUstep/Library/Icons",
|
||||
"~/GNUstep/Library/WindowMaker/Pixmaps",
|
||||
"~/GNUstep/Library/WindowMaker/CachedPixmaps",
|
||||
"/usr/share/WindowMaker/Icons",
|
||||
"/usr/share/WindowMaker/Pixmaps",
|
||||
"/usr/share/icons",
|
||||
"/usr/local/share/WindowMaker/Icons",
|
||||
"/usr/local/share/WindowMaker/Pixmaps",
|
||||
"/usr/local/share/icons"
|
||||
);
|
||||
PixmapPath = (
|
||||
"~/GNUstep/Library/WindowMaker/Pixmaps",
|
||||
"~/GNUstep/Library/WindowMaker/Backgrounds",
|
||||
"~/GNUstep/Library/WindowMaker/CachedPixmaps",
|
||||
"/usr/share/WindowMaker/Backgrounds",
|
||||
"/usr/share/WindowMaker/Pixmaps",
|
||||
"/usr/share/pixmaps",
|
||||
"/usr/local/share/WindowMaker/Pixmaps",
|
||||
"/usr/local/share/WindowMaker/Backgrounds",
|
||||
"/usr/local/share/pixmaps"
|
||||
);
|
||||
WindowTitleBalloons = YES;
|
||||
IconSize = 64;
|
||||
FocusMode = manual;
|
||||
DisableWSMouseActions = NO;
|
||||
MouseLeftButtonAction = SelectWindows;
|
||||
MouseMiddleButtonAction = OpenWindowListMenu;
|
||||
MouseRightButtonAction = OpenApplicationsMenu;
|
||||
MouseWheelAction = None;
|
||||
ColormapSize = 4;
|
||||
DisableDithering = NO;
|
||||
ModifierKey = Mod1;
|
||||
NewStyle = "new";
|
||||
DisableDock = NO;
|
||||
DisableClip = NO;
|
||||
Superfluous = NO;
|
||||
StickyIcons = NO;
|
||||
SaveSessionOnExit = NO;
|
||||
ColormapMode = auto;
|
||||
RaiseDelay = 0;
|
||||
AutoFocus = YES;
|
||||
WindowPlacement = auto;
|
||||
WindowPlaceOrigin = (64, 64);
|
||||
UseSaveUnders = NO;
|
||||
DisableSound = NO;
|
||||
DisableAnimations = NO;
|
||||
DontLinkWorkspaces = YES;
|
||||
AutoArrangeIcons = NO;
|
||||
AdvanceToNewWorkspace = NO;
|
||||
CycleWorkspaces = NO;
|
||||
ResizeDisplay = line;
|
||||
MoveDisplay = floating;
|
||||
OpaqueMove = YES;
|
||||
IconPosition = "blh";
|
||||
WrapMenus = NO;
|
||||
ScrollableMenus = YES;
|
||||
MenuScrollSpeed = fast;
|
||||
IconSlideSpeed = fast;
|
||||
ShadeSpeed = fast;
|
||||
DoubleClickTime = 250;
|
||||
AlignSubmenus = NO;
|
||||
NoWindowOverIcons = NO;
|
||||
IgnoreFocusClick = NO;
|
||||
CloseKey = None;
|
||||
MaximizeKey = None;
|
||||
VMaximizeKey = None;
|
||||
RaiseLowerKey = None;
|
||||
DontConfirmKill = NO;
|
||||
ShadeKey = None;
|
||||
NextWorkspaceKey = "Mod1+Control+Right";
|
||||
PrevWorkspaceKey = "Mod1+Control+Left";
|
||||
RootMenuKey = F12;
|
||||
WindowListKey = F11;
|
||||
WindowMenuKey = "Control+Escape";
|
||||
RaiseKey = "Mod1+Up";
|
||||
LowerKey = "Mod1+Down";
|
||||
FocusNextKey = "Mod1+Tab";
|
||||
FocusPrevKey = "Mod1+Shift+Tab";
|
||||
Workspace1Key = "Mod1+1";
|
||||
Workspace2Key = "Mod1+2";
|
||||
Workspace3Key = "Mod1+3";
|
||||
Workspace4Key = "Mod1+4";
|
||||
Workspace5Key = "Mod1+5";
|
||||
Workspace6Key = "Mod1+6";
|
||||
Workspace7Key = "Mod1+7";
|
||||
Workspace8Key = "Mod1+8";
|
||||
Workspace9Key = "Mod1+9";
|
||||
Workspace10Key = "Mod1+0";
|
||||
HideKey = "Mod1+H";
|
||||
SelectKey = None;
|
||||
MiniaturizeKey = "Mod1+M";
|
||||
NextWorkspaceLayerKey = None;
|
||||
PrevWorkspaceLayerKey = None;
|
||||
ClipLowerKey = None;
|
||||
ClipRaiseKey = None;
|
||||
ConstrainWindowSize = NO;
|
||||
ClipRaiseLowerKey = None;
|
||||
TitleJustify = center;
|
||||
WindowTitleFont = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
MenuTitleFont = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
MenuTextFont = "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*";
|
||||
IconTitleFont = "-*-helvetica-bold-r-normal-*-9-*-*-*-*-*-*-*";
|
||||
ClipTitleFont = "Verdana:bold:pixelsize=10";
|
||||
HighlightColor = white;
|
||||
HighlightTextColor = black;
|
||||
ClipTitleColor = black;
|
||||
CClipTitleColor = gray20;
|
||||
FTitleColor = white;
|
||||
PTitleColor = white;
|
||||
UTitleColor = black;
|
||||
FTitleBack = (solid, black);
|
||||
PTitleBack = (solid, gray40);
|
||||
UTitleBack = (solid, "rgb:aa/aa/aa");
|
||||
MenuTitleColor = white;
|
||||
MenuTextColor = black;
|
||||
MenuDisabledColor = gray40;
|
||||
MenuTitleBack = (solid, black);
|
||||
MenuTextBack = (solid, "rgb:aa/aa/aa");
|
||||
WorkspaceBack = (
|
||||
spixmap,
|
||||
"/usr/share/WindowMaker/Backgrounds/debian.tiff",
|
||||
gray20
|
||||
);
|
||||
IconBack = (dgradient, "rgb:a6/a6/b6", "rgb:51/55/61");
|
||||
IconTitleColor = white;
|
||||
IconTitleBack = black;
|
||||
ResizebarBack = (solid, "rgb:aa/aa/aa");
|
||||
MenuStyle = normal;
|
||||
}
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
(
|
||||
Debian,
|
||||
(
|
||||
Applications,
|
||||
OPEN_PLMENU,
|
||||
"|| wmmenugen -parser:xdg /usr/share/applications/"
|
||||
),
|
||||
(Run..., EXEC, "%A(Run,Type command to run)"),
|
||||
(
|
||||
"Window Maker",
|
||||
("Info Panel ...", INFO_PANEL),
|
||||
("Legal Panel ...", LEGAL_PANEL),
|
||||
(Preferences, EXEC, WPrefs),
|
||||
("Refresh screen", REFRESH),
|
||||
(Restart, RESTART)
|
||||
),
|
||||
(
|
||||
WorkSpace,
|
||||
(Appearance, OPEN_MENU, appearance.menu),
|
||||
("Arrange Icons", ARRANGE_ICONS),
|
||||
("Clear Session", CLEAR_SESSION),
|
||||
("Hide Others", HIDE_OTHERS),
|
||||
("Save Session", SAVE_SESSION),
|
||||
("Show All", SHOW_ALL),
|
||||
(Workspaces, WORKSPACE_MENU)
|
||||
),
|
||||
(Exit, EXIT),
|
||||
("Exit session", SHUTDOWN)
|
||||
)
|
||||
Vendored
-76
@@ -1,76 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
[ -n "$WMAKER_USER_ROOT" ] || export WMAKER_USER_ROOT="$HOME/GNUstep"
|
||||
gs_base="$WMAKER_USER_ROOT"
|
||||
gs_defaults="$gs_base/Defaults"
|
||||
gs_system_defaults=/etc/GNUstep/Defaults
|
||||
wm_base="$gs_base/Library/WindowMaker"
|
||||
wm_backgrounds="$wm_base/Backgrounds"
|
||||
wm_iconsets="$wm_base/IconSets"
|
||||
wm_pixmaps="$wm_base/Pixmaps"
|
||||
gs_icons="$gs_base/Library/Icons"
|
||||
wm_style="$wm_base/Style"
|
||||
wm_styles="$wm_base/Styles"
|
||||
wm_themes="$wm_base/Themes"
|
||||
WindowMaker=/usr/lib/WindowMaker/wmaker
|
||||
convertfonts=/usr/lib/WindowMaker/convertfonts
|
||||
|
||||
make_dir_if_needed ()
|
||||
{
|
||||
if [ ! -d "$1" ] ; then
|
||||
install -m 0755 -d "$1"
|
||||
fi
|
||||
}
|
||||
|
||||
rename_dir_if_possible ()
|
||||
{
|
||||
if [ ! -d "$2" ] ; then
|
||||
if [ -d "$1" ] ; then
|
||||
mv "$1" "$2"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
copy_defaults_if_needed ()
|
||||
{
|
||||
file="$gs_defaults/$1"
|
||||
system_file="$gs_system_defaults/$1"
|
||||
if [ ! -f "$file" ] ; then
|
||||
install -m 0644 "$system_file" "$file"
|
||||
fi
|
||||
}
|
||||
|
||||
make_dir_if_needed "$gs_defaults"
|
||||
make_dir_if_needed "$wm_base"
|
||||
make_dir_if_needed "$wm_backgrounds"
|
||||
make_dir_if_needed "$wm_iconsets"
|
||||
make_dir_if_needed "$wm_pixmaps"
|
||||
make_dir_if_needed "$gs_icons"
|
||||
rename_dir_if_possible "$wm_style" "$wm_styles"
|
||||
make_dir_if_needed "$wm_styles"
|
||||
make_dir_if_needed "$wm_themes"
|
||||
|
||||
copy_defaults_if_needed WindowMaker
|
||||
copy_defaults_if_needed WMRootMenu
|
||||
copy_defaults_if_needed WMState
|
||||
#copy_defaults_if_needed WMWindowAttributes
|
||||
|
||||
if [ -x $convertfonts -a ! -e "$wm_base/.fonts_converted" ] ; then
|
||||
# --keep-xlfd is used in order to preserve the original information
|
||||
$convertfonts --keep-xlfd "$gs_defaults/WindowMaker"
|
||||
if [ -f "$gs_defaults/WMGLOBAL" ] ; then
|
||||
$convertfonts --keep-xlfd "$gs_defaults/WMGLOBAL"
|
||||
fi
|
||||
find "$wm_styles" -mindepth 1 -maxdepth 1 -type f -print0 |
|
||||
xargs -0 -r -n 1 $convertfonts --keep-xlfd
|
||||
touch "$wm_base/.fonts_converted"
|
||||
fi
|
||||
|
||||
if [ -n "$1" -a -x "$WindowMaker$1" ] ; then
|
||||
WindowMaker="$WindowMaker$1"
|
||||
shift
|
||||
fi
|
||||
|
||||
exec "$WindowMaker" "$@"
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Window Maker
|
||||
Comment=This session logs you into Window Maker
|
||||
Exec=/usr/bin/wmaker
|
||||
# no icon yet, only the top three are currently used
|
||||
Icon=
|
||||
Keywords=Window Manager
|
||||
Type=Application
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user