MeanGuy
03-22-2003, 11:03 PM
hey there, im on debian testing. i dont have gnome two, can't afford to upgrade to sid. anyways. im trying toget spager to work cuz i wanna get rid of the start menu at the bottom . thats what i get when i do make private-install
~/pager-0.6$ make install
(standard_in) 1: parse error
make: *** No rule to make target `install'. Stop.
johar@Linux:~/pager-0.6$ make private install
(standard_in) 1: parse error
make: *** No rule to make target `private'. Stop.
johar@Linux:~/pager-0.6$ make private-install
(standard_in) 1: parse error
cc -DUSE_SAWFISH_LIBCLIENT -DFRAMEOVER `gtk-config --cflags` -Wl,-rpath `rep-config --execdir`/sawfish `rep-config --execdir`/sawfish/client.so `gtk-config --libs` pager.c -o pager
/bin/sh: line 1: rep-config: command not found
/bin/sh: line 1: rep-config: command not found
cc: /sawfish: No such file or directory
cc: /sawfish/client.so: No such file or directory
make: *** [pager] Error 1
i wasn't been able to find client.so and also i have doubts what to set /sawfish for /usr/share/sawfish? or ~/.sawfish would be enough? ... the home page of the program is http://dapfy.bei.t-online.de/sawfish/pager/
any ideas if i can turn this one into debian package? thanx.
-----------
after edit
-----------
could someone take a look at the makefile and tell me what i need to change in it?
SAWFISH_CLIENT_LIB_DIR := `rep-config --execdir`/sawfish
CFLAGS = -DUSE_SAWFISH_LIBCLIENT -DFRAMEOVER
LDFLAGS = -Wl,-rpath $(SAWFISH_CLIENT_LIB_DIR) $(SAWFISH_CLIENT_LIB_DIR)/client.
so
ifndef GTK1
GTK1 := $(shell pkg-config gtk+-2.0 >/dev/null 2>&1 || echo 1)
endif
ifdef GTK1
CFLAGS += `gtk-config --cflags`
LDFLAGS += `gtk-config --libs`
else
CFLAGS += `pkg-config --cflags gtk+-2.0` -DHAVE_GTK2
LDFLAGS += `pkg-config --libs gtk+-2.0`
endif
ifndef PRE_SAWFISH1_2
SAWFISH_VERSION := $(word 3,$(shell sawfish --version))
ifeq "$(SAWFISH_VERSION)" "2.0.pre1"
PRE_SAWFISH1_2 := $(shell [ -f /etc/redhat-release ] && fgrep 8.0 /etc/redha
t-release)
else
PRE_SAWFISH1_2 := $(filter-out 0,$(shell echo '1.2 > $(SAWFISH_VERSION)' | b
c))
endif
endif
ifdef PRE_SAWFISH1_2
CFLAGS += -DPRE_SAWFISH1_2
endif
all: pager pager.jlc
%.jlc: %.jl
sawfish --batch --no-rc compiler -f compile-batch $^
private-install: all
-mkdir -p $(HOME)/.sawfish/lisp/sawfish/wm/ext/
cp -p pager.jl pager.jlc $(HOME)/.sawfish/lisp/sawfish/wm/ext/
mv pager $(HOME)/.sawfish/
clean:
rm -f pager pager.jlc
thanx
~/pager-0.6$ make install
(standard_in) 1: parse error
make: *** No rule to make target `install'. Stop.
johar@Linux:~/pager-0.6$ make private install
(standard_in) 1: parse error
make: *** No rule to make target `private'. Stop.
johar@Linux:~/pager-0.6$ make private-install
(standard_in) 1: parse error
cc -DUSE_SAWFISH_LIBCLIENT -DFRAMEOVER `gtk-config --cflags` -Wl,-rpath `rep-config --execdir`/sawfish `rep-config --execdir`/sawfish/client.so `gtk-config --libs` pager.c -o pager
/bin/sh: line 1: rep-config: command not found
/bin/sh: line 1: rep-config: command not found
cc: /sawfish: No such file or directory
cc: /sawfish/client.so: No such file or directory
make: *** [pager] Error 1
i wasn't been able to find client.so and also i have doubts what to set /sawfish for /usr/share/sawfish? or ~/.sawfish would be enough? ... the home page of the program is http://dapfy.bei.t-online.de/sawfish/pager/
any ideas if i can turn this one into debian package? thanx.
-----------
after edit
-----------
could someone take a look at the makefile and tell me what i need to change in it?
SAWFISH_CLIENT_LIB_DIR := `rep-config --execdir`/sawfish
CFLAGS = -DUSE_SAWFISH_LIBCLIENT -DFRAMEOVER
LDFLAGS = -Wl,-rpath $(SAWFISH_CLIENT_LIB_DIR) $(SAWFISH_CLIENT_LIB_DIR)/client.
so
ifndef GTK1
GTK1 := $(shell pkg-config gtk+-2.0 >/dev/null 2>&1 || echo 1)
endif
ifdef GTK1
CFLAGS += `gtk-config --cflags`
LDFLAGS += `gtk-config --libs`
else
CFLAGS += `pkg-config --cflags gtk+-2.0` -DHAVE_GTK2
LDFLAGS += `pkg-config --libs gtk+-2.0`
endif
ifndef PRE_SAWFISH1_2
SAWFISH_VERSION := $(word 3,$(shell sawfish --version))
ifeq "$(SAWFISH_VERSION)" "2.0.pre1"
PRE_SAWFISH1_2 := $(shell [ -f /etc/redhat-release ] && fgrep 8.0 /etc/redha
t-release)
else
PRE_SAWFISH1_2 := $(filter-out 0,$(shell echo '1.2 > $(SAWFISH_VERSION)' | b
c))
endif
endif
ifdef PRE_SAWFISH1_2
CFLAGS += -DPRE_SAWFISH1_2
endif
all: pager pager.jlc
%.jlc: %.jl
sawfish --batch --no-rc compiler -f compile-batch $^
private-install: all
-mkdir -p $(HOME)/.sawfish/lisp/sawfish/wm/ext/
cp -p pager.jl pager.jlc $(HOME)/.sawfish/lisp/sawfish/wm/ext/
mv pager $(HOME)/.sawfish/
clean:
rm -f pager pager.jlc
thanx