Depend on libDesktop instead of Gtk+ 2 or 3
This will simplify configuration greatly.
This commit is contained in:
parent
7d33ccf1fb
commit
b0afc90b95
|
@ -6,6 +6,6 @@ libdir=${exec_prefix}/lib
|
||||||
Name: Panel
|
Name: Panel
|
||||||
Description: DeforaOS Desktop Panel applets
|
Description: DeforaOS Desktop Panel applets
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Requires: gtk+-2.0
|
Requires: libDesktop
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
Libs: -Wl,-rpath-link,${libdir} -Wl,-rpath,${libdir} -L${libdir} -lPanel
|
Libs: -Wl,-rpath-link,${libdir} -Wl,-rpath,${libdir} -L${libdir} -lPanel
|
||||||
|
|
|
@ -3,12 +3,8 @@ cppflags_force=-I ../../include
|
||||||
#cppflags=-D EMBEDDED
|
#cppflags=-D EMBEDDED
|
||||||
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector
|
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||||
ldflags=
|
ldflags=
|
||||||
#for Gtk+ 2
|
cflags_force=-W `pkg-config --cflags libDesktop` -fPIC
|
||||||
#cflags_force=`pkg-config --cflags libSystem gtk+-2.0` -fPIC
|
ldflags_force=`pkg-config --libs libDesktop` -lPanel -L$(OBJDIR)..
|
||||||
#ldflags_force=`pkg-config --libs libSystem gtk+-2.0` -lPanel -L$(OBJDIR)..
|
|
||||||
#for Gtk+ 3
|
|
||||||
cflags_force=-W `pkg-config --cflags libSystem gtk+-3.0` -fPIC
|
|
||||||
ldflags_force=`pkg-config --libs libSystem gtk+-3.0` -lPanel -L$(OBJDIR)..
|
|
||||||
dist=Makefile,tasks.atoms
|
dist=Makefile,tasks.atoms
|
||||||
|
|
||||||
[battery]
|
[battery]
|
||||||
|
|
|
@ -45,10 +45,6 @@ depends=../include/Panel.h,panel.h,../config.h
|
||||||
type=binary
|
type=binary
|
||||||
sources=run.c
|
sources=run.c
|
||||||
cppflags=-D PREFIX=\"$(PREFIX)\"
|
cppflags=-D PREFIX=\"$(PREFIX)\"
|
||||||
#for Gtk+ 2
|
cflags=`pkg-config --cflags libDesktop` -fPIE
|
||||||
#cflags=`pkg-config --cflags libSystem gtk+-2.0` -fPIE
|
ldflags=`pkg-config --libs libDesktop` -lintl -pie
|
||||||
#ldflags=`pkg-config --libs libSystem gtk+-2.0` -lintl -pie
|
|
||||||
#for Gtk+ 3
|
|
||||||
cflags=`pkg-config --cflags libSystem gtk+-3.0` -fPIE
|
|
||||||
ldflags=`pkg-config --libs libSystem gtk+-3.0` -lintl -pie
|
|
||||||
install=$(BINDIR)
|
install=$(BINDIR)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user