packages: move Xorg category to its own feed, move X-related packages as well
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28952 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
acdc41b6f6
commit
3ea3f122b9
@ -1,68 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2006-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=dillo
|
||||
PKG_REV:=cc974615ae39
|
||||
PKG_VERSION:=r$(PKG_REV)
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=hg
|
||||
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://hg.dillo.org/dillo
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
define Package/dillo
|
||||
SECTION:=xorg-app
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
TITLE:=Dillo2
|
||||
URL:=http://fltk.org/
|
||||
DEPENDS:=+libXft +libstdcpp +libpthread +zlib +fltk2 +libjpeg +libpng $(ICONV_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/dillo/description
|
||||
Dillo is a web browser project completely written in C.
|
||||
Dillo aims to be a multi-platform browser alternative that
|
||||
is small, stable, developer-friendly, usable, fast, and
|
||||
extensible.
|
||||
|
||||
Note: This is the fltk2 based dillo.
|
||||
endef
|
||||
|
||||
EXTRA_CPPFLAGS+=-I$(ICONV_PREFIX)/include
|
||||
EXTRA_LDFLAGS+=-L$(ICONV_PREFIX)/lib -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); ./autogen.sh );
|
||||
$(call Build/Configure/Default)
|
||||
endef
|
||||
|
||||
define Build/Install
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) install
|
||||
endef
|
||||
|
||||
define Package/dillo/install
|
||||
$(INSTALL_DIR) $(1)/etc $(1)/usr/share/applications $(1)/usr/share/icons
|
||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/* $(1)/etc/
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dillo $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dpid $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dpidc $(1)/usr/bin
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/dillo $(1)/usr/lib/
|
||||
$(CP) ./files/dillo.png $(1)/usr/share/icons/
|
||||
$(INSTALL_DATA) ./files/dillo.desktop $(1)/usr/share/applications/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,dillo))
|
@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
GenericName=Web Browser
|
||||
GenericName[lt]=Web naršyklė
|
||||
Name=Dillo
|
||||
Comment=Lightweight browser
|
||||
Comment[lt]=Labai paprasta naršyklė
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;
|
||||
Exec=dillo
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Application;Network;
|
||||
Icon=/usr/share/icons/dillo.png
|
Binary file not shown.
Before Width: | Height: | Size: 5.4 KiB |
@ -1,21 +0,0 @@
|
||||
--- dillo-rcc974615ae39.orig/configure.in 2009-03-09 15:40:08.000000000 +0100
|
||||
+++ dillo-rcc974615ae39/configure.in 2009-03-09 15:52:42.000000000 +0100
|
||||
@@ -145,14 +145,10 @@
|
||||
dnl
|
||||
dnl For debugging and to be user friendly
|
||||
AC_MSG_CHECKING([FLTK2])
|
||||
-if sh -c "fltk2-config --version" >/dev/null 2>&1
|
||||
-then AC_MSG_RESULT(yes)
|
||||
- LIBFLTK_CXXFLAGS=`fltk2-config --cxxflags`
|
||||
- LIBFLTK_CFLAGS=`fltk2-config --cflags`
|
||||
- LIBFLTK_LIBS=`fltk2-config --use-images --ldflags`
|
||||
-else AC_MSG_RESULT(no)
|
||||
- AC_ERROR(FLTK2 must be installed!)
|
||||
-fi
|
||||
+AC_MSG_RESULT(yes)
|
||||
+ LIBFLTK_CXXFLAGS="-I. -I/usr/include/freetype2 -Wno-non-virtual-dtor"
|
||||
+ LIBFLTK_CFLAGS="-I."
|
||||
+ LIBFLTK_LIBS="-L./lib -Wl,-rpath,/usr/local/lib -lfltk2_images -lfltk2_images -lfltk2 -lX11 -lXi -lXft -lpthread -lm -lXext -lsupc++"
|
||||
|
||||
|
||||
dnl ----------------
|
@ -1,69 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=eterm
|
||||
PKG_VERSION:=0.9.4
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=Eterm-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.eterm.org/download/
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/Eterm-$(PKG_VERSION)
|
||||
PKG_MD5SUM:=b8869ee9c9b9516231af9eefa595cee3
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
define Package/eterm/Default
|
||||
SECTION:=xorg-extra
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=terminals
|
||||
|
||||
endef
|
||||
|
||||
define Package/eterm
|
||||
$(call Package/eterm/Default)
|
||||
TITLE:=eterm
|
||||
DEPENDS:=+libX11 +libXcursor +imlib2 +libast $(ICONV_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/esetroot
|
||||
$(call Package/eterm/Default)
|
||||
TITLE:=esetroot
|
||||
DEPENDS:=eterm
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--with-imlib=$(STAGING_DIR)/usr/
|
||||
|
||||
CONFIGURE_VARS += \
|
||||
LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)\
|
||||
CPPFLAGS="$(TARGET_CPPFLAGS) -I$(ICONV_PREFIX)/include/" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS) -L$(ICONV_PREFIX)/lib/"
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
|
||||
endef
|
||||
|
||||
define Package/eterm/install
|
||||
$(INSTALL_DIR) $(1)/usr/{bin,lib}
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*so* $(1)/usr/lib
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/Eterm $(1)/usr/bin
|
||||
endef
|
||||
|
||||
define Package/esetroot/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/Esetroot $(1)/usr/bin
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,esetroot))
|
||||
$(eval $(call BuildPackage,eterm))
|
@ -1,17 +0,0 @@
|
||||
diff --git a/configure b/configure
|
||||
index c2c0c91..321e0fb 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -26704,10 +26704,10 @@ else
|
||||
fi
|
||||
|
||||
|
||||
-CPPFLAGS=`eval eval eval eval eval echo "-I$includedir -I$prefix/include $CPPFLAGS"`
|
||||
+CPPFLAGS=`eval eval eval eval eval echo "$CPPFLAGS"`
|
||||
CPPFLAGS=`echo $CPPFLAGS | tr ' ' '\n' | uniq | grep -v NONE | tr '\n' ' '`
|
||||
CFLAGS=${CFLAGS--O}
|
||||
-LDFLAGS=`eval eval eval eval eval echo "-L$libdir -L$prefix/lib ${LDFLAGS--O}"`
|
||||
+LDFLAGS=`eval eval eval eval eval echo "${LDFLAGS--O}"`
|
||||
LDFLAGS=`echo $LDFLAGS | tr ' ' '\n' | uniq | grep -v NONE | tr '\n' ' '`
|
||||
LIBS="$GRLIBS $X_PRE_LIBS $LIBS $X_EXTRA_LIBS"
|
||||
|
@ -1,44 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gtkperf
|
||||
PKG_VERSION:=0.40
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_URL:=@SF/gtkperf
|
||||
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)
|
||||
PKG_MD5SUM:=4331dde4bb83865e15482885fcb0cc53
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
TARGET_LDFLAGS+=\
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
||||
|
||||
define Package/gtkperf
|
||||
SECTION:=xorg-app
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
DEPENDS:=+gtk2
|
||||
TITLE:=gtkperf
|
||||
URL:=http://gtkperf.sourceforge.net
|
||||
endef
|
||||
|
||||
define Package/gtkperf/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/* \
|
||||
$(1)/usr/bin
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,gtkperf))
|
@ -1,19 +0,0 @@
|
||||
diff -ruN gtkperf.orig/Makefile.in gtkperf/Makefile.in
|
||||
--- gtkperf.orig/Makefile.in 2005-06-07 18:09:49.000000000 +0200
|
||||
+++ gtkperf/Makefile.in 2009-10-14 12:29:30.000000000 +0200
|
||||
@@ -40,10 +40,10 @@
|
||||
|
||||
top_builddir = .
|
||||
|
||||
-ACLOCAL = @ACLOCAL@
|
||||
-AUTOCONF = @AUTOCONF@
|
||||
-AUTOMAKE = @AUTOMAKE@
|
||||
-AUTOHEADER = @AUTOHEADER@
|
||||
+ACLOCAL = /bin/true
|
||||
+AUTOCONF = /bin/true
|
||||
+AUTOMAKE = /bin/true
|
||||
+AUTOHEADER = /bin/true
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||
Binary files gtkperf.orig/.Makefile.in.swp and gtkperf/.Makefile.in.swp differ
|
@ -1,77 +0,0 @@
|
||||
--- gtkperf/src/interface.c 2005-06-07 18:15:24.000000000 +0200
|
||||
+++ gtkperf.orig/src/interface.c 2009-10-15 12:17:43.000000000 +0200
|
||||
@@ -44,12 +44,13 @@
|
||||
GtkWidget *vbox_main;
|
||||
GtkWidget *vbox_info;
|
||||
GtkWidget *hbox1;
|
||||
+ GtkWidget *hbox2;
|
||||
GtkWidget *button_clear;
|
||||
GtkWidget *label8;
|
||||
GtkObject *spinbutton_count_adj;
|
||||
GtkWidget *button_start;
|
||||
GtkWidget *alignment1;
|
||||
- GtkWidget *hbox2;
|
||||
+ GtkWidget *hbox_start;
|
||||
GtkWidget *image1;
|
||||
GtkWidget *label6;
|
||||
GtkWidget *scrolledwindow1;
|
||||
@@ -91,8 +92,8 @@
|
||||
appdata->window_main = gtk_window_new (GTK_WINDOW_TOPLEVEL);
|
||||
gtk_window_set_title (GTK_WINDOW (appdata->window_main),
|
||||
_("GtkPerf"));
|
||||
- gtk_window_set_default_size (GTK_WINDOW (appdata->window_main), 500,
|
||||
- 300);
|
||||
+ gtk_window_set_default_size (GTK_WINDOW (appdata->window_main), 320,
|
||||
+ 240);
|
||||
gtk_widget_show(appdata->window_main);
|
||||
|
||||
#endif
|
||||
@@ -115,6 +116,9 @@
|
||||
hbox1 = gtk_hbox_new (FALSE, 10);
|
||||
gtk_widget_show (hbox1);
|
||||
gtk_box_pack_start (GTK_BOX (vbox_info), hbox1, FALSE, TRUE, 4);
|
||||
+ hbox2 = gtk_hbox_new (FALSE, 10);
|
||||
+ gtk_widget_show (hbox2);
|
||||
+ gtk_box_pack_start (GTK_BOX (vbox_info), hbox2, FALSE, TRUE, 4);
|
||||
|
||||
button_clear = gtk_button_new_from_stock ("gtk-clear");
|
||||
gtk_widget_show (button_clear);
|
||||
@@ -134,7 +138,7 @@
|
||||
gtk_widget_set_size_request (appdata->spinbutton_count, 100, -1);
|
||||
appdata->combobox_testtype = gtk_combo_box_new_text ();
|
||||
gtk_widget_show (appdata->combobox_testtype);
|
||||
- gtk_box_pack_start (GTK_BOX (hbox1), appdata->combobox_testtype, TRUE,
|
||||
+ gtk_box_pack_start (GTK_BOX (hbox2), appdata->combobox_testtype, TRUE,
|
||||
TRUE, 0);
|
||||
gtk_combo_box_append_text (GTK_COMBO_BOX (appdata->combobox_testtype),
|
||||
_("Test All"));
|
||||
@@ -169,23 +173,23 @@
|
||||
|
||||
button_start = gtk_button_new ();
|
||||
gtk_widget_show (button_start);
|
||||
- gtk_box_pack_start (GTK_BOX (hbox1), button_start, FALSE, FALSE, 0);
|
||||
+ gtk_box_pack_start (GTK_BOX (hbox2), button_start, FALSE, FALSE, 0);
|
||||
|
||||
alignment1 = gtk_alignment_new (0.5, 0.5, 0, 0);
|
||||
gtk_widget_show (alignment1);
|
||||
gtk_container_add (GTK_CONTAINER (button_start), alignment1);
|
||||
|
||||
- hbox2 = gtk_hbox_new (FALSE, 2);
|
||||
- gtk_widget_show (hbox2);
|
||||
- gtk_container_add (GTK_CONTAINER (alignment1), hbox2);
|
||||
+ hbox_start = gtk_hbox_new (FALSE, 2);
|
||||
+ gtk_widget_show (hbox_start);
|
||||
+ gtk_container_add (GTK_CONTAINER (alignment1), hbox_start);
|
||||
image1 = gtk_image_new_from_stock ("gtk-execute",
|
||||
GTK_ICON_SIZE_BUTTON);
|
||||
gtk_widget_show (image1);
|
||||
- gtk_box_pack_start (GTK_BOX (hbox2), image1, FALSE, FALSE, 0);
|
||||
+ gtk_box_pack_start (GTK_BOX (hbox_start), image1, FALSE, FALSE, 0);
|
||||
|
||||
label6 = gtk_label_new_with_mnemonic (_("Start"));
|
||||
gtk_widget_show (label6);
|
||||
- gtk_box_pack_start (GTK_BOX (hbox2), label6, FALSE, FALSE, 0);
|
||||
+ gtk_box_pack_start (GTK_BOX (hbox_start), label6, FALSE, FALSE, 0);
|
||||
|
||||
scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL);
|
||||
gtk_widget_show (scrolledwindow1);
|
@ -1,60 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=matchbox-keyboard
|
||||
PKG_REV:=2111
|
||||
PKG_VERSION:=svn$(PKG_REV)
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=matchbox-keyboard-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard
|
||||
PKG_SOURCE_PROTO:=svn
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/matchbox-keyboard
|
||||
SECTION:=xorg-app
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
TITLE:=matchbox-keyboard
|
||||
MAINTAINER:=Michael Buesch <mb@bu3sch.de>
|
||||
URL:=http://matchbox-project.org/?p=1
|
||||
DEPENDS:=+libfakekey +cairo +gtk2 +libexpat
|
||||
endef
|
||||
|
||||
define Package/matchbox-keyboard/description
|
||||
Virtual keyboard
|
||||
endef
|
||||
|
||||
EXTRA_LDFLAGS:=\
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Package/matchbox-keyboard/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/share $(1)/usr/share/applications \
|
||||
$(1)/usr/share/matchbox-keyboard $(1)/usr/share/pixmaps
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/* \
|
||||
$(1)/usr/bin/
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/share/applications/inputmethods/matchbox-keyboard.desktop \
|
||||
$(1)/usr/share/applications/
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/share/matchbox-keyboard/* \
|
||||
$(1)/usr/share/matchbox-keyboard/
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/share/pixmaps/* \
|
||||
$(1)/usr/share/pixmaps/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,matchbox-keyboard))
|
@ -1,9 +0,0 @@
|
||||
xcalc-1.0.2|+libX11+libXaw
|
||||
xclipboard-1.0.1|+libX11
|
||||
xdm-1.1.6|+libX11
|
||||
xeyes-1.0.1|+libX11
|
||||
xinit-1.0.5|+libX11
|
||||
xlogo-1.0.1|+libX11
|
||||
xmessage-1.0.2|+libX11
|
||||
xset-1.0.3|+libX11
|
||||
xsetroot-1.0.2|+libX11
|
@ -1,109 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2010-2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
#LOCAL_SRC:=1
|
||||
|
||||
PKG_NAME:=pwrtray
|
||||
PKG_REV:=f9b63119a568803fad582dc0796af91bb087919c
|
||||
PKG_VERSION:=2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
ifeq ($(LOCAL_SRC),)
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=git://git.bu3sch.de/pwrtray.git
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||||
endif
|
||||
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
|
||||
PKG_CONFIG_DEPENDS:= \
|
||||
CONFIG_PACKAGE_pwrtray-backend \
|
||||
CONFIG_PACKAGE_pwrtray
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/pwrtray-common
|
||||
MAINTAINER:=Michael Buesch <mb@bu3sch.de>
|
||||
URL:=http://bu3sch.de/gitweb?p=pwrtray.git;a=summary
|
||||
endef
|
||||
|
||||
define Package/pwrtray-backend
|
||||
$(call Package/pwrtray-common)
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=System power control daemon
|
||||
DEPENDS:=+FEATURE_drawing-backend_libX11:libX11
|
||||
endef
|
||||
|
||||
define Package/pwrtray-backend/description
|
||||
Tiny system power control daemon.
|
||||
endef
|
||||
|
||||
define Package/pwrtray
|
||||
$(call Package/pwrtray-common)
|
||||
SECTION:=xorg-app
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
TITLE:=Frontend to pwrtray-backend daemon
|
||||
DEPENDS:=+pwrtray-backend +qt4 +qt4-gui
|
||||
endef
|
||||
|
||||
define Package/pwrtray/description
|
||||
Small system-tray frontend to the power control daemon.
|
||||
endef
|
||||
|
||||
EXTRA_CFLAGS:= \
|
||||
-I$(PKG_BUILD_DIR)/tray/moc
|
||||
|
||||
EXTRA_LDFLAGS:= \
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
||||
-Wl,-rpath=/usr/lib/
|
||||
|
||||
MAKE_VARS+= \
|
||||
MOC="$(STAGING_DIR_HOST)/bin/moc" \
|
||||
STRIP="$(STRIP)" \
|
||||
QT_INCDIR="$(STAGING_DIR)/usr/include" \
|
||||
QT_LIBDIR="$(STAGING_DIR)/usr/lib" \
|
||||
PREFIX=/usr \
|
||||
$(if $(CONFIG_PACKAGE_libX11),FEATURE_XLOCK=y,FEATURE_XLOCK=n) \
|
||||
FEATURE_XEVREP=n \
|
||||
$(if $(CONFIG_PACKAGE_pwrtray),FEATURE_TRAY=y,FEATURE_TRAY=n)
|
||||
|
||||
MAKE_FLAGS+= \
|
||||
V=1
|
||||
|
||||
define Build/Prepare
|
||||
$(if $(LOCAL_SRC), \
|
||||
$(CP) ./files/src/* $(PKG_BUILD_DIR)/ \
|
||||
, \
|
||||
$(call Build/Prepare/Default) \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) clean
|
||||
$(call Build/Compile/Default)
|
||||
endef
|
||||
|
||||
define Package/pwrtray-backend/install
|
||||
$(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/bin $(1)/usr/share
|
||||
$(INSTALL_BIN) ./files/etc/init.d/* $(1)/etc/init.d/
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pwrtray-backend $(1)/usr/bin/
|
||||
$(if $(CONFIG_PACKAGE_libX11),$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pwrtray-xlock $(1)/usr/bin/)
|
||||
$(if $(CONFIG_PACKAGE_pwrtray),$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pwrtray $(1)/usr/bin/)
|
||||
$(if $(CONFIG_PACKAGE_pwrtray),$(CP) $(PKG_INSTALL_DIR)/usr/share/pwrtray $(1)/usr/share/)
|
||||
[ -e $(1)/etc/pwrtray-backendrc ] || \
|
||||
$(INSTALL_DATA) ./files/etc/pwrtray-backendrc $(1)/etc/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,pwrtray-backend))
|
||||
$(eval $(call BuildPackage,pwrtray))
|
@ -1,12 +0,0 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2010 OpenWrt.org
|
||||
|
||||
START=99
|
||||
|
||||
start() {
|
||||
[ -x /usr/bin/pwrtray-backend ] && /usr/bin/pwrtray-backend -B -f
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall -q pwrtray-backend
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# pwrtray-backend configuration
|
||||
|
||||
[BACKLIGHT]
|
||||
# List of auto-dimming steps.
|
||||
# idle-seconds/brightness-percent idle-seconds/brightness-percent ...
|
||||
# idle-seconds value must be growing.
|
||||
autodim_steps=15/65 20/50 25/25 30/10 35/0
|
||||
# Default maximum brightness value for the autodimmer, in percent.
|
||||
autodim_default_max=75
|
||||
# Enable auto-dimming by default?
|
||||
autodim_default_on=1
|
||||
# Force backlight to autodim-max, if on AC and autodim is enabled?
|
||||
# This effectively disables autodim if not on battery power.
|
||||
autodim_max_on_ac=0
|
||||
|
||||
[SCREEN]
|
||||
# Framebuffer device for screen blanking
|
||||
fbdev=/dev/fb0
|
||||
|
||||
[XEVREP]
|
||||
# X11 input event reporter grace period (in milliseconds)
|
||||
grace_period=2000
|
@ -1,48 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=qwo
|
||||
PKG_VERSION:=0.3
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_URL:=http://mirrors.zerg.biz/nongnu/qwo/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
PKG_MD5SUM:=4a3cfc9ad505c60cdf0d896f0323aab2
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Package/qwo
|
||||
SECTION:=xorg-app
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
DEPENDS:=+libX11 +libXext +libXau +libXtst +imlib2
|
||||
TITLE:=qwo
|
||||
URL:=http://www.nongnu.org/qwo/
|
||||
endef
|
||||
|
||||
define Package/qwo/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/share/qwo $(1)/usr/share/applications
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/* \
|
||||
$(1)/usr/bin/
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/share/qwo/* \
|
||||
$(1)/usr/share/qwo/
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/share/qwo/qwo.desktop \
|
||||
$(1)/usr/share/applications/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,qwo))
|
@ -1,50 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=rxvt
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=2.7.10
|
||||
|
||||
PKG_SOURCE_URL:=@SF/rxvt
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
PKG_MD5SUM:=302c5c455e64047b02d1ef19ff749141
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
#TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Package/rxvt
|
||||
SECTION:=xorg-app
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
DEPENDS:=+libX11 +libXext +libXau +libXtst +imlib2
|
||||
TITLE:=rxvt
|
||||
URL:=http://rxvt.sourceforge.net
|
||||
endef
|
||||
|
||||
define Package/rxvt/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/share/applications $(1)/usr/share/icons
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/* \
|
||||
$(1)/usr/bin/
|
||||
$(INSTALL_DATA) \
|
||||
./files/rxvt.desktop \
|
||||
$(1)/usr/share/applications/rxvt.desktop
|
||||
$(INSTALL_DATA) \
|
||||
./files/icon.png \
|
||||
$(1)/usr/share/icons/rxvt.png
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,rxvt))
|
Binary file not shown.
Before Width: | Height: | Size: 8.3 KiB |
@ -1,13 +0,0 @@
|
||||
[Desktop Entry]
|
||||
GenericName=Terminal
|
||||
Name=rxvt
|
||||
Encoding=UTF-8
|
||||
Version=1.0
|
||||
Comment=Terminal Emulator
|
||||
StartupNotify=false
|
||||
Exec=rxvt
|
||||
Icon=/usr/share/icons/rxvt.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
SingleInstance=true
|
||||
Categories=Utility
|
@ -1,46 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_BASE_NAME:=@BASE_NAME@
|
||||
PKG_NAME:=@NAME@
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=@VER@
|
||||
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/app
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/@NAME@
|
||||
SECTION:=xorg-app
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
DEPENDS:=@DISPLAY_SUPPORT
|
||||
TITLE:=@NAME@
|
||||
URL:=http://xorg.freedesktop.org/
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS+=LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
|
||||
|
||||
define Build/Compile
|
||||
DESTDIR=$(PKG_INSTALL_DIR) make -C $(PKG_BUILD_DIR) install
|
||||
endef
|
||||
|
||||
define Package/@NAME@/install
|
||||
$(INSTALL_DIR) $(1)
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
rm -rf $(1)/usr/man/
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,@NAME@))
|
@ -1,47 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xcalc
|
||||
PKG_VERSION:=1.0.2
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/app
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
PKG_MD5SUM:=d31a99795b9668f047aa11bf36df6df0
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/xcalc
|
||||
SECTION:=xorg-app
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
DEPENDS:=+libXaw
|
||||
TITLE:=xcalc
|
||||
URL:=http://xorg.freedesktop.org/
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS+=LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
|
||||
|
||||
define Build/Compile
|
||||
DESTDIR=$(PKG_INSTALL_DIR) make -C $(PKG_BUILD_DIR) install
|
||||
endef
|
||||
|
||||
define Package/xcalc/install
|
||||
$(INSTALL_DIR) $(1)
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
rm -rf $(1)/usr/man/
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,xcalc))
|
@ -1,47 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xclipboard
|
||||
PKG_VERSION:=1.0.1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.3/src/app
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
PKG_MD5SUM:=2c6ecedb10dc51adbb64c95f22fd99c2
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/xclipboard
|
||||
SECTION:=xorg-app
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
DEPENDS:=+libXaw
|
||||
TITLE:=xclipboard
|
||||
URL:=http://xorg.freedesktop.org/
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS+=LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
|
||||
|
||||
define Build/Compile
|
||||
DESTDIR=$(PKG_INSTALL_DIR) make -C $(PKG_BUILD_DIR) install
|
||||
endef
|
||||
|
||||
define Package/xclipboard/install
|
||||
$(INSTALL_DIR) $(1)
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
rm -rf $(1)/usr/man/
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,xclipboard))
|
@ -1,60 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xdm
|
||||
PKG_VERSION:=1.1.8
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/individual/app
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
PKG_MD5SUM:=cc1816bc62a3722ad509373b0b7f30fe
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/xdm
|
||||
SECTION:=xorg-app
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
DEPENDS:=+libX11 +libXmu +libXau +libXaw
|
||||
TITLE:=xdm
|
||||
URL:=http://xorg.freedesktop.org/
|
||||
endef
|
||||
|
||||
TARGET_LDFLAGS+=\
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
||||
-Wl,-rpath=/usr/lib
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--without-pam \
|
||||
--with-random-device=/dev/urandom \
|
||||
--disable-dynamic-greeter \
|
||||
--disable-xprint \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/xdm/install
|
||||
$(INSTALL_DIR) $(1)/usr/{bin,lib/X11/xdm,share/X11/app-defaults}
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/* \
|
||||
$(1)/usr/bin/
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/X11/xdm/{X*,chooser,GiveConsole,TakeConsole,xdm-config,pixmaps} \
|
||||
$(1)/usr/lib/X11/xdm/
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/share/X11/app-defaults/* \
|
||||
$(1)/usr/share/X11/app-defaults/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,xdm))
|
@ -1,42 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xeyes
|
||||
PKG_VERSION:=1.0.1
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/app
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
PKG_MD5SUM:=033f14f7c4e30d1f4edbb22d5ef86883
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Package/xeyes
|
||||
SECTION:=xorg-app
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
DEPENDS:=+libX11 +libXt +libXext +libXmu
|
||||
TITLE:=xeyes
|
||||
URL:=http://xorg.freedesktop.org/
|
||||
endef
|
||||
|
||||
define Package/xeyes/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/* \
|
||||
$(1)/usr/bin
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,xeyes))
|
@ -1,80 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2006-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xine-ui
|
||||
PKG_VERSION:=0.99.4
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/xine
|
||||
PKG_MD5SUM:=90ea1f76747e9788a30a73e7f4a76cf6
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
EXTRA_LDLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Package/xine-ui
|
||||
SECTION:=xorg-app
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
TITLE:=xine user interface
|
||||
DEPENDS:=+xine-lib +libpng +curl +libXv +libXt +libICE +libXxf86vm +libpng +libfreetype $(ICONV_DEPENDS)
|
||||
URL:=http://www.xine-project.org/
|
||||
endef
|
||||
|
||||
CONFIGURE_VARS+= \
|
||||
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
|
||||
X_LIBS="" \
|
||||
X_CFLAGS=""
|
||||
|
||||
EXTRA_LDFLAGS:=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
--x-includes="$(STAGING_DIR)/usr/include" \
|
||||
--x-libraries="$(STAGING_DIR)/usr/lib" \
|
||||
--without-aalib \
|
||||
--without-libcaca \
|
||||
--disable-lirc \
|
||||
--without-readline \
|
||||
--disable-shm \
|
||||
--disable-xft
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
|
||||
if [ -x $(CONFIGURE_CMD) ]; then \
|
||||
$(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
|
||||
$(CONFIGURE_VARS) \
|
||||
$(CONFIGURE_CMD) \
|
||||
$(CONFIGURE_ARGS_XTRA) \
|
||||
$(CONFIGURE_ARGS) ;\
|
||||
fi \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
X_LIBS="$(TARGET_LDFLAGS) -lfreetype" \
|
||||
X_CFLAGS=""
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)/ install DESTDIR=$(PKG_INSTALL_DIR)
|
||||
endef
|
||||
|
||||
define Package/xine-ui/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/share
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/share/xine \
|
||||
$(PKG_INSTALL_DIR)/usr/share/pixmaps \
|
||||
$(1)/usr/share/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,xine-ui))
|
@ -1,13 +0,0 @@
|
||||
Index: xine-ui-0.99.4/configure
|
||||
===================================================================
|
||||
--- xine-ui-0.99.4.orig/configure 2007-12-23 01:23:31.650316801 +0100
|
||||
+++ xine-ui-0.99.4/configure 2007-12-23 01:23:42.194917702 +0100
|
||||
@@ -31351,7 +31351,7 @@
|
||||
SYSCONF_DIR=`eval echo "$sysconfdir"`
|
||||
|
||||
|
||||
-INCLUDES='-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_srcdir)/src/common -I$(top_builddir)/src/common -I$(top_srcdir)/src/xitk/xine-toolkit -I$(top_builddir)/src/xitk/xine-toolkit -I$(prefix)/include $(INTLDIR)'
|
||||
+INCLUDES='-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_srcdir)/src/common -I$(top_builddir)/src/common -I$(top_srcdir)/src/xitk/xine-toolkit -I$(top_builddir)/src/xitk/xine-toolkit $(INTLDIR)'
|
||||
|
||||
|
||||
|
@ -1,16 +0,0 @@
|
||||
Index: xine-ui-0.99.4/src/xitk/xine-toolkit/xitk.c
|
||||
===================================================================
|
||||
--- xine-ui-0.99.4.orig/src/xitk/xine-toolkit/xitk.c 2007-12-23 01:26:05.991112183 +0100
|
||||
+++ xine-ui-0.99.4/src/xitk/xine-toolkit/xitk.c 2007-12-23 01:26:10.819387329 +0100
|
||||
@@ -45,11 +45,6 @@
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <locale.h>
|
||||
-
|
||||
-#ifdef __linux__
|
||||
-#include <execinfo.h>
|
||||
-#endif
|
||||
-
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xatom.h>
|
||||
#include <X11/keysym.h>
|
@ -1,13 +0,0 @@
|
||||
Index: xine-ui-0.99.4/configure
|
||||
===================================================================
|
||||
--- xine-ui-0.99.4.orig/configure 2010-11-04 18:11:02.449000004 +0100
|
||||
+++ xine-ui-0.99.4/configure 2010-11-04 18:11:08.594998937 +0100
|
||||
@@ -31102,8 +31102,6 @@
|
||||
echo "your compiler to <xine-devel@lists.sf.net>"\!
|
||||
echo
|
||||
echo "*********************************************************************"
|
||||
- echo "(sleeping one minute so you can read this...)"
|
||||
- sleep 60
|
||||
|
||||
CFLAGS="-O3 $CFLAGS"
|
||||
DEBUG_CFLAGS="-O $DEBUG_CFLAGS"
|
@ -1,41 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xinit
|
||||
PKG_VERSION:=1.0.5
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.3/src/app
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
PKG_MD5SUM:=9a2aad51042141a0e6ad066015397595
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Package/xinit
|
||||
SECTION:=xorg-app
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
DEPENDS:=+libX11
|
||||
TITLE:=xinit
|
||||
URL:=http://xorg.freedesktop.org/
|
||||
endef
|
||||
|
||||
define Package/xinit/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/* \
|
||||
$(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,xinit))
|
@ -1,47 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xmessage
|
||||
PKG_VERSION:=1.0.2
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.3/src/app
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
PKG_MD5SUM:=b4b561ef11fd184989a6062962e86748
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/xmessage
|
||||
SECTION:=xorg-app
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
DEPENDS:=+libXaw
|
||||
TITLE:=xmessage
|
||||
URL:=http://xorg.freedesktop.org/
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS+=LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
|
||||
|
||||
define Build/Compile
|
||||
DESTDIR=$(PKG_INSTALL_DIR) make -C $(PKG_BUILD_DIR) install
|
||||
endef
|
||||
|
||||
define Package/xmessage/install
|
||||
$(INSTALL_DIR) $(1)
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
rm -rf $(1)/usr/man/
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,xmessage))
|
@ -1,51 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xterm
|
||||
PKG_VERSION:=242
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=ftp://mirror1.openwrt.org/
|
||||
PKG_MD5SUM:=663fa3aac8e30e4c2d4bf07c0aee4dca
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/xterm
|
||||
SECTION:=xorg-extra
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=terminals
|
||||
TITLE:=xterm
|
||||
DEPENDS:=+libX11 +libncurses +libXaw
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
# sed -e "s%/usr/contrib/X11R6%${STAGING_DIR}/usr/lib%g" -i $(PKG_BUILD_DIR)/configure
|
||||
cd $(PKG_BUILD_DIR)/; $(TARGET_CONFIGURE_OPTS) $(CONFIGURE_VARS) \
|
||||
$(CONFIGURE_CMD) \
|
||||
$(CONFIGURE_ARGS_XTRA) \
|
||||
$(CONFIGURE_ARGS) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--x-includes=$(STAGING_DIR)/usr/include/ \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib/ \
|
||||
LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
|
||||
endef
|
||||
|
||||
define Package/xterm/install
|
||||
$(INSTALL_DIR) $(1)/usr/ $(1)/usr/share/applications $(1)/usr/share/icons
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin $(1)/usr/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib $(1)/usr/
|
||||
$(CP) ./files/xterm.desktop $(1)/usr/share/applications/
|
||||
$(CP) ./files/terminal.png $(1)/usr/share/icons/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,xterm))
|
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB |
@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=XTerm
|
||||
Comment=XTerm Terminal Emulator
|
||||
Encoding=UTF-8
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Exec=xterm
|
||||
Icon=terminal
|
||||
Terminal=false
|
||||
Categories=GTK;Application;PIM
|
||||
SingleInstance=false
|
||||
StartupNotify=true
|
@ -1,19 +0,0 @@
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 62a2882..159755b 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -160,10 +160,10 @@ resize$x : $(OBJS2)
|
||||
|
||||
charproc$o : main.h @CHARPROC_DEPS@
|
||||
################################################################################
|
||||
-actual_xterm = `echo xterm| sed '$(transform)'`
|
||||
-actual_resize = `echo resize| sed '$(transform)'`
|
||||
-actual_uxterm = `echo uxterm| sed '$(transform)'`
|
||||
-actual_k8term = `echo koi8rxterm| sed '$(transform)'`
|
||||
+actual_xterm = xterm
|
||||
+actual_resize = resize
|
||||
+actual_uxterm = uxterm
|
||||
+actual_k8term = koi8rxterm
|
||||
|
||||
binary_xterm = $(actual_xterm)$x
|
||||
binary_resize = $(actual_resize)$x
|
@ -1,50 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2009-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xf86-input-tslib
|
||||
PKG_VERSION:=0.0.6
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_URL:=http://www.pengutronix.de/software/xf86-input-tslib/download/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
PKG_MD5SUM:=b7a4d2f11637ee3fcf432e044b1d017f
|
||||
|
||||
PKG_BUILD_DEPENDS:=randrproto inputproto xproto
|
||||
PKG_FIXUP:=libtool
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
ifeq ($(CONFIG_TARGET_s3c24xx),y)
|
||||
TS_POINTERCAL=om_gta02
|
||||
endif
|
||||
|
||||
define Package/xf86-input-tslib
|
||||
SECTION:=xorg-driver
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=driver
|
||||
DEPENDS:=+xserver-xorg +tslib
|
||||
TITLE:=xf86-input-tslib
|
||||
URL:=http://www.pengutronix.de/software/xf86-input-tslib/
|
||||
endef
|
||||
|
||||
define Package/xf86-input-tslib/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/xorg/modules/input $(1)/etc
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/xorg/modules/input/tslib_drv.so \
|
||||
$(1)/usr/lib/xorg/modules/input/
|
||||
$(if $(TS_POINTERCAL), \
|
||||
$(INSTALL_DATA) \
|
||||
./files/pointercal.$(TS_POINTERCAL) \
|
||||
$(1)/etc/pointercal \
|
||||
)
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,xf86-input-tslib))
|
Binary file not shown.
@ -1,58 +0,0 @@
|
||||
commit 69fcc78ea931f8a84497f4ee9021f4493f45a778
|
||||
Author: Lars-Peter Clausen <lars@metafoo.de>
|
||||
Date: Sun Feb 1 16:44:24 2009 +0100
|
||||
|
||||
Put #ifdef DEBUG around debug output.
|
||||
|
||||
Index: xf86-input-tslib-0.0.6/src/tslib.c
|
||||
===================================================================
|
||||
--- xf86-input-tslib-0.0.6.orig/src/tslib.c 2009-10-19 17:07:18.000000000 +0200
|
||||
+++ xf86-input-tslib-0.0.6/src/tslib.c 2011-01-27 22:36:41.772784019 +0100
|
||||
@@ -89,21 +89,27 @@
|
||||
static void
|
||||
BellProc(int percent, DeviceIntPtr pDev, pointer ctrl, int unused)
|
||||
{
|
||||
+#ifdef DEBUG
|
||||
ErrorF("%s\n", __FUNCTION__);
|
||||
+#endif
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
KeyControlProc(DeviceIntPtr pDev, KeybdCtrl * ctrl)
|
||||
{
|
||||
+#ifdef DEBUG
|
||||
ErrorF("%s\n", __FUNCTION__);
|
||||
+#endif
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
PointerControlProc(DeviceIntPtr dev, PtrCtrl * ctrl)
|
||||
{
|
||||
+#ifdef DEBUG
|
||||
ErrorF("%s\n", __FUNCTION__);
|
||||
+#endif
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -327,7 +333,9 @@
|
||||
int i, axiswidth, axisheight;
|
||||
struct ts_priv *priv;
|
||||
|
||||
+#ifdef DEBUG
|
||||
ErrorF("%s\n", __FUNCTION__);
|
||||
+#endif
|
||||
pInfo = device->public.devicePrivate;
|
||||
priv = pInfo->private;
|
||||
|
||||
@@ -431,7 +439,9 @@
|
||||
xf86TslibUninit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)
|
||||
{
|
||||
struct ts_priv *priv = (struct ts_priv *)(pInfo->private);
|
||||
+#ifdef DEBUG
|
||||
ErrorF("%s\n", __FUNCTION__);
|
||||
+#endif
|
||||
xf86TslibControlProc(pInfo->dev, DEVICE_OFF);
|
||||
ts_close(priv->ts);
|
||||
xfree(pInfo->private);
|
@ -1,55 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2009 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xf86-video-glamo
|
||||
PKG_VERSION:=20091029
|
||||
PKG_REV:=15954340b4b7aaf6ab850c149c2f75c1555d9360
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=git://git.openmoko.org/git/xf86-video-glamo.git
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||||
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
PKG_BUILD_DEPENDS:=xproto fontsproto randrproto renderproto videoproto
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/xf86-video-glamo
|
||||
TITLE:=xf86-video-glamo
|
||||
SECTION:=xorg-driver
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=driver
|
||||
URL:=http://git.openmoko.org/?p=xf86-video-glamo.git
|
||||
DEPENDS:=@DISPLAY_SUPPORT @arm||armeb @TARGET_s3c24xx +xserver-xorg
|
||||
endef
|
||||
|
||||
define Package/xf86-video-glamo/description
|
||||
xorg video driver for the smedia glamo 3362 chip.
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR) && autoreconf --force --install)
|
||||
$(call Build/Configure/Default, \
|
||||
--disable-jbt6k74-set-state \
|
||||
--enable-engine-ioctls \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/xf86-video-glamo/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/xorg/modules/drivers
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/xorg/modules/drivers/glamo_drv.so \
|
||||
$(1)/usr/lib/xorg/modules/drivers/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,xf86-video-glamo))
|
@ -1,12 +0,0 @@
|
||||
diff --git a/src/glamo-engine.h b/src/glamo-engine.h
|
||||
index 0664341..92a5ed5 100644
|
||||
--- a/src/glamo-engine.h
|
||||
+++ b/src/glamo-engine.h
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
#ifdef HAVE_ENGINE_IOCTLS
|
||||
#include <linux/glamofb.h>
|
||||
+#include <linux/glamo-engine.h>
|
||||
|
||||
#define GLAMOEngine glamo_engine
|
||||
#define GLAMO_ENGINE_ALL __NUM_GLAMO_ENGINES
|
@ -1,91 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=dejavu-fonts-ttf
|
||||
PKG_VERSION:=2.23
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}-$(PKG_VERSION)/
|
||||
PKG_SOURCE_URL:=@SF/dejavu
|
||||
PKG_MD5SUM:=ff871dff0b3e8a11cd5c54478f11073f
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
FILES:= \
|
||||
DejaVuSans-BoldOblique \
|
||||
DejaVuSans-Bold \
|
||||
DejaVuSansCondensed-BoldOblique \
|
||||
DejaVuSansCondensed-Bold \
|
||||
DejaVuSansCondensed-Oblique \
|
||||
DejaVuSansCondensed \
|
||||
DejaVuSans-ExtraLight \
|
||||
DejaVuSansMono-BoldOblique \
|
||||
DejaVuSansMono-Bold \
|
||||
DejaVuSansMono-Oblique \
|
||||
DejaVuSansMono \
|
||||
DejaVuSans-Oblique \
|
||||
DejaVuSans \
|
||||
DejaVuSerif-BoldItalic \
|
||||
DejaVuSerif-Bold \
|
||||
DejaVuSerifCondensed-BoldItalic \
|
||||
DejaVuSerifCondensed-Bold \
|
||||
DejaVuSerifCondensed-Italic \
|
||||
DejaVuSerifCondensed \
|
||||
DejaVuSerif-Italic \
|
||||
DejaVuSerif
|
||||
|
||||
define PartGen
|
||||
define Package/dejavu-fonts-ttf-$(1)
|
||||
SECTION:=xorg-font
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=font
|
||||
TITLE:=$(1)
|
||||
DEPENDS:=dejavu-fonts-ttf
|
||||
endef
|
||||
endef
|
||||
|
||||
define Package/dejavu-fonts-ttf
|
||||
TITLE:=dejavu-fonts-ttf
|
||||
SECTION:=xorg-font
|
||||
SUBMENU:=font
|
||||
CATEGORY:=Xorg
|
||||
URL:=http://dejavu.sourceforge.net/
|
||||
DEPENDS:=@DISPLAY_SUPPORT
|
||||
endef
|
||||
|
||||
define Package/dejavu-fonts-ttf/install
|
||||
true
|
||||
endef
|
||||
|
||||
$(foreach file,$(FILES),$(eval $(call PartGen,$(file))))
|
||||
|
||||
define Build/Compile
|
||||
true
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
true
|
||||
endef
|
||||
|
||||
define PartInstall
|
||||
define Package/dejavu-fonts-ttf-$(1)/install
|
||||
$(INSTALL_DIR) \
|
||||
$$(1)/usr/share/fonts/ttf-dejavu
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_BUILD_DIR)/ttf/$(1).ttf \
|
||||
$$(1)/usr/share/fonts/ttf-dejavu/
|
||||
endef
|
||||
endef
|
||||
|
||||
$(foreach file,$(FILES),$(eval $(call PartInstall,$(file))))
|
||||
|
||||
$(eval $(call BuildPackage,dejavu-fonts-ttf))
|
||||
$(foreach file,$(FILES),$(eval $(call BuildPackage,dejavu-fonts-ttf-$(file))))
|
||||
|
@ -1,44 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2009 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=liberation-fonts
|
||||
PKG_RELEASE:=1
|
||||
PKG_VERSION:=1.04
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
PKG_SOURCE_URL:=http://fedorahosted.org/releases/l/i/liberation-fonts/
|
||||
PKG_MD5SUM:=4846797ef0fc70b0cbaede2514677c58
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/liberation-fonts-ttf
|
||||
SECTION:=xorg-font
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=font
|
||||
TITLE:=liberation-fonts-ttf
|
||||
URL:=https://fedorahosted.org/liberation-fonts/
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
true
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
true
|
||||
endef
|
||||
|
||||
define Package/liberation-fonts-ttf/install
|
||||
$(INSTALL_DIR) $(1)/usr/share/fonts/truetype/liberation
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_BUILD_DIR)/*.ttf \
|
||||
$(1)/usr/share/fonts/truetype/liberation/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,liberation-fonts-ttf))
|
||||
|
@ -1,30 +0,0 @@
|
||||
#!/bin/sh
|
||||
for d in `find . -name packages | grep driver`; do
|
||||
cd `dirname $d`
|
||||
echo "Entering "`dirname $d`
|
||||
for p in `cat packages`; do
|
||||
_NAME=${p%%|*}
|
||||
NAME=${_NAME%-*}
|
||||
BASE_NAME=${NAME%%-*}
|
||||
VER=${_NAME##*-}
|
||||
DEP=`echo ${p##*|} | sed "s/+/ +/g"`
|
||||
echo generating Makefile for ${NAME}-${VER} with deps : ${DEP}
|
||||
rm -f ${NAME}/Makefile
|
||||
if [ -e ${NAME}/patches ]; then
|
||||
rm -f ${NAME}/patches/*
|
||||
fi
|
||||
if [ "$1" = "gen" ]; then
|
||||
if [ ! -e ${NAME} ]; then
|
||||
mkdir ${NAME}
|
||||
fi
|
||||
sed "s/@VER@/${VER}/g" template.mk | sed "s/@DEP@/${DEP}/g" | sed "s/@NAME@/${NAME}/g" | sed "s/@BASE_NAME@/${BASE_NAME}/g" > ${NAME}/Makefile
|
||||
if [ -d `pwd`/patches/${NAME} ]; then
|
||||
if [ ! -d ${NAME}/patches ]; then
|
||||
mkdir ${NAME}/patches
|
||||
fi
|
||||
cp -r `pwd`/patches/${NAME}/* ${NAME}/patches/
|
||||
fi
|
||||
fi
|
||||
done
|
||||
cd - > /dev/null
|
||||
done
|
@ -1,46 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2006-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=atk
|
||||
PKG_VERSION:=1.22.0
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/1.22/
|
||||
PKG_MD5SUM:=06a2b39a22d5ca35c47435da6b9643ac
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
define Package/atk
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=Accesibility library for gtk+ apps
|
||||
DEPENDS:=+glib2
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/{lib,include}
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||
endef
|
||||
|
||||
define Package/atk/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*so* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,atk))
|
@ -1,11 +0,0 @@
|
||||
--- atk-1.22.0.orig/configure.in 2008-03-10 08:27:08.000000000 +0100
|
||||
+++ atk-1.22.0/configure.in 2010-12-10 16:06:39.479379673 +0100
|
||||
@@ -178,7 +178,7 @@
|
||||
|
||||
AC_CHECK_FUNCS(bind_textdomain_codeset)
|
||||
|
||||
-GTK_DOC_CHECK([1.0])
|
||||
+#GTK_DOC_CHECK([1.0])
|
||||
|
||||
# define a MAINT-like variable REBUILD which is set if Perl
|
||||
# and awk are found, so autogenerated sources can be rebuilt
|
@ -1,50 +0,0 @@
|
||||
--- atk-1.22.0.orig/Makefile.in 2008-03-10 08:30:11.000000000 +0100
|
||||
+++ atk-1.22.0/Makefile.in 2010-12-10 16:10:24.239380634 +0100
|
||||
@@ -243,7 +243,7 @@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
-SUBDIRS = atk tests docs po
|
||||
+SUBDIRS = atk
|
||||
EXTRA_DIST = \
|
||||
MAINTAINERS \
|
||||
atk-uninstalled.pc.in \
|
||||
--- atk-1.22.0.orig/Makefile.am 2007-12-17 17:36:22.000000000 +0100
|
||||
+++ atk-1.22.0/Makefile.am 2010-12-10 16:17:15.255377279 +0100
|
||||
@@ -1,6 +1,6 @@
|
||||
# Process this file with automake to create Makefile.in.
|
||||
|
||||
-SUBDIRS=atk tests docs po
|
||||
+SUBDIRS=atk
|
||||
|
||||
EXTRA_DIST = \
|
||||
MAINTAINERS \
|
||||
--- atk-1.22.0.orig/Makefile.in 2010-12-10 18:56:15.011379161 +0100
|
||||
+++ atk-1.22.0/Makefile.in 2010-12-10 18:57:34.439378866 +0100
|
||||
@@ -486,7 +486,7 @@
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
mkdir $(distdir)
|
||||
- $(mkdir_p) $(distdir)/. $(distdir)/atk $(distdir)/docs $(distdir)/po
|
||||
+ $(mkdir_p) $(distdir)/. $(distdir)/atk
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
diff -ruN atk-1.22.0/configure.in atk-1.22.0.mod//configure.in
|
||||
--- atk-1.22.0/configure.in 2010-12-10 19:11:38.335379754 +0100
|
||||
+++ atk-1.22.0.mod//configure.in 2010-12-10 19:08:56.155380379 +0100
|
||||
@@ -197,14 +197,10 @@
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
-po/Makefile.in
|
||||
atk.pc
|
||||
atk-uninstalled.pc
|
||||
atk/Makefile
|
||||
atk/atk.rc
|
||||
-tests/Makefile
|
||||
-docs/Makefile
|
||||
-docs/version.xml
|
||||
atk.spec
|
||||
atk-zip.sh
|
||||
])
|
@ -1,66 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=cairo
|
||||
PKG_VERSION:=1.8.8
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://cairographics.org/releases/
|
||||
PKG_MD5SUM:=d3e1a1035ae563812d4dd44a74fb0dd0
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
define Package/cairo
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=Multi-platform 2D graphics library
|
||||
DEPENDS:=+fontconfig +libpng +libexpat +pixman \
|
||||
+FEATURE_drawing-backend_DirectFB:directfb \
|
||||
+FEATURE_drawing-backend_libX11:libX11
|
||||
URL:=http://cairographics.org/
|
||||
endef
|
||||
|
||||
define Package/cairo/description
|
||||
Cairo is a 2D graphics library. The cairo API provides operations similar
|
||||
to the drawing operators of PostScript and PDF. Operations in cairo
|
||||
include stroking and filling cubic Bézier splines, transforming and
|
||||
compositing translucent images, and antialiased text rendering. All
|
||||
drawing operations can be transformed by any affine transformation
|
||||
(scale, rotation, shear, etc.).
|
||||
endef
|
||||
|
||||
CONFIGURE_VARS+=FONTCONFIG_LIBS="-lfreetype -lfontconfig -lz -lexpat"
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
--enable-freetype=yes \
|
||||
--disable-win32 \
|
||||
--enable-xlib-xrender=no \
|
||||
$(if $(CONFIG_FEATURE_drawing-backend_DirectFB), --enable-directfb, --disable-directfb) \
|
||||
$(if $(CONFIG_FEATURE_drawing-backend_libX11), --enable-xlib --with-x, --disable-xlib --without-x)
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} $(1)/usr/lib/
|
||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
|
||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
|
||||
$(INSTALL_DIR) $(1)/usr/include/cairo/
|
||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/cairo/* $(1)/usr/include/cairo/
|
||||
endef
|
||||
|
||||
define Package/cairo/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,cairo))
|
@ -1,63 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=cairomm
|
||||
PKG_VERSION:=1.8.4
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://cairographics.org/releases/
|
||||
PKG_MD5SUM:=559afbc47484ba3fad265e38a3dafe90
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/cairomm
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=Multi-platform 2D graphics library
|
||||
DEPENDS:=+libsigcxx +cairo
|
||||
URL:=http://cairographics.org/cairomm/
|
||||
endef
|
||||
|
||||
define Package/cairomm/description
|
||||
c++-bindings for cairo
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib \
|
||||
$(1)/usr/lib/pkgconfig \
|
||||
$(1)/usr/include
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
||||
$(1)/usr/lib/pkgconfig/
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/* \
|
||||
$(1)/usr/include/
|
||||
endef
|
||||
|
||||
define Package/cairomm/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib/
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,cairomm))
|
@ -1,65 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2006-2008 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=fltk2
|
||||
PKG_REV:=6671
|
||||
PKG_VERSION:=r$(PKG_REV)
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_PROTO:=svn
|
||||
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://svn.easysw.com/public/fltk/fltk/trunk
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/fltk2
|
||||
SECTION:=xorg-framework
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=framework
|
||||
TITLE:=Fltk2
|
||||
URL:=http://fltk.org/
|
||||
DEPENDS:=+libXi +libstdcpp +libfreetype
|
||||
endef
|
||||
|
||||
define Package/fltk2/description
|
||||
FLTK (pronounced <fulltick>) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL and its built-in GLUT emulation.
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); autoconf );
|
||||
$(call Build/Configure/Default, --disable-jpeg --disable-zlib --disable-png --disable-gl --disable-xinerama --enable-shared --x-libraries=$(STAGING_DIR)/usr/lib --x-includes=$(STAGING_DIR)/usr/include)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) all
|
||||
endef
|
||||
|
||||
define Build/Install
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) install
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/lib $(1)/usr/bin $(1)/usr/include
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/fltk $(1)/usr/include/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/fltk2-config $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
define Package/fltk2/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,fltk2))
|
@ -1,11 +0,0 @@
|
||||
--- fltk2/Makefile 2009-01-02 01:41:31.000000000 +0100
|
||||
+++ fltk2/Makefile 2009-01-02 01:40:36.000000000 +0100
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
include makeinclude
|
||||
|
||||
-DIRS = src $(LOCALIMAGES) images OpenGL fluid glut test
|
||||
+DIRS = src $(LOCALIMAGES) images
|
||||
|
||||
all: makeinclude
|
||||
for dir in $(DIRS); do\
|
@ -1,12 +0,0 @@
|
||||
--- fltk2/makeinclude.in 2009-01-02 02:28:29.000000000 +0100
|
||||
+++ fltk2/makeinclude.in 2009-01-02 02:28:43.000000000 +0100
|
||||
@@ -114,9 +114,6 @@
|
||||
CAT1EXT = @CAT1EXT@
|
||||
CAT3EXT = @CAT3EXT@
|
||||
|
||||
-# Be quiet when building...
|
||||
-.SILENT:
|
||||
-
|
||||
# Build commands and filename extensions...
|
||||
.SUFFIXES: .0 .1 .3 .c .cxx .h .fl .man .o .z $(EXEEXT)
|
||||
|
@ -1,26 +0,0 @@
|
||||
Index: fltk2-r6671/makeinclude.in
|
||||
===================================================================
|
||||
--- fltk2-r6671.orig/makeinclude.in 2010-11-03 02:16:42.106000002 +0100
|
||||
+++ fltk2-r6671/makeinclude.in 2010-11-03 02:16:43.163002267 +0100
|
||||
@@ -54,6 +54,7 @@
|
||||
|
||||
# flags for C++ compiler:
|
||||
OPTIM = @OPTIM@
|
||||
+CPPFLAGS = @CPPFLAGS@
|
||||
CFLAGS = $(OPTIM) @CFLAGS@
|
||||
CXXFLAGS = $(OPTIM) @CXXFLAGS@
|
||||
|
||||
@@ -124,11 +125,11 @@
|
||||
|
||||
.c.o:
|
||||
echo Compiling $<...
|
||||
- $(CC) -I.. -I../fltk/compat $(CFLAGS) -c $<
|
||||
+ $(CC) $(CPPFLAGS) -I.. -I../fltk/compat $(CFLAGS) -c $<
|
||||
|
||||
.cxx.o:
|
||||
echo Compiling $<...
|
||||
- $(CXX) -I.. -I../fltk/compat $(CXXFLAGS) -c $<
|
||||
+ $(CXX) $(CPPFLAGS) -I.. -I../fltk/compat $(CXXFLAGS) -c $<
|
||||
|
||||
.man.0 .man.1 .man.3:
|
||||
echo Formatting $<...
|
@ -1,14 +0,0 @@
|
||||
Index: fltk2-r6671/src/filename_list.cxx
|
||||
===================================================================
|
||||
--- fltk2-r6671.orig/src/filename_list.cxx 2010-11-03 02:17:17.243001500 +0100
|
||||
+++ fltk2-r6671/src/filename_list.cxx 2010-11-03 02:24:13.400999350 +0100
|
||||
@@ -62,6 +62,9 @@
|
||||
// This version is when we define our own scandir (WIN32 and perhaps
|
||||
// some Unix systems):
|
||||
int n = scandir(d, list, 0, sort);
|
||||
+#elif defined(__UCLIBC_MAJOR__) && \
|
||||
+ __UCLIBC_MAJOR__ >= 0 && __UCLIBC_MINOR__ >= 9 && __UCLIBC_SUBLEVEL__ >= 31
|
||||
+ int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);
|
||||
#elif defined(__linux) || defined (__FreeBSD__) || defined (__NetBSD__)
|
||||
int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
|
||||
#elif defined(__hpux) || defined(__CYGWIN__)
|
@ -1,55 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2006-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gtk1
|
||||
PKG_VERSION:=1.2.10
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=gtk+-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@GNOME/gtk+/1.2/
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/gtk+-1.2.10
|
||||
PKG_MD5SUM:=4d5cb2fc7fb7830e4af9747a36bfce20
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
PKG_INSTALL=1
|
||||
|
||||
CONFIGURE_ARGS_XTRA+=--x-includes=$(STAGING_DIR)/usr/include/ \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib \
|
||||
--with-glib-prefix=$(STAGING_DIR)/usr/ \
|
||||
--enable-static=yes \
|
||||
--enable-static=yes
|
||||
|
||||
EXTRA_CFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include/glib-1.2 -I$(STAGING_DIR)/usr/lib/glib/include
|
||||
EXTRA_LDFLAGS+=-lglib -lgmodule
|
||||
|
||||
define Package/gtk1
|
||||
SECTION:=xorg-framework
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=framework
|
||||
TITLE:=GTK+ 1.2.10 package
|
||||
DEPENDS:=+glib1 +libX11 +libXt
|
||||
URL:=http://www.gtk.org/
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
$(INSTALL_DIR) $(2)/bin
|
||||
mv $(1)/usr/bin/gtk-config $(2)/bin/
|
||||
$(SED) "s,libdirs=-L.*,libdirs=,g" $(2)/bin/gtk-config
|
||||
$(SED) \
|
||||
's,^\(prefix\|exec_prefix\)=.*,\1="$(STAGING_DIR)/usr",g' \
|
||||
$(2)/bin/gtk-config
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,gtk1))
|
@ -1,133 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gtk2
|
||||
PKG_VERSION:=2.17.0
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=gtk+-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=@GNOME/gtk+/2.17
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/gtk+-$(PKG_VERSION)
|
||||
PKG_MD5SUM:=a1a1f0b66a240c31cb2733643f9170ba
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
TARGET_LDFLAGS+=\
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_gtk2 CONFIG_PACKAGE_gtk2-cups)
|
||||
|
||||
# We can _either_ compile gtk2 with directfb-support _or_ against libX11 (libX11 is preferred when both libs are selected)
|
||||
|
||||
define Package/gtk2
|
||||
SECTION:=xorg-framework
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=framework
|
||||
TITLE:=GTK+-2.0
|
||||
DEPENDS:=@DISPLAY_SUPPORT +cairo +pango +libpng +libjpeg +atk +libtiff +glib2 \
|
||||
+FEATURE_drawing-backend_DirectFB:directfb \
|
||||
+FEATURE_drawing-backend_libX11:libX11 \
|
||||
+FEATURE_drawing-backend_libX11:libXext \
|
||||
+FEATURE_drawing-backend_libX11:libXrender \
|
||||
+FEATURE_drawing-backend_libX11:libXfixes \
|
||||
+FEATURE_drawing-backend_libX11:libXrandr \
|
||||
+FEATURE_drawing-backend_libX11:libXcursor \
|
||||
+FEATURE_drawing-backend_libX11:libXdamage \
|
||||
+FEATURE_drawing-backend_libX11:libXcomposite \
|
||||
+FEATURE_drawing-backend_libX11:libXi
|
||||
URL:=http://www.gtk.org/
|
||||
endef
|
||||
|
||||
define Package/gtk2-cups
|
||||
SECTION:=xorg-framework
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=framework
|
||||
TITLE:=CUPS print backend for GTK+-2.0
|
||||
DEPENDS:=gtk2 +cups
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--enable-shm \
|
||||
--disable-xkb \
|
||||
--disable-glibtest \
|
||||
--disable-gdiplus \
|
||||
--disable-xinerama \
|
||||
--without-libjasper \
|
||||
--without-xinput \
|
||||
$(if $(CONFIG_FEATURE_drawing-backend_DirectFB),--with-gdktarget=directfb,) \
|
||||
$(if $(CONFIG_FEATURE_drawing-backend_libX11),--with-x --with-gdktarget=x11,--without-x) \
|
||||
$(if $(CONFIG_PACKAGE_gtk2-cups),--enable-cups=auto,--disable-cups), \
|
||||
gio_can_sniff=no \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include}
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/gtk-2.0/include/* $(1)/usr/include/
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.{so*,la} \
|
||||
$(1)/usr/lib/
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
||||
$(1)/usr/lib/pkgconfig/
|
||||
endef
|
||||
|
||||
define Package/gtk2/install
|
||||
$(INSTALL_DIR) $(1)/etc/gtk-2.0
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/etc/gtk-2.0/* \
|
||||
$(1)/etc/gtk-2.0/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
$(foreach d,engines immodules loaders, \
|
||||
$(INSTALL_DIR) $(1)/usr/lib/gtk-2.0/2.10.0/$(d); \
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/gtk-2.0/2.10.0/$(d)/*.so \
|
||||
$(1)/usr/lib/gtk-2.0/2.10.0/$(d)/;\
|
||||
)
|
||||
$(INSTALL_DIR) $(1)/usr/lib/gtk-2.0/2.10.0/printbackends/
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-{file,lpr}.so \
|
||||
$(1)/usr/lib/gtk-2.0/2.10.0/printbackends/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/bin/
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/{gdk-pixbuf-query-loaders,gtk-query-immodules-2.0,gtk-update-icon-cache} \
|
||||
$(1)/usr/bin/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/share/themes/
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/share/themes/* \
|
||||
$(1)/usr/share/themes/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/init.d/
|
||||
$(INSTALL_BIN) ./files/gdk-pixbuf-query-loaders.init $(1)/etc/init.d/gdk-pixbuf-query-loaders
|
||||
endef
|
||||
|
||||
define Package/gtk2-cups/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/gtk-2.0/2.10.0/printbackends/
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so \
|
||||
$(1)/usr/lib/gtk-2.0/2.10.0/printbackends/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,gtk2))
|
||||
$(eval $(call BuildPackage,gtk2-cups))
|
@ -1,12 +0,0 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2007 OpenWrt.org
|
||||
|
||||
START=99
|
||||
FILE=/etc/gtk-2.0/gdk-pixbuf.loaders
|
||||
|
||||
start() {
|
||||
if [ ! -e ${FILE} ]; then
|
||||
mkdir -p $(dirname ${FILE})
|
||||
gdk-pixbuf-query-loaders > ${FILE}
|
||||
fi
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- gtk+-2.17.0.orig/configure.in 2009-05-04 06:43:43.000000000 +0200
|
||||
+++ gtk+-2.17.0/configure.in 2010-12-10 16:28:28.359377713 +0100
|
||||
@@ -1929,7 +1929,7 @@
|
||||
# Checks for gtk-doc and docbook-tools
|
||||
##################################################
|
||||
|
||||
-GTK_DOC_CHECK([1.11])
|
||||
+#GTK_DOC_CHECK([1.11])
|
||||
|
||||
AC_CHECK_PROG(DB2HTML, db2html, true, false)
|
||||
AM_CONDITIONAL(HAVE_DOCBOOK, $DB2HTML)
|
@ -1,28 +0,0 @@
|
||||
diff -ruN gtk+-2.17.0.orig/Makefile.am gtk+-2.17.0/Makefile.am
|
||||
--- gtk+-2.17.0.orig/Makefile.am 2009-05-03 18:39:14.000000000 +0200
|
||||
+++ gtk+-2.17.0/Makefile.am 2009-10-16 23:53:15.000000000 +0200
|
||||
@@ -1,8 +1,8 @@
|
||||
## Makefile.am for GTK+
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
-SRC_SUBDIRS = gdk-pixbuf gdk gtk modules demos tests perf contrib
|
||||
-SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros
|
||||
+SRC_SUBDIRS = gdk-pixbuf gdk gtk modules contrib
|
||||
+SUBDIRS = po po-properties $(SRC_SUBDIRS) m4macros
|
||||
|
||||
# require automake 1.4
|
||||
AUTOMAKE_OPTIONS = 1.7
|
||||
diff -ruN gtk+-2.17.0.orig/Makefile.in gtk+-2.17.0/Makefile.in
|
||||
--- gtk+-2.17.0.orig/Makefile.in 2009-05-04 06:45:42.000000000 +0200
|
||||
+++ gtk+-2.17.0/Makefile.in 2009-10-16 23:53:07.000000000 +0200
|
||||
@@ -523,8 +523,8 @@
|
||||
&& DISPLAY=:$$XID && export DISPLAY
|
||||
|
||||
|
||||
-SRC_SUBDIRS = gdk-pixbuf gdk gtk modules demos tests perf contrib
|
||||
-SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros
|
||||
+SRC_SUBDIRS = gdk-pixbuf gdk gtk modules contrib
|
||||
+SUBDIRS = po po-properties $(SRC_SUBDIRS) m4macros
|
||||
|
||||
# require automake 1.4
|
||||
AUTOMAKE_OPTIONS = 1.7
|
@ -1,207 +0,0 @@
|
||||
--- gtk+-2.17.0.orig/Makefile.in 2010-12-09 01:26:16.995377995 +0100
|
||||
+++ gtk+-2.17.0/Makefile.in 2010-12-10 16:30:00.283378413 +0100
|
||||
@@ -407,95 +407,7 @@
|
||||
config.h.win32 \
|
||||
makefile.msc \
|
||||
gtk-zip.sh.in \
|
||||
- sanitize-la.sh \
|
||||
- po/README.translators \
|
||||
- po/po2tbl.sed.in \
|
||||
- examples/aspectframe/Makefile \
|
||||
- examples/aspectframe/aspectframe.c \
|
||||
- examples/Makefile \
|
||||
- examples/README.1ST \
|
||||
- examples/extract.awk \
|
||||
- examples/extract.sh \
|
||||
- examples/arrow/Makefile \
|
||||
- examples/arrow/arrow.c \
|
||||
- examples/base/Makefile \
|
||||
- examples/base/base.c \
|
||||
- examples/buttonbox/Makefile \
|
||||
- examples/buttonbox/buttonbox.c \
|
||||
- examples/buttons/Makefile \
|
||||
- examples/buttons/buttons.c \
|
||||
- examples/buttons/info.xpm \
|
||||
- examples/calendar/Makefile \
|
||||
- examples/calendar/calendar.c \
|
||||
- examples/clist/Makefile \
|
||||
- examples/clist/clist.c \
|
||||
- examples/entry/Makefile \
|
||||
- examples/entry/entry.c \
|
||||
- examples/eventbox/Makefile \
|
||||
- examples/eventbox/eventbox.c \
|
||||
- examples/filesel/Makefile \
|
||||
- examples/filesel/filesel.c \
|
||||
- examples/gtkdial/Makefile \
|
||||
- examples/gtkdial/dial_test.c \
|
||||
- examples/gtkdial/gtkdial.c \
|
||||
- examples/gtkdial/gtkdial.h \
|
||||
- examples/helloworld/Makefile \
|
||||
- examples/helloworld/helloworld.c \
|
||||
- examples/helloworld2/Makefile \
|
||||
- examples/helloworld2/helloworld2.c \
|
||||
- examples/label/Makefile \
|
||||
- examples/label/label.c \
|
||||
- examples/list/Makefile \
|
||||
- examples/list/list.c \
|
||||
- examples/menu/Makefile \
|
||||
- examples/menu/menu.c \
|
||||
- examples/menu/itemfactory.c \
|
||||
- examples/notebook/Makefile \
|
||||
- examples/notebook/notebook.c \
|
||||
- examples/packbox/Makefile \
|
||||
- examples/packbox/packbox.c \
|
||||
- examples/paned/Makefile \
|
||||
- examples/paned/paned.c \
|
||||
- examples/pixmap/Makefile \
|
||||
- examples/pixmap/pixmap.c \
|
||||
- examples/progressbar/Makefile \
|
||||
- examples/progressbar/progressbar.c \
|
||||
- examples/radiobuttons/Makefile \
|
||||
- examples/radiobuttons/radiobuttons.c \
|
||||
- examples/rangewidgets/Makefile \
|
||||
- examples/rangewidgets/rangewidgets.c \
|
||||
- examples/rulers/Makefile \
|
||||
- examples/rulers/rulers.c \
|
||||
- examples/scribble-simple/Makefile \
|
||||
- examples/scribble-simple/scribble-simple.c \
|
||||
- examples/scribble-xinput/Makefile \
|
||||
- examples/scribble-xinput/scribble-xinput.c \
|
||||
- examples/scrolledwin/Makefile \
|
||||
- examples/scrolledwin/scrolledwin.c \
|
||||
- examples/selection/Makefile \
|
||||
- examples/selection/gettargets.c \
|
||||
- examples/selection/setselection.c \
|
||||
- examples/statusbar/Makefile \
|
||||
- examples/statusbar/statusbar.c \
|
||||
- examples/table/Makefile \
|
||||
- examples/table/table.c \
|
||||
- examples/text/Makefile \
|
||||
- examples/text/text.c \
|
||||
- examples/tictactoe/Makefile \
|
||||
- examples/tictactoe/tictactoe.c \
|
||||
- examples/tictactoe/tictactoe.h \
|
||||
- examples/tictactoe/ttt_test.c \
|
||||
- examples/tree/Makefile \
|
||||
- examples/tree/tree.c \
|
||||
- examples/wheelbarrow/Makefile \
|
||||
- examples/wheelbarrow/wheelbarrow.c \
|
||||
- examples/fixed/fixed.c \
|
||||
- examples/fixed/Makefile \
|
||||
- examples/frame/frame.c \
|
||||
- examples/frame/Makefile \
|
||||
- examples/spinbutton/spinbutton.c \
|
||||
- examples/spinbutton/Makefile \
|
||||
- examples/find-examples.sh
|
||||
+ sanitize-la.sh
|
||||
|
||||
TEST_PROGS =
|
||||
|
||||
@@ -803,7 +715,7 @@
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
mkdir $(distdir)
|
||||
- $(mkinstalldirs) $(distdir)/. $(distdir)/contrib/gdk-pixbuf-xlib $(distdir)/demos/gtk-demo $(distdir)/docs/reference/gdk $(distdir)/docs/reference/gdk-pixbuf $(distdir)/docs/reference/gtk $(distdir)/examples $(distdir)/examples/arrow $(distdir)/examples/aspectframe $(distdir)/examples/base $(distdir)/examples/buttonbox $(distdir)/examples/buttons $(distdir)/examples/calendar $(distdir)/examples/clist $(distdir)/examples/entry $(distdir)/examples/eventbox $(distdir)/examples/filesel $(distdir)/examples/fixed $(distdir)/examples/frame $(distdir)/examples/gtkdial $(distdir)/examples/helloworld $(distdir)/examples/helloworld2 $(distdir)/examples/label $(distdir)/examples/list $(distdir)/examples/menu $(distdir)/examples/notebook $(distdir)/examples/packbox $(distdir)/examples/paned $(distdir)/examples/pixmap $(distdir)/examples/progressbar $(distdir)/examples/radiobuttons $(distdir)/examples/rangewidgets $(distdir)/examples/rulers $(distdir)/examples/scribble-simple $(distdir)/examples/scribble-xinput $(distdir)/examples/scrolledwin $(distdir)/examples/selection $(distdir)/examples/spinbutton $(distdir)/examples/statusbar $(distdir)/examples/table $(distdir)/examples/text $(distdir)/examples/tictactoe $(distdir)/examples/tree $(distdir)/examples/wheelbarrow $(distdir)/gdk-pixbuf $(distdir)/gdk/win32/rc $(distdir)/gtk $(distdir)/po $(distdir)/po-properties
|
||||
+ $(mkinstalldirs) $(distdir)/. $(distdir)/contrib/gdk-pixbuf-xlib $(distdir)/gdk-pixbuf $(distdir)/gdk/win32/rc $(distdir)/gtk
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
--- gtk+-2.17.0.orig/Makefile.am 2010-12-09 01:26:16.995377995 +0100
|
||||
+++ gtk+-2.17.0/Makefile.am 2010-12-10 16:30:30.555380813 +0100
|
||||
@@ -29,95 +29,7 @@
|
||||
config.h.win32 \
|
||||
makefile.msc \
|
||||
gtk-zip.sh.in \
|
||||
- sanitize-la.sh \
|
||||
- po/README.translators \
|
||||
- po/po2tbl.sed.in \
|
||||
- examples/aspectframe/Makefile \
|
||||
- examples/aspectframe/aspectframe.c \
|
||||
- examples/Makefile \
|
||||
- examples/README.1ST \
|
||||
- examples/extract.awk \
|
||||
- examples/extract.sh \
|
||||
- examples/arrow/Makefile \
|
||||
- examples/arrow/arrow.c \
|
||||
- examples/base/Makefile \
|
||||
- examples/base/base.c \
|
||||
- examples/buttonbox/Makefile \
|
||||
- examples/buttonbox/buttonbox.c \
|
||||
- examples/buttons/Makefile \
|
||||
- examples/buttons/buttons.c \
|
||||
- examples/buttons/info.xpm \
|
||||
- examples/calendar/Makefile \
|
||||
- examples/calendar/calendar.c \
|
||||
- examples/clist/Makefile \
|
||||
- examples/clist/clist.c \
|
||||
- examples/entry/Makefile \
|
||||
- examples/entry/entry.c \
|
||||
- examples/eventbox/Makefile \
|
||||
- examples/eventbox/eventbox.c \
|
||||
- examples/filesel/Makefile \
|
||||
- examples/filesel/filesel.c \
|
||||
- examples/gtkdial/Makefile \
|
||||
- examples/gtkdial/dial_test.c \
|
||||
- examples/gtkdial/gtkdial.c \
|
||||
- examples/gtkdial/gtkdial.h \
|
||||
- examples/helloworld/Makefile \
|
||||
- examples/helloworld/helloworld.c \
|
||||
- examples/helloworld2/Makefile \
|
||||
- examples/helloworld2/helloworld2.c \
|
||||
- examples/label/Makefile \
|
||||
- examples/label/label.c \
|
||||
- examples/list/Makefile \
|
||||
- examples/list/list.c \
|
||||
- examples/menu/Makefile \
|
||||
- examples/menu/menu.c \
|
||||
- examples/menu/itemfactory.c \
|
||||
- examples/notebook/Makefile \
|
||||
- examples/notebook/notebook.c \
|
||||
- examples/packbox/Makefile \
|
||||
- examples/packbox/packbox.c \
|
||||
- examples/paned/Makefile \
|
||||
- examples/paned/paned.c \
|
||||
- examples/pixmap/Makefile \
|
||||
- examples/pixmap/pixmap.c \
|
||||
- examples/progressbar/Makefile \
|
||||
- examples/progressbar/progressbar.c \
|
||||
- examples/radiobuttons/Makefile \
|
||||
- examples/radiobuttons/radiobuttons.c \
|
||||
- examples/rangewidgets/Makefile \
|
||||
- examples/rangewidgets/rangewidgets.c \
|
||||
- examples/rulers/Makefile \
|
||||
- examples/rulers/rulers.c \
|
||||
- examples/scribble-simple/Makefile \
|
||||
- examples/scribble-simple/scribble-simple.c \
|
||||
- examples/scribble-xinput/Makefile \
|
||||
- examples/scribble-xinput/scribble-xinput.c \
|
||||
- examples/scrolledwin/Makefile \
|
||||
- examples/scrolledwin/scrolledwin.c \
|
||||
- examples/selection/Makefile \
|
||||
- examples/selection/gettargets.c \
|
||||
- examples/selection/setselection.c \
|
||||
- examples/statusbar/Makefile \
|
||||
- examples/statusbar/statusbar.c \
|
||||
- examples/table/Makefile \
|
||||
- examples/table/table.c \
|
||||
- examples/text/Makefile \
|
||||
- examples/text/text.c \
|
||||
- examples/tictactoe/Makefile \
|
||||
- examples/tictactoe/tictactoe.c \
|
||||
- examples/tictactoe/tictactoe.h \
|
||||
- examples/tictactoe/ttt_test.c \
|
||||
- examples/tree/Makefile \
|
||||
- examples/tree/tree.c \
|
||||
- examples/wheelbarrow/Makefile \
|
||||
- examples/wheelbarrow/wheelbarrow.c \
|
||||
- examples/fixed/fixed.c \
|
||||
- examples/fixed/Makefile \
|
||||
- examples/frame/frame.c \
|
||||
- examples/frame/Makefile \
|
||||
- examples/spinbutton/spinbutton.c \
|
||||
- examples/spinbutton/Makefile \
|
||||
- examples/find-examples.sh
|
||||
+ sanitize-la.sh
|
||||
|
||||
GDKTARGET=@gdktarget@
|
||||
|
@ -1,30 +0,0 @@
|
||||
--- a/gtk/Makefile.am
|
||||
+++ b/gtk/Makefile.am
|
||||
@@ -1126,12 +1126,6 @@
|
||||
./gtk-update-icon-cache
|
||||
endif
|
||||
|
||||
-gtkbuiltincache.h: @REBUILD@ stamp-icons
|
||||
- $(MAKE) $(AM_MAKEFLAGS) gtk-update-icon-cache$(EXEEXT)
|
||||
- $(gtk_update_icon_cache_program) --force --ignore-theme-index \
|
||||
- --source builtin_icons stock-icons > gtkbuiltincache.h.tmp && \
|
||||
- mv gtkbuiltincache.h.tmp gtkbuiltincache.h
|
||||
-
|
||||
EXTRA_DIST += \
|
||||
$(STOCK_ICONS) \
|
||||
$(GENERATED_ICONS) \
|
||||
--- a/gtk/Makefile.in
|
||||
+++ b/gtk/Makefile.in
|
||||
@@ -2970,12 +2970,6 @@
|
||||
done \
|
||||
&& touch stamp-icons
|
||||
|
||||
-gtkbuiltincache.h: @REBUILD@ stamp-icons
|
||||
- $(MAKE) $(AM_MAKEFLAGS) gtk-update-icon-cache$(EXEEXT)
|
||||
- $(gtk_update_icon_cache_program) --force --ignore-theme-index \
|
||||
- --source builtin_icons stock-icons > gtkbuiltincache.h.tmp && \
|
||||
- mv gtkbuiltincache.h.tmp gtkbuiltincache.h
|
||||
-
|
||||
install-data-local:
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
@ -1,65 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gtkmm
|
||||
PKG_VERSION:=2.16.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/2.16
|
||||
PKG_MD5SUM:=a82e3b5b93008421ff67df16d1e51ec2
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
TARGET_LDFLAGS+=\
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Package/gtkmm
|
||||
SECTION:=xorg-framework
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=framework
|
||||
TITLE:=GTK+-2.0
|
||||
DEPENDS:=+gtk2 +cairomm +pangomm +glibmm
|
||||
URL:=http://www.gtkmm.org/
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS+= --disable-docs --disable-demos
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib/pkgconfig \
|
||||
$(1)/usr/include
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/* \
|
||||
$(1)/usr/include/
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
||||
$(1)/usr/lib/pkgconfig/
|
||||
endef
|
||||
|
||||
define Package/gtkmm/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,gtkmm))
|
@ -1,29 +0,0 @@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -119,15 +119,15 @@ AL_PROG_GNU_MAKE(AC_MSG_ERROR([dnl
|
||||
SUN make does not work for building gtkmm.
|
||||
Please install GNU make.]))
|
||||
|
||||
-# This macro is installed by glibmm
|
||||
+# This macro is installed by mm-macros
|
||||
# Doxygen needs the path to the installed perl.
|
||||
-GLIBMM_CHECK_PERL([5.6.0])
|
||||
+MM_CHECK_PERL([5.6.0])
|
||||
|
||||
#########################################################################
|
||||
# Function checks
|
||||
#########################################################################
|
||||
|
||||
-AC_CHECK_FUNC(mkfifo, AC_DEFINE(HAVE_MKFIFO))
|
||||
+AC_CHECK_FUNC(mkfifo, AC_DEFINE([HAVE_MKFIFO], [], [Define if mkfifo is available]))
|
||||
|
||||
# functions used in demos/gtk-demo. Undefined in config.h.
|
||||
AC_LANG_PUSH(C++)
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,3 +1,5 @@
|
||||
+ACLOCAL_AMFLAGS = -I scripts
|
||||
+
|
||||
if GTKMM_ATKMM_ENABLED
|
||||
ATK_SUBDIR=atk
|
||||
else
|
@ -1,88 +0,0 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -22179,10 +22179,7 @@ fi
|
||||
AUTOHEADER=':'
|
||||
|
||||
|
||||
-ac_config_files="$ac_config_files Makefile gdk/Makefile gdk/gdkmm-2.4.pc gdk/src/Makefile gdk/gdkmm/Makefile gdk/gdkmm/private/Makefile gtk/Makefile gtk/gtkmm-2.4.pc gtk/src/Makefile gtk/gtkmm/Makefile gtk/gtkmm/private/Makefile tools/Makefile tools/m4/Makefile tools/extra_defs_gen/Makefile"
|
||||
-
|
||||
-
|
||||
-ac_config_files="$ac_config_files tests/Makefile tests/child_widget/Makefile tests/child_widget2/Makefile tests/child_widget_managed/Makefile tests/refcount_dialog/Makefile tests/dialog/Makefile tests/dialog_deletethis/Makefile tests/delete_cpp_child/Makefile tests/main_with_options/Makefile tests/menu_destruction/Makefile tests/property_notification/Makefile tests/scrolledwindow/Makefile tests/wrap_existing/Makefile"
|
||||
+ac_config_files="$ac_config_files Makefile gdk/Makefile gdk/gdkmm-2.4.pc gdk/src/Makefile gdk/gdkmm/Makefile gdk/gdkmm/private/Makefile gtk/Makefile gtk/gtkmm-2.4.pc gtk/src/Makefile gtk/gtkmm/Makefile gtk/gtkmm/private/Makefile"
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files scripts/Makefile"
|
||||
@@ -22870,22 +22867,6 @@ do
|
||||
"gtk/src/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/src/Makefile" ;;
|
||||
"gtk/gtkmm/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/gtkmm/Makefile" ;;
|
||||
"gtk/gtkmm/private/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/gtkmm/private/Makefile" ;;
|
||||
- "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
|
||||
- "tools/m4/Makefile") CONFIG_FILES="$CONFIG_FILES tools/m4/Makefile" ;;
|
||||
- "tools/extra_defs_gen/Makefile") CONFIG_FILES="$CONFIG_FILES tools/extra_defs_gen/Makefile" ;;
|
||||
- "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
|
||||
- "tests/child_widget/Makefile") CONFIG_FILES="$CONFIG_FILES tests/child_widget/Makefile" ;;
|
||||
- "tests/child_widget2/Makefile") CONFIG_FILES="$CONFIG_FILES tests/child_widget2/Makefile" ;;
|
||||
- "tests/child_widget_managed/Makefile") CONFIG_FILES="$CONFIG_FILES tests/child_widget_managed/Makefile" ;;
|
||||
- "tests/refcount_dialog/Makefile") CONFIG_FILES="$CONFIG_FILES tests/refcount_dialog/Makefile" ;;
|
||||
- "tests/dialog/Makefile") CONFIG_FILES="$CONFIG_FILES tests/dialog/Makefile" ;;
|
||||
- "tests/dialog_deletethis/Makefile") CONFIG_FILES="$CONFIG_FILES tests/dialog_deletethis/Makefile" ;;
|
||||
- "tests/delete_cpp_child/Makefile") CONFIG_FILES="$CONFIG_FILES tests/delete_cpp_child/Makefile" ;;
|
||||
- "tests/main_with_options/Makefile") CONFIG_FILES="$CONFIG_FILES tests/main_with_options/Makefile" ;;
|
||||
- "tests/menu_destruction/Makefile") CONFIG_FILES="$CONFIG_FILES tests/menu_destruction/Makefile" ;;
|
||||
- "tests/property_notification/Makefile") CONFIG_FILES="$CONFIG_FILES tests/property_notification/Makefile" ;;
|
||||
- "tests/scrolledwindow/Makefile") CONFIG_FILES="$CONFIG_FILES tests/scrolledwindow/Makefile" ;;
|
||||
- "tests/wrap_existing/Makefile") CONFIG_FILES="$CONFIG_FILES tests/wrap_existing/Makefile" ;;
|
||||
"scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
|
||||
"MSVC_Net2005/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/Makefile" ;;
|
||||
"MSVC_Net2005/gendef/Makefile") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/gendef/Makefile" ;;
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -405,26 +405,6 @@ AC_CONFIG_FILES([
|
||||
gtk/src/Makefile
|
||||
gtk/gtkmm/Makefile
|
||||
gtk/gtkmm/private/Makefile
|
||||
-
|
||||
- tools/Makefile
|
||||
- tools/m4/Makefile
|
||||
- tools/extra_defs_gen/Makefile
|
||||
-])
|
||||
-
|
||||
-AC_CONFIG_FILES([
|
||||
- tests/Makefile
|
||||
- tests/child_widget/Makefile
|
||||
- tests/child_widget2/Makefile
|
||||
- tests/child_widget_managed/Makefile
|
||||
- tests/refcount_dialog/Makefile
|
||||
- tests/dialog/Makefile
|
||||
- tests/dialog_deletethis/Makefile
|
||||
- tests/delete_cpp_child/Makefile
|
||||
- tests/main_with_options/Makefile
|
||||
- tests/menu_destruction/Makefile
|
||||
- tests/property_notification/Makefile
|
||||
- tests/scrolledwindow/Makefile
|
||||
- tests/wrap_existing/Makefile
|
||||
])
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -6,7 +6,7 @@ else
|
||||
ATK_SUBDIR=
|
||||
endif
|
||||
|
||||
-SUBDIRS = tools $(ATK_SUBDIR) gdk gtk @DEMO_SUBDIR@ @DOCS_SUBDIR@ tests MSVC_Net2005 MSVC_Net2008 win32_installer
|
||||
+SUBDIRS = $(ATK_SUBDIR) gdk gtk @DEMO_SUBDIR@ @DOCS_SUBDIR@ MSVC_Net2005 MSVC_Net2008 win32_installer
|
||||
DIST_SUBDIRS = $(SUBDIRS) scripts
|
||||
|
||||
EXTRA_DIST = build_shared/Makefile_build.am_fragment \
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -213,7 +213,7 @@ top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
@GTKMM_ATKMM_ENABLED_FALSE@ATK_SUBDIR =
|
||||
@GTKMM_ATKMM_ENABLED_TRUE@ATK_SUBDIR = atk
|
||||
-SUBDIRS = tools $(ATK_SUBDIR) gdk gtk @DEMO_SUBDIR@ @DOCS_SUBDIR@ tests MSVC_Net2005 MSVC_Net2008 win32_installer
|
||||
+SUBDIRS = $(ATK_SUBDIR) gdk gtk @DEMO_SUBDIR@ @DOCS_SUBDIR@ MSVC_Net2005 MSVC_Net2008 win32_installer
|
||||
DIST_SUBDIRS = $(SUBDIRS) scripts
|
||||
EXTRA_DIST = build_shared/Makefile_build.am_fragment \
|
||||
build_shared/Makefile_build_gensrc.am_fragment \
|
@ -1,98 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=hippo-canvas
|
||||
PKG_VERSION:=0.3.0
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/0.3/
|
||||
PKG_MD5SUM:=9a0f64eb0258a3e8ba710eff9798a7d0
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
EXTRA_CFLAGS += \
|
||||
-I$(INTL_PREFIX)/include \
|
||||
-I$(STAGING_DIR)/usr/include/libcroco-0.6 \
|
||||
|
||||
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_hippo-canvas CONFIG_PACKAGE_python-hippo-canvas)
|
||||
|
||||
define Package/hippo-canvas/Default
|
||||
URL:=http://developer.mugshot.org/wiki/Hippo_Canvas
|
||||
DEPENDS:=@FEATURE_drawing-backend_libX11
|
||||
endef
|
||||
|
||||
define Package/hippo-canvas
|
||||
$(call Package/hippo-canvas/Default)
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=Hippo Canvas
|
||||
DEPENDS+=+librsvg +gtk2 +cairo +libcroco +pango
|
||||
endef
|
||||
|
||||
define Package/hippo-canvas/description
|
||||
The Hippo Canvas is a Cairo/GObject/GTK+ based canvas, written in C with
|
||||
support for flexible layout, CSS styling, and initial work on animations.
|
||||
endef
|
||||
|
||||
define Package/python-hippo-canvas
|
||||
$(call Package/hippo-canvas/Default)
|
||||
SECTION:=lang-python
|
||||
CATEGORY:=Languages
|
||||
SUBMENU:=Python
|
||||
TITLE:=Python bindings for hippo canvas
|
||||
DEPENDS+=+python-mini +PACKAGE_python-hippo-canvas:python-gtk +PACKAGE_python-hippo-canvas:pycairo +hippo-canvas
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
$(if $(CONFIG_PACKAGE_python-hippo-canvas), \
|
||||
--enable-python, \
|
||||
--disable-python \
|
||||
) \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/lib/
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} \
|
||||
$(1)/usr/lib/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
||||
$(1)/usr/lib/pkgconfig/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/include/hippo-canvas-1/hippo/
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/hippo-canvas-1/hippo/* \
|
||||
$(1)/usr/include/hippo-canvas-1/hippo/
|
||||
endef
|
||||
|
||||
define Package/hippo-canvas/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/python-hippo-canvas/install
|
||||
$(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/*.so* \
|
||||
$(1)$(PYTHON_PKG_DIR)
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,hippo-canvas))
|
||||
$(eval $(call BuildPackage,python-hippo-canvas))
|
@ -1,17 +0,0 @@
|
||||
--- hippo-canvas-0.3.0.orig/configure 2008-09-30 22:18:23.000000000 +0200
|
||||
+++ hippo-canvas-0.3.0/configure 2008-09-30 22:41:16.000000000 +0200
|
||||
@@ -20486,10 +20486,14 @@
|
||||
echo $ECHO_N "checking for headers required to compile python extensions... $ECHO_C" >&6; }
|
||||
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
|
||||
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
|
||||
+if test -x "$PYTHON-config"; then
|
||||
+PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null`
|
||||
+else
|
||||
PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
|
||||
if test "$py_prefix" != "$py_exec_prefix"; then
|
||||
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
|
||||
fi
|
||||
+fi
|
||||
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
|
@ -1,82 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2006-2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=imlib2
|
||||
PKG_VERSION:=1.4.4
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/enlightenment
|
||||
PKG_MD5SUM:=20d59c7cda06742015baade6f5975415
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
PKG_INSTALL=1
|
||||
|
||||
define Package/imlib2
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=Image library
|
||||
DEPENDS:=+libX11 +giflib +libtiff +libjpeg +gtk1 +libfreetype +libXext
|
||||
URL:=http://docs.enlightenment.org/api/imlib2/html/
|
||||
endef
|
||||
|
||||
TARGET_CFLAGS += "-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--x-includes="$(STAGING_DIR)/usr/include/X11" \
|
||||
--x-libraries="$(STAGING_DIR)/usr/lib/" \
|
||||
--disable-gtktest \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/{include,lib/pkgconfig}
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/* \
|
||||
$(1)/usr/include/
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.{la,so*,a} \
|
||||
$(1)/usr/lib/
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
||||
$(1)/usr/lib/pkgconfig/
|
||||
|
||||
$(INSTALL_DIR) $(2)/bin
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/imlib2-config \
|
||||
$(2)/bin/
|
||||
$(SED) \
|
||||
's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \
|
||||
$(2)/bin/imlib2-config
|
||||
endef
|
||||
|
||||
define Package/imlib2/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/imlib2/{loaders,filters}
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/imlib2/filters/*.so* \
|
||||
$(1)/usr/lib/imlib2/filters
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/imlib2/loaders/*.so* \
|
||||
$(1)/usr/lib/imlib2/loaders
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,imlib2))
|
@ -1,70 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2006-2009 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libast
|
||||
PKG_VERSION:=0.7
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.eterm.org/download/
|
||||
PKG_MD5SUM:=a9ec3b2da317f35869316e6d9571d296
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/libast
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=libast
|
||||
DEPENDS:=+libpcre \
|
||||
+FEATURE_drawing-backend_libX11:libX11 \
|
||||
+FEATURE_drawing-backend_libX11:libXt
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
--with-regexp="pcre" \
|
||||
--without-imlib \
|
||||
|
||||
ifneq ($(CONFIG_FEATURE_drawing-backend_libX11),)
|
||||
CONFIGURE_ARGS+= \
|
||||
--with-x \
|
||||
--x-includes="$(STAGING_DIR)/usr/include" \
|
||||
--x-libraries="$(STAGING_DIR)/usr/lib"
|
||||
else
|
||||
CONFIGURE_ARGS+= \
|
||||
--without-x
|
||||
endif
|
||||
|
||||
CONFIGURE_VARS+= \
|
||||
dps_cv_snprintf_bug=0 \
|
||||
dps_cv_vsnprintf_bug=0 \
|
||||
dps_cv_symlink_open_bug=0 \
|
||||
|
||||
EXTRA_LDFLAGS+= -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/lib $(1)/usr/include $(2)/bin
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libast.{la,so*} $(1)/usr/lib/
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(2)/bin/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||
$(SED) "s,-I/usr/include,,g" $(2)/bin/libast-config
|
||||
$(SED) "s,-L/usr/lib,,g" $(2)/bin/libast-config
|
||||
$(SED) "s,-L/usr/X11R6/lib,,g" $(2)/bin/libast-config
|
||||
endef
|
||||
|
||||
define Package/libast/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libast.so.* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libast))
|
@ -1,30 +0,0 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -27152,10 +27152,10 @@ fi;
|
||||
|
||||
|
||||
|
||||
- CPPFLAGS=`eval eval eval eval eval echo "-I$includedir -I$prefix/include $CPPFLAGS"`
|
||||
+ CPPFLAGS=`eval eval eval eval eval echo "$CPPFLAGS"`
|
||||
CPPFLAGS=`echo $CPPFLAGS | tr ' ' '\n' | uniq | grep -v NONE | tr '\n' ' '`
|
||||
CFLAGS=${CFLAGS--O}
|
||||
- LDFLAGS=`eval eval eval eval eval echo "-L$libdir -L$prefix/lib ${LDFLAGS--O}"`
|
||||
+ LDFLAGS=`eval eval eval eval eval echo "${LDFLAGS--O}"`
|
||||
LDFLAGS=`echo $LDFLAGS | tr ' ' '\n' | uniq | grep -v NONE | tr '\n' ' '`
|
||||
LIBS="$GRLIBS $X_PRE_LIBS $LIBS $X_EXTRA_LIBS"
|
||||
|
||||
--- a/libast.m4
|
||||
+++ b/libast.m4
|
||||
@@ -398,10 +398,10 @@ dnl#
|
||||
dnl# LibAST macro for flag post-processing
|
||||
dnl#
|
||||
AC_DEFUN([AST_FLAGS], [
|
||||
- CPPFLAGS=`eval eval eval eval eval echo "-I$includedir -I$prefix/include $CPPFLAGS"`
|
||||
+ CPPFLAGS=`eval eval eval eval eval echo "$CPPFLAGS"`
|
||||
CPPFLAGS=`echo $CPPFLAGS | tr ' ' '\n' | uniq | grep -v NONE | tr '\n' ' '`
|
||||
CFLAGS=${CFLAGS--O}
|
||||
- LDFLAGS=`eval eval eval eval eval echo "-L$libdir -L$prefix/lib ${LDFLAGS--O}"`
|
||||
+ LDFLAGS=`eval eval eval eval eval echo "${LDFLAGS--O}"`
|
||||
LDFLAGS=`echo $LDFLAGS | tr ' ' '\n' | uniq | grep -v NONE | tr '\n' ' '`
|
||||
LIBS="$GRLIBS $X_PRE_LIBS $LIBS $X_EXTRA_LIBS"
|
||||
])
|
@ -1,22 +0,0 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -23906,7 +23906,7 @@ else
|
||||
|
||||
mkdir conftest.d
|
||||
if test "$cross_compiling" = yes; then
|
||||
- dps_cv_symlink_open_buf=3
|
||||
+ dps_cv_symlink_open_bug=3
|
||||
else
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
--- a/libast.m4
|
||||
+++ b/libast.m4
|
||||
@@ -573,7 +573,7 @@ int main(void)
|
||||
dps_cv_symlink_open_bug=1
|
||||
fi
|
||||
],
|
||||
- dps_cv_symlink_open_buf=3)
|
||||
+ dps_cv_symlink_open_bug=3)
|
||||
rm -rf conftest.d
|
||||
])
|
||||
case "$dps_cv_symlink_open_bug" in
|
@ -1,51 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libdrm
|
||||
PKG_VERSION:=2.3.1
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_URL:=http://dri.freedesktop.org/libdrm
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
PKG_MD5SUM:=620fe7dd02c3236c3e9881a3a238173d
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/libdrm
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
DEPENDS:=
|
||||
TITLE:=libdrm
|
||||
URL:=http://dri.freedesktop.org/
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS += --enable-malloc0returnsnull --without-xcb
|
||||
|
||||
define Build/Compile
|
||||
$(call $(PKG_NAME)/Compile)
|
||||
make -C $(PKG_BUILD_DIR)
|
||||
DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS) install
|
||||
find $(PKG_INSTALL_DIR) -name *.la | xargs rm -rf
|
||||
endef
|
||||
|
||||
define Package/libdrm/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libdrm))
|
@ -1,59 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libfakekey
|
||||
PKG_REV:=2111
|
||||
PKG_VERSION:=svn$(PKG_REV)
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=libfakekey-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://svn.o-hand.com/repos/matchbox/trunk/libfakekey
|
||||
PKG_SOURCE_PROTO:=svn
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/libfakekey
|
||||
SECTION:=xorg-lib
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=libfakekey
|
||||
MAINTAINER:=Michael Buesch <mb@bu3sch.de>
|
||||
URL:=http://matchbox-project.org/?p=1
|
||||
DEPENDS:=+libX11 +libXtst
|
||||
endef
|
||||
|
||||
define Package/libfakekey/description
|
||||
X11 keyboard faking library
|
||||
endef
|
||||
|
||||
EXTRA_LDFLAGS:=\
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include/fakekey $(1)/usr/lib/pkgconfig
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/fakekey/fakekey.h \
|
||||
$(1)/usr/include/fakekey/
|
||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/*{.so,.a}* $(1)/usr/lib/
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libfakekey.pc \
|
||||
$(1)/usr/lib/pkgconfig/
|
||||
endef
|
||||
|
||||
define Package/libfakekey/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libfakekey))
|
@ -1,65 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007-2008 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libmatchbox
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=1.9
|
||||
PKG_SOURCE_URL:=http://matchbox-project.org/sources/libmatchbox/$(PKG_VERSION)
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_MD5SUM:=9f73e7515cc4679171a5db180dc1343b
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
EXTRA_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib/
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
define Package/libmatchbox
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
DEPENDS:=+libX11 +libXft +libpng +libjpeg +libXext +pango +check
|
||||
TITLE:=libmatchbox
|
||||
URL:=http://matchbox-project.org
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--enable-pango \
|
||||
--enable-jpeg \
|
||||
--enable-png \
|
||||
--enable-Xft \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include/libmb
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/libmb/*.h \
|
||||
$(1)/usr/include/libmb/
|
||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libmb.{so*,a,la} \
|
||||
$(1)/usr/lib/
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
||||
$(1)/usr/lib/pkgconfig/
|
||||
endef
|
||||
|
||||
define Package/libmatchbox/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libmb.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libmatchbox))
|
@ -1,86 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=librsvg
|
||||
PKG_VERSION:=2.22.3
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/2.22
|
||||
PKG_MD5SUM:=c4ec4fdb2b1842e221ca39127e85682d
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
PKG_INSTALL=1
|
||||
|
||||
EXTRA_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
||||
-L$(ICONV_PREFIX)/lib/ \
|
||||
-L$(INTL_PREFIX)/lib/
|
||||
|
||||
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_librsvg CONFIG_PACKAGE_librsvg-pixbuf-loader)
|
||||
|
||||
define Package/librsvg
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=SVG rendering library
|
||||
URL:=http://librsvg.sourceforge.net/
|
||||
DEPENDS:=+cairo +libxml2 +glib2 +libcroco +pango +gtk2
|
||||
endef
|
||||
|
||||
define Package/librsvg-pixbuf-loader
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=SVG rendering library
|
||||
URL:=http://librsvg.sourceforge.net/
|
||||
DEPENDS:=librsvg
|
||||
endef
|
||||
|
||||
define Package/librsvg/description
|
||||
librsvg is a high performance SVG rendering library associated with the Gnome Project.
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--disable-gtk-theme \
|
||||
--disable-mozilla-plugin \
|
||||
--with-croco \
|
||||
$(if $(CONFIG_PACKAGE_librsvg-pixbuf-loader), \
|
||||
--enable-pixbuf-loader,\
|
||||
--disable-pixbuf-loader \
|
||||
) \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} $(1)/usr/lib/
|
||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
|
||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
|
||||
$(INSTALL_DIR) $(1)/usr/include/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||
endef
|
||||
|
||||
define Package/librsvg/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/librsvg-pixbuf-loader/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/gtk-2.0/2.10.0/loaders
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/gtk-2.0/2.10.0/loaders/*.so* \
|
||||
$(1)/usr/lib/gtk-2.0/2.10.0/loaders
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,librsvg))
|
||||
$(eval $(call BuildPackage,librsvg-pixbuf-loader))
|
@ -1,102 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libxcb
|
||||
PKG_VERSION:=1.1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://xcb.freedesktop.org/dist/
|
||||
PKG_MD5SUM:=9310b02433273d75d42f10da3c7455aa
|
||||
PKG_FIXUP:=libtool
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_DEPENDS:=xcbproto libpthread-stubs
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
PROTOS:=composite damage dpms glx randr record render res screensaver shape \
|
||||
shm sync xevie xf86dri xfixes xinerama xprint xtest xvmc xv
|
||||
|
||||
define Package/libxcb
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=libxcb
|
||||
DEPENDS:=+libXau +libXdmcp
|
||||
URL:=http://xcb.freedesktop.org/
|
||||
endef
|
||||
|
||||
define Package/libxcb/description
|
||||
libxcb provides an interface to the X Window System protocol, which
|
||||
replaces the current Xlib interface.
|
||||
endef
|
||||
|
||||
define Package/libxcb-xlib
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=libxcb-xlib
|
||||
DEPENDS:=+libxcb
|
||||
endef
|
||||
|
||||
define Package/libxcb-proto/Default
|
||||
define Package/libxcb-$(1)
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=libxcb-$(1)
|
||||
DEPENDS:=+libxcb
|
||||
endef
|
||||
endef
|
||||
|
||||
$(foreach proto,$(PROTOS),$(eval $(call Package/libxcb-proto/Default,$(proto))))
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/xcb}
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/xcb/* \
|
||||
$(1)/usr/include/xcb/
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} \
|
||||
$(1)/usr/lib/
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
||||
$(1)/usr/lib/pkgconfig/
|
||||
endef
|
||||
|
||||
define Package/libxcb/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libxcb.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/libxcb-xlib/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libxcb-xlib.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/libxcb-proto/install/Default
|
||||
define Package/libxcb-$(1)/install
|
||||
$(INSTALL_DIR) $$(1)/usr/lib
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libxcb-$(1).so* \
|
||||
$$(1)/usr/lib/
|
||||
endef
|
||||
endef
|
||||
|
||||
$(foreach proto,$(PROTOS),$(eval $(call Package/libxcb-proto/install/Default,$(proto))))
|
||||
|
||||
$(eval $(call BuildPackage,libxcb))
|
||||
$(eval $(call BuildPackage,libxcb-xlib))
|
||||
$(foreach proto,$(PROTOS),$(eval $(call BuildPackage,libxcb-$(proto))))
|
@ -1,112 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=Mesa
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=7.2
|
||||
|
||||
PKG_SOURCE_URL:=@SF/mesa3d
|
||||
PKG_SOURCE:=$(PKG_NAME)Lib-$(PKG_VERSION).tar.bz2
|
||||
PKG_MD5SUM:=04d379292e023df0b0266825cb0dbde5
|
||||
PKG_FIXUP:=libtool
|
||||
PKG_BUILD_DEPENDS:=glproto
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
define Package/libgl-mesa
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
DEPENDS:=+libX11 +libXext +libXfixes +libXdamage +libXxf86vm +libdrm +libexpat
|
||||
TITLE:=Mesa OpenGL library
|
||||
URL:=http://mesa3d.org
|
||||
endef
|
||||
|
||||
define Package/libglu-mesa
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
DEPENDS:=+libgl-mesa
|
||||
TITLE:=Mesa OpenGL utility library
|
||||
URL:=http://mesa3d.org
|
||||
endef
|
||||
|
||||
define Package/libgl-mesa-dri/Default
|
||||
define Package/libgl-mesa-dri-$(1)
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
DEPENDS:=libgl-mesa @DISPLAY_SUPPORT $(if $(findstring swrast,$(1)),,@TARGET_x86)
|
||||
TITLE:=mesa dri $(1)
|
||||
URL:=http://mesa3d.org
|
||||
endef
|
||||
endef
|
||||
|
||||
DRIDRIVERS:=i810 i915 i965 mach64 mga r128 r200 r300 radeon s3v \
|
||||
savage sis tdfx trident unichrome ffb swrast
|
||||
|
||||
$(foreach dri,$(DRIDRIVERS),$(eval $(call Package/libgl-mesa-dri/Default,$(dri))))
|
||||
|
||||
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_libgl-mesa \
|
||||
CONFIG_PACKAGE_libglu-mesa \
|
||||
$(foreach dri,$(DRIDRIVERS),CONFIG_PACKAGE_libgl-mesa-dri-$(dri)))
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--disable-glw \
|
||||
--with-driver=dri \
|
||||
--with-dri-drivers="$(foreach dri,$(DRIDRIVERS),$(if $(CONFIG_PACKAGE_libgl-mesa-dri-$(dri)),$(dri)))" \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/{include/GL,lib/pkgconfig}
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/GL/* \
|
||||
$(1)/usr/include/GL
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
||||
$(1)/usr/lib
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
||||
$(1)/usr/lib/pkgconfig
|
||||
endef
|
||||
|
||||
define Package/libgl-mesa/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libGL.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/libglu-mesa/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libGLU.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/libgl-mesa-dri/install/Default
|
||||
define Package/libgl-mesa-dri-$(1)/install
|
||||
$(INSTALL_DIR) $$(1)/usr/lib/dri/
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/dri/$(1)_dri.so* \
|
||||
$$(1)/usr/lib/dri
|
||||
endef
|
||||
endef
|
||||
|
||||
$(foreach dri,$(DRIDRIVERS),$(eval $(call Package/libgl-mesa-dri/install/Default,$(dri))))
|
||||
|
||||
$(eval $(call BuildPackage,libgl-mesa))
|
||||
$(eval $(call BuildPackage,libglu-mesa))
|
||||
$(foreach dri,$(DRIDRIVERS),$(eval $(call BuildPackage,libgl-mesa-dri-$(dri))))
|
@ -1,90 +0,0 @@
|
||||
Index: Mesa-7.2/src/glu/glu.pc.in
|
||||
===================================================================
|
||||
--- Mesa-7.2.orig/src/glu/glu.pc.in 2008-08-25 16:46:42.000000000 +0200
|
||||
+++ Mesa-7.2/src/glu/glu.pc.in 2011-01-27 19:29:13.220654415 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
-prefix=@INSTALL_DIR@
|
||||
-exec_prefix=${prefix}
|
||||
-libdir=@INSTALL_LIB_DIR@
|
||||
-includedir=@INSTALL_INC_DIR@
|
||||
+prefix=@prefix@
|
||||
+exec_prefix=@exec_prefix@
|
||||
+libdir=@libdir@
|
||||
+includedir=@includedir@
|
||||
|
||||
Name: glu
|
||||
Description: Mesa OpenGL Utility library
|
||||
Index: Mesa-7.2/src/glw/glw.pc.in
|
||||
===================================================================
|
||||
--- Mesa-7.2.orig/src/glw/glw.pc.in 2008-08-25 16:46:42.000000000 +0200
|
||||
+++ Mesa-7.2/src/glw/glw.pc.in 2011-01-27 19:29:28.723225782 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
-prefix=@INSTALL_DIR@
|
||||
-exec_prefix=${prefix}
|
||||
-libdir=@INSTALL_LIB_DIR@
|
||||
-includedir=@INSTALL_INC_DIR@
|
||||
+prefix=@prefix@
|
||||
+exec_prefix=@exec_prefix@
|
||||
+libdir=@libdir@
|
||||
+includedir=@includedir@
|
||||
|
||||
Name: glw
|
||||
Description: Mesa OpenGL widget library
|
||||
Index: Mesa-7.2/src/mesa/drivers/dri/dri.pc.in
|
||||
===================================================================
|
||||
--- Mesa-7.2.orig/src/mesa/drivers/dri/dri.pc.in 2008-08-25 16:46:43.000000000 +0200
|
||||
+++ Mesa-7.2/src/mesa/drivers/dri/dri.pc.in 2011-01-27 19:29:49.747288575 +0100
|
||||
@@ -1,8 +1,8 @@
|
||||
-prefix=@INSTALL_DIR@
|
||||
-exec_prefix=${prefix}
|
||||
-libdir=@INSTALL_LIB_DIR@
|
||||
-includedir=@INSTALL_INC_DIR@
|
||||
-dridriverdir=@DRI_DRIVER_DIR@
|
||||
+prefix=@prefix@
|
||||
+exec_prefix=@exec_prefix@
|
||||
+libdir=@libdir@
|
||||
+includedir=@includedir@
|
||||
+dridriverdir=@DRI_DRIVER_INSTALL_DIR@
|
||||
|
||||
Name: dri
|
||||
Description: Direct Rendering Infrastructure
|
||||
Index: Mesa-7.2/src/mesa/gl.pc.in
|
||||
===================================================================
|
||||
--- Mesa-7.2.orig/src/mesa/gl.pc.in 2008-08-25 16:46:44.000000000 +0200
|
||||
+++ Mesa-7.2/src/mesa/gl.pc.in 2011-01-27 19:30:13.700079977 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
-prefix=@INSTALL_DIR@
|
||||
-exec_prefix=${prefix}
|
||||
-libdir=@INSTALL_LIB_DIR@
|
||||
-includedir=@INSTALL_INC_DIR@
|
||||
+prefix=@prefix@
|
||||
+exec_prefix=@exec_prefix@
|
||||
+libdir=@libdir@
|
||||
+includedir=@includedir@
|
||||
|
||||
Name: gl
|
||||
Description: Mesa OpenGL library
|
||||
Index: Mesa-7.2/configure
|
||||
===================================================================
|
||||
--- Mesa-7.2.orig/configure 2008-09-13 22:45:59.000000000 +0200
|
||||
+++ Mesa-7.2/configure 2011-01-27 19:27:08.622125839 +0100
|
||||
@@ -8858,7 +8858,7 @@
|
||||
LDFLAGS="$_SAVE_LDFLAGS"
|
||||
CPPFLAGS="$_SAVE_CPPFLAGS"
|
||||
|
||||
-ac_config_files="$ac_config_files configs/autoconf"
|
||||
+ac_config_files="$ac_config_files configs/autoconf src/glu/glu.pc src/glw/glw.pc src/mesa/drivers/dri/dri.pc src/mesa/gl.pc"
|
||||
|
||||
|
||||
ac_config_commands="$ac_config_commands configs"
|
||||
@@ -9435,6 +9435,10 @@
|
||||
for ac_config_target in $ac_config_targets
|
||||
do
|
||||
case $ac_config_target in
|
||||
+ "src/glu/glu.pc") CONFIG_FILES="$CONFIG_FILES src/glu/glu.pc" ;;
|
||||
+ "src/glw/glw.pc") CONFIG_FILES="$CONFIG_FILES src/glw/glw.pc" ;;
|
||||
+ "src/mesa/drivers/dri/dri.pc") CONFIG_FILES="$CONFIG_FILES src/mesa/drivers/dri/dri.pc" ;;
|
||||
+ "src/mesa/gl.pc") CONFIG_FILES="$CONFIG_FILES src/mesa/gl.pc" ;;
|
||||
"configs/autoconf") CONFIG_FILES="$CONFIG_FILES configs/autoconf" ;;
|
||||
"configs") CONFIG_COMMANDS="$CONFIG_COMMANDS configs" ;;
|
||||
|
@ -1,23 +0,0 @@
|
||||
libfontenc-1.0.4|+xproto+zlib
|
||||
libICE-1.0.4|+xproto+xtrans
|
||||
libSM-1.0.3|+xproto+xtrans+libICE
|
||||
_libX11-1.1.5|+bigreqsproto+xproto+xextproto+xtrans+xcmiscproto+libXdmcp+xf86bigfontproto+kbproto+inputproto+libXau
|
||||
libXau-1.0.4|+xproto
|
||||
libXaw-1.0.4|+xproto+libX11+libXext+xextproto+libXt+libXmu+libXpm+printproto+libXau
|
||||
libXcursor-1.1.9|+libXrender+libXfixes
|
||||
libXdmcp-1.0.2|+xproto
|
||||
libXext-1.0.4|+xproto+xextproto+libX11+libXau
|
||||
libXfixes-4.0.3|+xproto+fixesproto+xextproto+libX11
|
||||
libXfont-1.3.3|+zlib+xproto+xtrans+libfontenc+fontcacheproto+fontsproto+libfreetype
|
||||
libxkbfile-1.0.5|+libX11+kbproto
|
||||
libXmu-1.0.4|+libXt+libXext+xextproto
|
||||
libXpm-3.5.7|+xproto+libX11
|
||||
libXrandr-1.2.3|+libXext+libXrender+randrproto+renderproto+xextproto+libX11
|
||||
libXrender-0.9.4|+libX11+renderproto
|
||||
libXt-1.0.5|+libSM+libX11+xproto+kbproto
|
||||
libXtst-1.0.3|+libX11+libXext+recordproto+xextproto+inputproto
|
||||
libXv-1.0.4|+libXext+videoproto
|
||||
libXvMC-1.0.4|+libXext+videoproto+libXv
|
||||
libXxf86misc-1.0.1|+xproto+libX11+xextproto+libXext+xf86miscproto
|
||||
libXxf86vm-1.0.2|+xproto+libX11+xextproto+libXext+xf86vidmodeproto
|
||||
xtrans-1.2.1|
|
@ -1,100 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=pango
|
||||
PKG_VERSION:=1.28.4
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/1.28/
|
||||
PKG_MD5SUM:=3f3989700f04e9117d30544a9078b3a0
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_PARALLEL:=0
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
TARGET_LDFLAGS+= \
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Package/pango
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=Text layout and rendering library
|
||||
DEPENDS:=+cairo +glib2 +fontconfig +libfreetype \
|
||||
+FEATURE_drawing-backend_libX11:libX11 \
|
||||
+FEATURE_drawing-backend_libX11:libXft
|
||||
URL:=http://www.pango.org/
|
||||
endef
|
||||
|
||||
define Package/pango/description
|
||||
Pango is a library for layout and rendering of text, with an emphasis
|
||||
on internationalization. Pango can be used anywhere that text layout
|
||||
is needed; however, most of the work on Pango so far has been done using
|
||||
the GTK+ widget toolkit as a test platform. Pango forms the core of text
|
||||
and font handling for GTK+-2.x.
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
$(if $(CONFIG_PACKAGE_libX11), --with-x, --without-x)
|
||||
|
||||
CONFIGURE_VARS += \
|
||||
CXX="$(TARGET_CC)"
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib/pkgconfig \
|
||||
$(1)/usr/lib/pango/1.6.0/modules \
|
||||
$(1)/usr/include
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
||||
$(1)/usr/lib
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pango/1.6.0/modules/*.so* \
|
||||
$(1)/usr/lib/pango/1.6.0/modules/
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
|
||||
$(1)/usr/lib/pkgconfig
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/* \
|
||||
$(1)/usr/include/
|
||||
endef
|
||||
|
||||
define Package/pango/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib/pango/1.6.0/modules \
|
||||
$(1)/usr/bin \
|
||||
$(1)/etc/init.d
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pango/1.6.0/modules/*.so* \
|
||||
$(1)/usr/lib/pango/1.6.0/modules/
|
||||
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/pango-querymodules \
|
||||
$(1)/usr/bin/
|
||||
|
||||
$(INSTALL_BIN) \
|
||||
./files/pango-querymodules.init \
|
||||
$(1)/etc/init.d/pango-querymodules
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,pango))
|
@ -1,12 +0,0 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2007 OpenWrt.org
|
||||
|
||||
START=99
|
||||
FILE=/etc/pango/pango.modules
|
||||
|
||||
start() {
|
||||
if [ ! -e ${FILE} ]; then
|
||||
mkdir -p $(dirname ${FILE})
|
||||
pango-querymodules > ${FILE}
|
||||
fi
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=pangomm
|
||||
PKG_VERSION:=2.26.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/2.26/
|
||||
PKG_MD5SUM:=37f54dc8e6cb73ed923b22f313352156
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
TARGET_LDFLAGS+=\
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Package/pangomm
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=Text layout and rendering library
|
||||
DEPENDS:=+glibmm +cairomm +pango
|
||||
URL:=http://www.pango.org/
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS+= --disable-documentation
|
||||
|
||||
define Package/pangomm/description
|
||||
c++-bindings for pango
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib/pkgconfig \
|
||||
$(1)/usr/lib/pangomm/1.6.0/modules \
|
||||
$(1)/usr/include
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
||||
$(1)/usr/lib/pkgconfig/
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/* \
|
||||
$(1)/usr/include/
|
||||
endef
|
||||
|
||||
define Package/pangomm/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,pangomm))
|
@ -1,51 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=pixman
|
||||
PKG_RELEASE:=1
|
||||
PKG_VERSION:=0.16.2
|
||||
|
||||
PKG_SOURCE_URL:=http://cairographics.org/releases/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_MD5SUM:=02bd3669f53c404c19980d5efb6f86fb
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/pixman
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=pixman
|
||||
URL:=http://cairographics.org/
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--disable-gtk \
|
||||
--disable-arm-simd \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)
|
||||
endef
|
||||
|
||||
define Package/pixman/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,pixman))
|
@ -1,21 +0,0 @@
|
||||
if PACKAGE_qt4-gui
|
||||
|
||||
choice
|
||||
prompt "qt4 window system"
|
||||
default QT4_WS_QWS
|
||||
|
||||
config QT4_WS_QWS
|
||||
bool "QWS window system"
|
||||
depends on FEATURE_drawing-backend_DirectFB
|
||||
help
|
||||
Use QT4's internal QWS window system.
|
||||
|
||||
config QT4_WS_X11
|
||||
bool "X11 window system"
|
||||
depends on FEATURE_drawing-backend_libX11
|
||||
help
|
||||
Use X11
|
||||
|
||||
endchoice
|
||||
|
||||
endif
|
@ -1,789 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
# TODO:
|
||||
# - test/add xcb support
|
||||
# - handle plugins in a granular way (find out which packages should provide which plugins)
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=qt4
|
||||
PKG_VERSION:=4.7.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=3a2f25b9b115037277f4fb759194a7a5
|
||||
|
||||
PKG_SOURCE:=qt-everywhere-opensource-src-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=ftp://ftp.qt.nokia.com/qt/source
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/qt-everywhere-opensource-src-$(PKG_VERSION)
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
|
||||
PKG_CONFIG_DEPENDS:= \
|
||||
CONFIG_QT4_WS_QWS \
|
||||
CONFIG_QT4_WS_X11 \
|
||||
CONFIG_PACKAGE_directfb \
|
||||
CONFIG_PACKAGE_qt4-demos \
|
||||
CONFIG_PACKAGE_qt4-examples \
|
||||
CONFIG_PACKAGE_qt4-svg \
|
||||
CONFIG_PACKAGE_qt4-qt3support \
|
||||
CONFIG_PACKAGE_qt4-dbus \
|
||||
CONFIG_PACKAGE_qt4-phonon \
|
||||
CONFIG_PACKAGE_qt4-sqlite \
|
||||
CONFIG_PACKAGE_qt4-mysql \
|
||||
CONFIG_PACKAGE_qt4-webkit \
|
||||
CONFIG_PACKAGE_qt4-script \
|
||||
CONFIG_PACKAGE_qt4-scriptools \
|
||||
CONFIG_PACKAGE_qt4-openssl
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
-include $(if $(DUMP),,./files/qmake.mk)
|
||||
|
||||
# this should be moved to a more generic place later, as other packages are configured different as well depending on available nptl support
|
||||
ifeq ($(CONFIG_USE_GLIBC),y)
|
||||
NPTL:=y
|
||||
endif
|
||||
ifeq ($(CONFIG_USE_EGLIBC),y)
|
||||
NPTL:=y
|
||||
endif
|
||||
ifeq ($(CONFIG_UCLIBC_VERSION_0_9_32),y)
|
||||
NPTL:=y
|
||||
endif
|
||||
|
||||
define Package/qt4/config
|
||||
source "$(SOURCE)/Config.in"
|
||||
endef
|
||||
|
||||
define Package/qt4/Default
|
||||
SECTION:=xorg-framework
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=framework
|
||||
TITLE:=qt4
|
||||
DEPENDS:=qt4
|
||||
DEFAULT:=m if PACKAGE_qt4-gui && ALL
|
||||
URL:=http://qt.nokia.com/
|
||||
endef
|
||||
|
||||
define Package/qt4
|
||||
$(call Package/qt4/Default)
|
||||
DEPENDS:=+zlib +libstdcpp @!LINUX_2_4
|
||||
endef
|
||||
|
||||
define Package/qt4-gui
|
||||
$(call Package/qt4/Default)
|
||||
DEFAULT:=
|
||||
DEPENDS+=+libpng +libtiff +libjpeg +libfreetype +qt4-network \
|
||||
+FEATURE_drawing-backend_libX11:libX11 \
|
||||
+FEATURE_drawing-backend_libX11:libXext @DISPLAY_SUPPORT
|
||||
TITLE+=(gui)
|
||||
endef
|
||||
|
||||
define Package/qt4-demos
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(demos)
|
||||
DEPENDS+=+qt4-gui
|
||||
endef
|
||||
|
||||
define Package/qt4-examples
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(examples)
|
||||
DEPENDS+=+qt4-gui +qt4-svg
|
||||
endef
|
||||
|
||||
define Package/qt4-network
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(network)
|
||||
endef
|
||||
|
||||
define Package/qt4-sqlite
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(sqlite)
|
||||
DEPENDS+=+libsqlite3
|
||||
endef
|
||||
|
||||
define Package/qt4-mysql
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(mysql)
|
||||
DEPENDS+=+libmysqlclient
|
||||
endef
|
||||
|
||||
define Package/qt4-openssl
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(openssl)
|
||||
DEPENDS+=+libopenssl
|
||||
endef
|
||||
|
||||
#define Package/qt4-multimedia
|
||||
# $(call Package/qt4/Default)
|
||||
# TITLE+=(multimedia)
|
||||
#endef
|
||||
|
||||
#define Package/qt4-audio-backend
|
||||
# $(call Package/qt4/Default)
|
||||
# TITLE+=(audio-backend)
|
||||
#endef
|
||||
|
||||
define Package/qt4-phonon
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(phonon)
|
||||
DEPENDS+=+qt4-gui +qt4-xml +qt4-dbus +qt4-network
|
||||
endef
|
||||
|
||||
#define Package/qt4-phonon-backend
|
||||
# $(call Package/qt4/Default)
|
||||
# TITLE+=(phonon-backend)
|
||||
#endef
|
||||
|
||||
define Package/qt4-svg
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(svg)
|
||||
DEPENDS+=+qt4-gui +qt4-network
|
||||
endef
|
||||
|
||||
define Package/qt4-webkit
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(webkit)
|
||||
DEPENDS+=@USE_GLIBC||@USE_EGLIBC||@UCLIBC_VERSION_0_9_32 +libsqlite3 +qt4-phonon +qt4-dbus +qt4-xml +qt4-gui +qt4-network # versions of uclibc prior 0.9.32 do not have nptl support
|
||||
endef
|
||||
|
||||
define Package/qt4-script
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(script)
|
||||
DEPENDS+=@USE_GLIBC||@USE_EGLIBC||@UCLIBC_VERSION_0_9_32 # versions of uclibc prior 0.9.32 do not have nptl support
|
||||
endef
|
||||
|
||||
define Package/qt4-scripttools
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(scripttools)
|
||||
DEPENDS+=+qt4-script +qt4-gui +qt4-network
|
||||
endef
|
||||
|
||||
#define Package/qt4-accessibility
|
||||
# $(call Package/qt4/Default)
|
||||
# TITLE+=(accessibility)
|
||||
#endef
|
||||
|
||||
#define Package/qt4-javascript-jit
|
||||
# $(call Package/qt4/Default)
|
||||
# TITLE+=(javascript-jit)
|
||||
#endef
|
||||
|
||||
#define Package/qt4-cups
|
||||
# $(call Package/qt4/Default)
|
||||
# TITLE+=(cups)
|
||||
#endef
|
||||
|
||||
define Package/qt4-dbus
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(dbus)
|
||||
DEPENDS+=+libdbus +qt4-xml
|
||||
endef
|
||||
|
||||
#define Package/qt4-gtkstyle
|
||||
# $(call Package/qt4/Default)
|
||||
# TITLE+=(gtkstyle)
|
||||
#endef
|
||||
|
||||
#define Package/qt4-glib
|
||||
# $(call Package/qt4/Default)
|
||||
# TITLE+=(glib)
|
||||
#endef
|
||||
|
||||
define Package/qt4-qt3support
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(qt3support)
|
||||
DEPENDS+=+qt4-gui +qt4-xml
|
||||
endef
|
||||
|
||||
define Package/qt4-declarative
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(declarative)
|
||||
DEPENDS+=+qt4-script +qt4-xml +qt4-gui +qt4-network
|
||||
endef
|
||||
|
||||
define Package/qt4-xml
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=(xml)
|
||||
endef
|
||||
|
||||
###
|
||||
define Package/qt4-drivers-mouse/Default
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=mousedrivers
|
||||
DEPENDS+=@QT4_WS_QWS
|
||||
endef
|
||||
|
||||
define Package/qt4-drivers-mouse-tpmousedriver
|
||||
$(call Package/qt4-drivers-mouse/Default)
|
||||
TITLE+=tpmousedriver
|
||||
endef
|
||||
|
||||
define Package/qt4-drivers-mouse-pcmousedriver
|
||||
$(call Package/qt4-drivers-mouse/Default)
|
||||
TITLE+=pcmousedriver
|
||||
endef
|
||||
|
||||
define Package/qt4-drivers-mouse-tslibmousedriver
|
||||
$(call Package/qt4-drivers-mouse/Default)
|
||||
TITLE+=tslibmousedriver
|
||||
DEPENDS+=+tslib
|
||||
endef
|
||||
|
||||
###
|
||||
define Package/qt4-drivers-gfx/Default
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=gfxdrivers
|
||||
DEPENDS+=@QT4_WS_QWS
|
||||
endef
|
||||
|
||||
define Package/qt4-drivers-gfx-directfb
|
||||
$(call Package/qt4-drivers-gfx/Default)
|
||||
TITLE+=directfb
|
||||
DEPENDS+=@FEATURE_drawing-backend_DirectFB +FEATURE_drawing-backend_DirectFB:directfb
|
||||
endef
|
||||
|
||||
define Package/qt4-drivers-gfx-linuxfb
|
||||
$(call Package/qt4-drivers-gfx/Default)
|
||||
TITLE+=linuxfb
|
||||
endef
|
||||
|
||||
define Package/qt4-drivers-gfx-vnc
|
||||
$(call Package/qt4-drivers-gfx/Default)
|
||||
TITLE+=VNC
|
||||
endef
|
||||
|
||||
###
|
||||
define Package/qt4-drivers-kbd/Default
|
||||
$(call Package/qt4/Default)
|
||||
TITLE+=kbddrivers
|
||||
DEPENDS+=@QT4_WS_QWS
|
||||
endef
|
||||
|
||||
|
||||
TARGET_INCDIRS+=$(STAGING_DIR)/include $(STAGING_DIR)/usr/include $(TOOLCHAIN_DIR)/include $(TOOLCHAIN_DIR)/usr/include
|
||||
TARGET_LIBDIRS+=$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib $(TOOLCHAIN_DIR)/lib $(TOOLCHAIN_DIR)/usr/lib
|
||||
TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib,-rpath-link=$(PKG_BUILD_DIR)/lib
|
||||
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include/freetype2 -I$(PKG_BUILD_DIR)/include
|
||||
|
||||
ifeq ($(CONFIG_QT4_WS_QWS),y)
|
||||
FILEPFX:=qws-
|
||||
endif
|
||||
ifeq ($(CONFIG_QT4_WS_X11),y)
|
||||
FILEPFX:=x11-
|
||||
endif
|
||||
ifeq ($(CONFIG_PACKAGE_qt4-gui),)
|
||||
# If GUI is disabled, we use the X11 prefix. That's good enough, for now.
|
||||
# The X11 files also work for non-GUI.
|
||||
FILEPFX:=x11-
|
||||
endif
|
||||
|
||||
define Build/Configure
|
||||
# NOTES:
|
||||
# demos/examples: which demos are going to be built depends on which features are going to to be compiled into qt
|
||||
# linuxfb/directfb: since directfb is not much overhead compared to plain framebuffer, force using directfb
|
||||
# do not use fontconfig as it doesn't work anyway for qte
|
||||
# bindir: bindir is where the host tools (qmake, moc, rcc, uic) will get installed into - they are just used on the host and not goig to be packaged
|
||||
mkdir -p $(PKG_BUILD_DIR)/mkspecs/$(QMAKE_PLATFORM_PREFIX)linux-openwrt-g++
|
||||
$(CP) ./files/$(FILEPFX)qmake.conf $(PKG_BUILD_DIR)/mkspecs/$(QMAKE_PLATFORM_PREFIX)linux-openwrt-g++/qmake.conf
|
||||
$(CP) ./files/$(FILEPFX)qplatformdefs.h $(PKG_BUILD_DIR)/mkspecs/$(QMAKE_PLATFORM_PREFIX)linux-openwrt-g++/qplatformdefs.h
|
||||
( cd $(PKG_BUILD_DIR) ; \
|
||||
TARGET_CC="$(TARGET_CROSS)gcc" \
|
||||
TARGET_CXX="$(TARGET_CROSS)g++" \
|
||||
TARGET_AR="$(TARGET_CROSS)ar cqs" \
|
||||
TARGET_OBJCOPY="$(TARGET_CROSS)objcopy" \
|
||||
TARGET_RANLIB="$(TARGET_CROSS)ranlib" \
|
||||
TARGET_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
|
||||
TARGET_CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
|
||||
TARGET_LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
|
||||
TARGET_INCDIRS="$(TARGET_INCDIRS)" \
|
||||
TARGET_LIBDIRS="$(TARGET_LIBDIRS)" \
|
||||
CFLAGS= \
|
||||
CXXFLAGS= \
|
||||
LDFLAGS= \
|
||||
STAGING_DIR="$(STAGING_DIR)" \
|
||||
STAGING_DIR_HOST="$(STAGING_DIR)/../host" \
|
||||
./configure \
|
||||
-arch $(ARCH) \
|
||||
-prefix $(CONFIGURE_PREFIX) \
|
||||
-bindir $(CONFIGURE_PREFIX)/bin \
|
||||
-libdir $(CONFIGURE_PREFIX)/lib \
|
||||
-datadir $(CONFIGURE_PREFIX)/share/Qt \
|
||||
-plugindir $(CONFIGURE_PREFIX)/lib/Qt/plugins \
|
||||
-demosdir $(CONFIGURE_PREFIX)/share/Qt/demos \
|
||||
-examplesdir $(CONFIGURE_PREFIX)/share/Qt/examples \
|
||||
-sysconfdir /etc/Qt \
|
||||
-no-rpath \
|
||||
-force-pkg-config \
|
||||
-continue \
|
||||
-nomake tools \
|
||||
$(if $(CONFIG_PACKAGE_qt4-demos),-make,-nomake) demos \
|
||||
$(if $(CONFIG_PACKAGE_qt4-examples),-make,-nomake) examples \
|
||||
-nomake docs \
|
||||
-nomake translations \
|
||||
-xplatform $(QMAKE_PLATFORM_PREFIX)linux-openwrt-g++ \
|
||||
-platform linux-g++ \
|
||||
$(if $(CONFIG_QT4_WS_X11),-x11,-embedded) \
|
||||
-release \
|
||||
-confirm-license \
|
||||
-opensource \
|
||||
-no-mmx \
|
||||
-no-3dnow \
|
||||
-no-sse \
|
||||
-no-sse2 \
|
||||
-system-zlib \
|
||||
-system-libtiff \
|
||||
-system-libpng \
|
||||
-system-libjpeg \
|
||||
-system-freetype \
|
||||
-system-sqlite \
|
||||
$(if $(CONFIG_PACKAGE_qt4-sqlite),-plugin-sql-sqlite) \
|
||||
$(if $(CONFIG_PACKAGE_qt4-mysql),-plugin-sql-mysql) \
|
||||
-no-decoration-styled \
|
||||
-no-decoration-windows \
|
||||
-no-decoration-default \
|
||||
-verbose \
|
||||
-no-multimedia \
|
||||
-no-audio-backend \
|
||||
$(if $(CONFIG_PACKAGE_qt4-phonon),-phonon,-no-phonon) \
|
||||
-no-phonon-backend \
|
||||
$(if $(CONFIG_PACKAGE_qt4-svg),-svg,-no-svg) \
|
||||
$(if $(CONFIG_PACKAGE_qt4-webkit),-webkit,-no-webkit) \
|
||||
-no-javascript-jit \
|
||||
$(if $(CONFIG_PACKAGE_qt4-script),-script,-no-script) \
|
||||
$(if $(CONFIG_PACKAGE_qt4-scripttools),-scripttools,-no-scripttools) \
|
||||
-no-accessibility \
|
||||
$(if $(CONFIG_PACKAGE_qt4-declarative),-declarative,-no-declarative) \
|
||||
$(if $(CONFIG_PACKAGE_qt4-openssl),-openssl -I $(STAGING_DIR)/usr/include,-no-openssl) \
|
||||
-no-nis \
|
||||
-no-cups \
|
||||
-iconv \
|
||||
$(if $(CONFIG_PACKAGE_qt4-dbus),-dbus,-no-dbus) \
|
||||
-no-gtkstyle \
|
||||
-no-nas-sound \
|
||||
-no-opengl \
|
||||
-no-openvg \
|
||||
-no-sm \
|
||||
-no-xshape \
|
||||
$(if $(CONFIG_QT4_WS_X11),-no-xsync,-xsync) \
|
||||
-no-xinerama \
|
||||
$(if $(CONFIG_QT4_WS_X11),-no-xcursor,-xcursor) \
|
||||
-no-xfixes \
|
||||
-no-xrandr \
|
||||
-no-xrender \
|
||||
-no-mitshm \
|
||||
$(if $(CONFIG_QT4_WS_X11),-no-fontconfig,-fontconfig) \
|
||||
$(if $(CONFIG_QT4_WS_X11),-no-xinput,-xinput) \
|
||||
$(if $(CONFIG_QT4_WS_X11),-no-xkb,-xkb) \
|
||||
-no-glib \
|
||||
$(if $(CONFIG_PACKAGE_qt4-qt3support),-qt3support,-no-qt3support) \
|
||||
-no-gfx-transformed \
|
||||
-no-gfx-qvfb \
|
||||
$(if $(CONFIG_PACKAGE_qt4-drivers-gfx-vnc),-plugin-gfx-vnc,-no-gfx-vnc) \
|
||||
-no-gfx-multiscreen \
|
||||
-no-gfx-qnx \
|
||||
$(if $(CONFIG_FEATURE_drawing-backend_DirectFB),$(if $(CONFIG_PACKAGE_directfb),-plugin-gfx-directfb)) \
|
||||
-plugin-gfx-linuxfb \
|
||||
-no-mouse-qvfb \
|
||||
-no-mouse-qnx \
|
||||
-qt-mouse-linuxinput \
|
||||
-plugin-mouse-linuxtp \
|
||||
-plugin-mouse-pc \
|
||||
-plugin-mouse-tslib \
|
||||
-no-kbd-qvfb \
|
||||
-no-kbd-qnx \
|
||||
-qt-kbd-tty \
|
||||
-qt-kbd-linuxinput \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
# just passing <make install> results in not building 3rdparty/webkit/JavaScriptCore
|
||||
# unfortunately in this particular case, <make> makes further <qmake> calls, therewith
|
||||
# uses the qmake.conf which needs get the cross-compiling vars passed once again
|
||||
TARGET_CC="$(TARGET_CROSS)gcc" \
|
||||
TARGET_CXX="$(TARGET_CROSS)g++" \
|
||||
TARGET_AR="$(TARGET_CROSS)ar cqs" \
|
||||
TARGET_OBJCOPY="$(TARGET_CROSS)objcopy" \
|
||||
TARGET_RANLIB="$(TARGET_CROSS)ranlib" \
|
||||
TARGET_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
|
||||
TARGET_CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
|
||||
TARGET_LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
|
||||
TARGET_INCDIRS="$(TARGET_INCDIRS)" \
|
||||
TARGET_LIBDIRS="$(TARGET_LIBDIRS)" \
|
||||
STAGING_DIR="$(STAGING_DIR)" \
|
||||
STAGING_DIR_HOST="$(STAGING_DIR)/../host" \
|
||||
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)
|
||||
INSTALL_ROOT=$(PKG_INSTALL_DIR) \
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) install
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) \
|
||||
$(STAGING_DIR_HOST)/bin
|
||||
|
||||
# host tools (qmake, moc, rcc, uic)
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/bin/{qmake,moc,rcc,uic} \
|
||||
$(STAGING_DIR_HOST)/bin/
|
||||
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/mk \
|
||||
$(1)/usr/share/mkspecs \
|
||||
$(1)/usr/lib/pkgconfig \
|
||||
$(1)/usr/lib \
|
||||
$(1)/usr/include \
|
||||
$(1)/usr/lib/Qt/plugins
|
||||
|
||||
$(CP) \
|
||||
./files/qmake.mk \
|
||||
$(1)/mk/
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/share/Qt/mkspecs/* \
|
||||
$(1)/usr/share/mkspecs/
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
||||
$(1)/usr/lib/pkgconfig/
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/* \
|
||||
$(1)/usr/include/
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
#$(CP) \
|
||||
# $(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/* \
|
||||
# $(1)/usr/lib/Qt/plugins/
|
||||
endef
|
||||
|
||||
define Package/qt4/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib \
|
||||
$(1)/usr/lib/Qt/plugins
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libQtCore.so* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
#$(CP) \
|
||||
# $(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/codecs/*.so \
|
||||
# $(1)/usr/lib/Qt/plugins/codecs/
|
||||
endef
|
||||
|
||||
define Package/qt4-gui/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib \
|
||||
$(1)/usr/lib/Qt/plugins
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libQtGui.so* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
#HACK: Qt4 requires having truetype fonts stored in /usr/lib/fonts - no subdirectories allowed, so use the dejavue set by default
|
||||
ln -s \
|
||||
/usr/share/fonts/ttf-dejavu \
|
||||
$(1)/usr/lib/fonts
|
||||
|
||||
# we use the dejavue font package instead
|
||||
#$(INSTALL_DATA) \
|
||||
# $(PKG_INSTALL_DIR)/usr/lib/fonts/*.ttf \
|
||||
# $(1)/usr/lib/fonts/
|
||||
|
||||
#$(CP) \
|
||||
# $(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/accessible \
|
||||
# $(1)/usr/lib/Qt/plugins/
|
||||
|
||||
#$(CP) \
|
||||
# $(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/imageformats \
|
||||
# $(1)/usr/lib/Qt/plugins/
|
||||
|
||||
#$(CP) \
|
||||
# $(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/inputmethods \
|
||||
# $(1)/usr/lib/Qt/plugins/
|
||||
endef
|
||||
|
||||
define Package/qt4-demos/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/share/Qt
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/share/Qt/demos \
|
||||
$(1)/usr/share/Qt/
|
||||
|
||||
$(FIND) \
|
||||
$(1) \
|
||||
-name "*.cpp" -o \
|
||||
-name "*.h" -o \
|
||||
-name "*.pro" \
|
||||
| $(XARGS) rm
|
||||
endef
|
||||
|
||||
define Package/qt4-examples/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/share/Qt
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/share/Qt/examples \
|
||||
$(1)/usr/share/Qt/
|
||||
|
||||
$(FIND) \
|
||||
$(1) \
|
||||
-name "*.cpp" -o \
|
||||
-name "*.h" -o \
|
||||
-name "*.pro" \
|
||||
| $(XARGS) rm
|
||||
endef
|
||||
|
||||
define Package/qt4-network/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libQtNetwork.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/qt4-sqlite/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib/Qt/plugins/sqldrivers
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libQtSql.so* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/sqldrivers/libqsqlite.so \
|
||||
$(1)/usr/lib/Qt/plugins/sqldrivers/
|
||||
endef
|
||||
|
||||
define Package/qt4-mysql/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib/Qt/plugins/sqldrivers
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libQtSql.so* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/sqldrivers/libqsqlmysql.so \
|
||||
$(1)/usr/lib/Qt/plugins/sqldrivers/
|
||||
endef
|
||||
|
||||
#define Package/qt4-multimedia/install
|
||||
# $(INSTALL_DIR) \
|
||||
# $(1)/usr/bin
|
||||
#
|
||||
# $(CP) \
|
||||
# $(PKG_INSTALL_DIR)/usr/bin/examples/* \
|
||||
# $(1)/usr/bin/
|
||||
#endef
|
||||
|
||||
define Package/qt4-phonon/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libphonon.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/qt4-svg/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib \
|
||||
$(1)/usr/lib/Qt/plugins
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libQtSvg.so* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
#$(CP) \
|
||||
# $(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/iconengines \
|
||||
# $(1)/usr/lib/Qt/plugins/
|
||||
|
||||
#$(CP) \
|
||||
# $(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/imageformats \
|
||||
# $(1)/usr/lib/Qt/plugins/
|
||||
endef
|
||||
|
||||
define Package/qt4-webkit/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib \
|
||||
$(1)/usr/lib/Qt/plugins
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libQtWebKit.so* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
#$(CP) \
|
||||
# $(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/designer \
|
||||
# $(1)/usr/lib/Qt/plugins/
|
||||
endef
|
||||
|
||||
define Package/qt4-script/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib \
|
||||
$(1)/usr/lib/Qt/plugins
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libQtScript.so* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
#$(CP) \
|
||||
# $(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/script \
|
||||
# $(1)/usr/lib/Qt/plugins/
|
||||
endef
|
||||
|
||||
define Package/qt4-scripttools/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libQtScriptTools.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/qt4-dbus/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libQtDBus.so* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
#$(CP) \
|
||||
# $(PKG_INSTALL_DIR)/usr/bin/qdbus \
|
||||
# $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
define Package/qt4-qt3-support/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib \
|
||||
$(1)/usr/lib/Qt/plugins
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libQt3Support.so* \
|
||||
$(1)/usr/lib/
|
||||
|
||||
#$(CP) \
|
||||
# $(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/accessible \
|
||||
# $(1)/usr/lib/Qt/plugins/
|
||||
endef
|
||||
|
||||
define Package/qt4-declarative/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libQtDeclarative.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/qt4-xml/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libQtXml.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
# plugins
|
||||
# mouse drivers
|
||||
define Package/qt4-drivers-mouse-tpmousedriver/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib/Qt/plugins/mousedrivers
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/mousedrivers/libqlinuxtpmousedriver.so \
|
||||
$(1)/usr/lib/Qt/plugins/mousedrivers/
|
||||
endef
|
||||
|
||||
define Package/qt4-drivers-mouse-pcmousedriver/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib/Qt/plugins/mousedrivers
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/mousedrivers/libqpcmousedriver.so \
|
||||
$(1)/usr/lib/Qt/plugins/mousedrivers/
|
||||
endef
|
||||
|
||||
define Package/qt4-drivers-mouse-tslibmousedriver/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib/Qt/plugins/mousedrivers
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/mousedrivers/libqtslibmousedriver.so \
|
||||
$(1)/usr/lib/Qt/plugins/mousedrivers/
|
||||
endef
|
||||
|
||||
# graphics drivers
|
||||
define Package/qt4-drivers-gfx-directfb/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib/Qt/plugins/gfxdrivers
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/gfxdrivers/libqdirectfbscreen.so \
|
||||
$(1)/usr/lib/Qt/plugins/gfxdrivers/
|
||||
endef
|
||||
|
||||
define Package/qt4-drivers-gfx-linuxfb/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib/Qt/plugins/gfxdrivers
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/gfxdrivers/libqscreenlinuxfb.so \
|
||||
$(1)/usr/lib/Qt/plugins/gfxdrivers/
|
||||
endef
|
||||
|
||||
define Package/qt4-drivers-gfx-vnc/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/lib/Qt/plugins/gfxdrivers
|
||||
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/Qt/plugins/gfxdrivers/libqgfxvnc.so \
|
||||
$(1)/usr/lib/Qt/plugins/gfxdrivers/
|
||||
endef
|
||||
|
||||
# keyboard drivers
|
||||
|
||||
|
||||
|
||||
$(eval $(call BuildPackage,qt4))
|
||||
$(eval $(call BuildPackage,qt4-gui))
|
||||
$(eval $(call BuildPackage,qt4-demos))
|
||||
$(eval $(call BuildPackage,qt4-examples))
|
||||
$(eval $(call BuildPackage,qt4-network))
|
||||
$(eval $(call BuildPackage,qt4-sqlite))
|
||||
$(eval $(call BuildPackage,qt4-mysql))
|
||||
$(eval $(call BuildPackage,qt4-openssl))
|
||||
#$(eval $(call BuildPackage,qt4-multimedia))
|
||||
#$(eval $(call BuildPackage,qt4-audio-backend))
|
||||
$(eval $(call BuildPackage,qt4-phonon))
|
||||
#$(eval $(call BuildPackage,qt4-phonon-backend))
|
||||
$(eval $(call BuildPackage,qt4-svg))
|
||||
$(eval $(call BuildPackage,qt4-webkit))
|
||||
$(eval $(call BuildPackage,qt4-script))
|
||||
$(eval $(call BuildPackage,qt4-scripttools))
|
||||
#$(eval $(call BuildPackage,qt4-accessibility))
|
||||
#$(eval $(call BuildPackage,qt4-javascript-jit))
|
||||
#$(eval $(call BuildPackage,qt4-cups))
|
||||
$(eval $(call BuildPackage,qt4-dbus))
|
||||
#$(eval $(call BuildPackage,qt4-gtkstyle))
|
||||
#$(eval $(call BuildPackage,qt4-glib))
|
||||
$(eval $(call BuildPackage,qt4-qt3support))
|
||||
$(eval $(call BuildPackage,qt4-declarative))
|
||||
$(eval $(call BuildPackage,qt4-xml))
|
||||
|
||||
$(eval $(call BuildPackage,qt4-drivers-mouse-tpmousedriver))
|
||||
$(eval $(call BuildPackage,qt4-drivers-mouse-pcmousedriver))
|
||||
$(eval $(call BuildPackage,qt4-drivers-mouse-tslibmousedriver))
|
||||
|
||||
$(eval $(call BuildPackage,qt4-drivers-gfx-directfb))
|
||||
$(eval $(call BuildPackage,qt4-drivers-gfx-linuxfb))
|
||||
$(eval $(call BuildPackage,qt4-drivers-gfx-vnc))
|
@ -1,60 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
QMAKE_PLATFORM_PREFIX:=$(if $(CONFIG_QT4_WS_QWS),qws/)
|
||||
QMAKE_SPECFILE:=$(STAGING_DIR)/usr/share/mkspecs/$(QMAKE_PLATFORM_PREFIX)linux-openwrt-g++
|
||||
|
||||
TARGET_INCDIRS +=\
|
||||
$(TOOLCHAIN_DIR)/include \
|
||||
$(STAGING_DIR)/include \
|
||||
$(TOOLCHAIN_DIR)/usr/include \
|
||||
$(STAGING_DIR)/usr/include
|
||||
|
||||
TARGET_LIBDIRS += \
|
||||
$(TOOLCHAIN_DIR)/lib \
|
||||
$(STAGING_DIR)/lib \
|
||||
$(TOOLCHAIN_DIR)/usr/lib \
|
||||
$(STAGING_DIR)/usr/lib
|
||||
|
||||
define Build/Configure/Qmake
|
||||
TARGET_CC="$(TARGET_CROSS)gcc" \
|
||||
TARGET_CXX="$(TARGET_CROSS)g++" \
|
||||
TARGET_AR="$(TARGET_CROSS)ar cqs" \
|
||||
TARGET_OBJCOPY="$(TARGET_CROSS)objcopy" \
|
||||
TARGET_RANLIB="$(TARGET_CROSS)ranlib" \
|
||||
TARGET_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
|
||||
TARGET_CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
|
||||
TARGET_LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
|
||||
TARGET_INCDIRS="$(TARGET_INCDIRS)" \
|
||||
TARGET_LIBDIRS="$(TARGET_LIBDIRS)" \
|
||||
TARGET_LIBS="$(TARGET_LIBS)" \
|
||||
STAGING_DIR_HOST="$(STAGING_DIR)/../host" \
|
||||
STAGING_DIR="$(STAGING_DIR)" \
|
||||
qmake \
|
||||
-spec $(QMAKE_SPECFILE) \
|
||||
-o $(PKG_BUILD_DIR)/$(2)/Makefile \
|
||||
$(PKG_BUILD_DIR)/$(2)/$(1).pro
|
||||
endef
|
||||
|
||||
# we need to pass everything to $(MAKE) as well, as Makefiles may invoke qmake once again for creating further Makefiles
|
||||
define Build/Compile/Default
|
||||
TARGET_CC="$(TARGET_CROSS)gcc" \
|
||||
TARGET_CXX="$(TARGET_CROSS)g++" \
|
||||
TARGET_AR="$(TARGET_CROSS)ar cqs" \
|
||||
TARGET_OBJCOPY="$(TARGET_CROSS)objcopy" \
|
||||
TARGET_RANLIB="$(TARGET_CROSS)ranlib" \
|
||||
TARGET_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
|
||||
TARGET_CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
|
||||
TARGET_LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
|
||||
TARGET_INCDIRS="$(TARGET_INCDIRS)" \
|
||||
TARGET_LIBDIRS="$(TARGET_LIBDIRS)" \
|
||||
TARGET_LIBS="$(TARGET_LIBS)" \
|
||||
STAGING_DIR_HOST="$(STAGING_DIR)/../host" \
|
||||
STAGING_DIR="$(STAGING_DIR)" \
|
||||
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \
|
||||
$(1);
|
||||
endef
|
@ -1,45 +0,0 @@
|
||||
include(../../common/g++.conf)
|
||||
include(../../common/linux.conf)
|
||||
include(../../common/qws.conf)
|
||||
|
||||
# QMAKE_{INC,LIB}DIR_QT needs to be overridden,
|
||||
# as they're set to $$[QT_INSTALL_{HEADERS,LIBS}] by default
|
||||
# which are compiled into the qmake binary statically
|
||||
QMAKE_INCDIR_QT = $$(TARGET_INCDIRS)
|
||||
QMAKE_LIBDIR_QT = $$(TARGET_LIBDIRS)
|
||||
QMAKE_INCDIR = $$(TARGET_INCDIRS)
|
||||
QMAKE_LIBDIR = $$(TARGET_LIBDIRS)
|
||||
QMAKE_MOC = $$(STAGING_DIR_HOST)/bin/moc
|
||||
QMAKE_UIC = $$(STAGING_DIR_HOST)/bin/uic
|
||||
QMAKE_RCC = $$(STAGING_DIR_HOST)/bin/rcc
|
||||
QMAKE_CC = $$(TARGET_CC)
|
||||
QMAKE_CXX = $$(TARGET_CXX)
|
||||
QMAKE_AR = $$(TARGET_AR)
|
||||
QMAKE_OBJCOPY = $$(TARGET_OBJCOPY)
|
||||
QMAKE_RANLIB = $$(TARGET_RANLIB)
|
||||
QMAKE_CFLAGS = $$(TARGET_CFLAGS)
|
||||
QMAKE_CXXFLAGS = $$(TARGET_CFLAGS)
|
||||
QMAKE_LINK = $$(TARGET_CXX)
|
||||
QMAKE_LINK_C = $$(TARGET_CC)
|
||||
QMAKE_LIBS = $$(TARGET_LIBS)
|
||||
QMAKE_LFLAGS = $$(TARGET_LDFLAGS) # this will end up in redundant "-L"-strings, as they're already in $QMAKE_LIBDIR_QT, however TARGET_LDFLAGS may contain not only directories but special linker options
|
||||
|
||||
#unset vars which would intefere with vars/flags passed over by OpenWrt
|
||||
QMAKE_STRIP = # do not strip
|
||||
QMAKE_STRIPFLAGS_LIB = # do not strip
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF =
|
||||
QMAKE_CFLAGS_RELEASE =
|
||||
QMAKE_CFLAGS_DEBUG =
|
||||
QMAKE_CFLAGS_PRECOMPILE =
|
||||
QMAKE_CFLAGS_USE_PRECOMPILE =
|
||||
QMAKE_CXXFLAGS_WARN_ON =
|
||||
QMAKE_CXXFLAGS_WARN_OFF =
|
||||
QMAKE_CXXFLAGS_RELEASE =
|
||||
QMAKE_CXXFLAGS_DEBUG =
|
||||
QMAKE_CXXFLAGS_PRECOMPILE =
|
||||
QMAKE_CXXFLAGS_USE_PRECOMPILE =
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_NOUNDEF =
|
||||
|
||||
load(qt_config)
|
@ -1 +0,0 @@
|
||||
#include "../../linux-g++/qplatformdefs.h"
|
@ -1,50 +0,0 @@
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
TARGET_PLATFORM = unix
|
||||
CONFIG += qt warn_on release incremental link_prl
|
||||
QT += core gui
|
||||
QMAKE_INCREMENTAL_STYLE = sublib
|
||||
|
||||
include(../common/g++.conf)
|
||||
include(../common/linux.conf)
|
||||
|
||||
# QMAKE_{INC,LIB}DIR_QT needs to be overridden,
|
||||
# as they're set to $$[QT_INSTALL_{HEADERS,LIBS}] by default
|
||||
# which are compiled into the qmake binary statically
|
||||
QMAKE_INCDIR_QT = $$(TARGET_INCDIRS)
|
||||
QMAKE_LIBDIR_QT = $$(TARGET_LIBDIRS)
|
||||
QMAKE_INCDIR = $$(TARGET_INCDIRS)
|
||||
QMAKE_LIBDIR = $$(TARGET_LIBDIRS)
|
||||
QMAKE_MOC = $$(STAGING_DIR_HOST)/bin/moc
|
||||
QMAKE_UIC = $$(STAGING_DIR_HOST)/bin/uic
|
||||
QMAKE_RCC = $$(STAGING_DIR_HOST)/bin/rcc
|
||||
QMAKE_CC = $$(TARGET_CC)
|
||||
QMAKE_CXX = $$(TARGET_CXX)
|
||||
QMAKE_AR = $$(TARGET_AR)
|
||||
QMAKE_OBJCOPY = $$(TARGET_OBJCOPY)
|
||||
QMAKE_RANLIB = $$(TARGET_RANLIB)
|
||||
QMAKE_CFLAGS = $$(TARGET_CFLAGS)
|
||||
QMAKE_CXXFLAGS = $$(TARGET_CFLAGS)
|
||||
QMAKE_LINK = $$(TARGET_CXX)
|
||||
QMAKE_LINK_C = $$(TARGET_CC)
|
||||
QMAKE_LIBS = $$(TARGET_LIBS)
|
||||
QMAKE_LFLAGS = $$(TARGET_LDFLAGS) # this will end up in redundant "-L"-strings, as they're already in $QMAKE_LIBDIR_QT, however TARGET_LDFLAGS may contain not only directories but special linker options
|
||||
|
||||
#unset vars which would intefere with vars/flags passed over by OpenWrt
|
||||
QMAKE_STRIP = # do not strip
|
||||
QMAKE_STRIPFLAGS_LIB = # do not strip
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF =
|
||||
QMAKE_CFLAGS_RELEASE =
|
||||
QMAKE_CFLAGS_DEBUG =
|
||||
QMAKE_CFLAGS_PRECOMPILE =
|
||||
QMAKE_CFLAGS_USE_PRECOMPILE =
|
||||
QMAKE_CXXFLAGS_WARN_ON =
|
||||
QMAKE_CXXFLAGS_WARN_OFF =
|
||||
QMAKE_CXXFLAGS_RELEASE =
|
||||
QMAKE_CXXFLAGS_DEBUG =
|
||||
QMAKE_CXXFLAGS_PRECOMPILE =
|
||||
QMAKE_CXXFLAGS_USE_PRECOMPILE =
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_NOUNDEF =
|
||||
|
||||
load(qt_config)
|
@ -1 +0,0 @@
|
||||
#include "../linux-g++/qplatformdefs.h"
|
@ -1,35 +0,0 @@
|
||||
--- qt-everywhere-opensource-src-4.7.0-beta1/src/network/kernel/qhostinfo_unix.cpp 2010-05-04 02:43:25.000000000 +0200
|
||||
+++ qt-everywhere-opensource-src-4.7.0-beta1/src/network/kernel/qhostinfo_unix.cpp.new 2010-06-20 14:43:48.565315801 +0200
|
||||
@@ -326,7 +326,7 @@
|
||||
|
||||
QString QHostInfo::localDomainName()
|
||||
{
|
||||
-#if !defined(Q_OS_VXWORKS)
|
||||
+#if 0
|
||||
resolveLibrary();
|
||||
if (local_res_ninit) {
|
||||
// using thread-safe version
|
||||
--- qt-everywhere-opensource-src-4.7.0-beta1/src/qt3support/network/q3dns.cpp 2010-05-04 02:43:25.000000000 +0200
|
||||
+++ qt-everywhere-opensource-src-4.7.0-beta1/src/qt3support/network/q3dns.cpp.new 2010-06-20 14:43:48.565315801 +0200
|
||||
@@ -2499,8 +2499,8 @@
|
||||
break;
|
||||
}
|
||||
# endif
|
||||
- if ( *res.defdname )
|
||||
- theDomains->append( QString::fromLatin1( res.defdname ).lower().local8Bit() );
|
||||
+// if ( *res.defdname )
|
||||
+// theDomains->append( QString::fromLatin1( res.defdname ).lower().local8Bit() );
|
||||
#else
|
||||
res_init();
|
||||
int i;
|
||||
@@ -2515,8 +2515,8 @@
|
||||
break;
|
||||
}
|
||||
# endif
|
||||
- if ( *_res.defdname )
|
||||
- theDomains->append( QString::fromLatin1( _res.defdname ).lower().local8Bit() );
|
||||
+// if ( *_res.defdname )
|
||||
+// theDomains->append( QString::fromLatin1( _res.defdname ).lower().local8Bit() );
|
||||
#endif
|
||||
|
||||
// the code above adds "0.0.0.0" as a name server at the slightest
|
@ -1,15 +0,0 @@
|
||||
--- qt/examples/qws/qws.pro 2010-02-11 16:55:17.000000000 +0100
|
||||
+++ qt/examples/qws/qws.pro.mod 2010-03-22 10:56:10.372868670 +0100
|
||||
@@ -1,7 +1,11 @@
|
||||
TEMPLATE = subdirs
|
||||
# no /dev/fbX
|
||||
!qnx:!vxworks:SUBDIRS = framebuffer
|
||||
-SUBDIRS += mousecalibration simpledecoration
|
||||
+SUBDIRS += mousecalibration
|
||||
+
|
||||
+!isEmpty( decorations ) {
|
||||
+ SUBDIRS += simpledecoration
|
||||
+}
|
||||
|
||||
# install
|
||||
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS README *.pro
|
@ -1,14 +0,0 @@
|
||||
---
|
||||
src/corelib/animation/qvariantanimation.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- qt-everywhere-opensource-src-4.7.0-beta2.orig/src/corelib/animation/qvariantanimation.h
|
||||
+++ qt-everywhere-opensource-src-4.7.0-beta2/src/corelib/animation/qvariantanimation.h
|
||||
@@ -117,6 +117,7 @@ private:
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
+static inline __attribute__((__always_inline__))
|
||||
void qRegisterAnimationInterpolator(QVariant (*func)(const T &from, const T &to, qreal progress)) {
|
||||
QVariantAnimation::registerInterpolator(reinterpret_cast<QVariantAnimation::Interpolator>(func), qMetaTypeId<T>());
|
||||
}
|
@ -1,263 +0,0 @@
|
||||
commit 57ad39ec62175eeea023ca802448ebb1605dca23
|
||||
Author: Andreas Kling <andreas.kling@nokia.com>
|
||||
Date: Fri Nov 12 16:08:35 2010 +0100
|
||||
|
||||
Don't pack Harfbuzz structs, this causes unaligned access crashes.
|
||||
|
||||
The memory-greediest structs have been reordered anyway, so the gain
|
||||
from forcibly packing them is mostly negligible.
|
||||
|
||||
Task-number: QTBUG-13395
|
||||
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
|
||||
|
||||
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-buffer.h b/src/3rdparty/harfbuzz/src/harfbuzz-buffer.h
|
||||
index 0d7c2c2..0d631b2 100644
|
||||
--- a/src/3rdparty/harfbuzz/src/harfbuzz-buffer.h
|
||||
+++ b/src/3rdparty/harfbuzz/src/harfbuzz-buffer.h
|
||||
@@ -32,10 +32,6 @@
|
||||
|
||||
HB_BEGIN_HEADER
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(push, 1)
|
||||
-#endif
|
||||
-
|
||||
typedef struct HB_GlyphItemRec_ {
|
||||
HB_UInt gindex;
|
||||
HB_UInt properties;
|
||||
@@ -93,10 +89,6 @@ hb_buffer_add_glyph( HB_Buffer buffer,
|
||||
HB_UInt properties,
|
||||
HB_UInt cluster );
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(pop)
|
||||
-#endif
|
||||
-
|
||||
HB_END_HEADER
|
||||
|
||||
#endif /* HARFBUZZ_BUFFER_H */
|
||||
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-gdef-private.h b/src/3rdparty/harfbuzz/src/harfbuzz-gdef-private.h
|
||||
index 2a6d958..94e9b43 100644
|
||||
--- a/src/3rdparty/harfbuzz/src/harfbuzz-gdef-private.h
|
||||
+++ b/src/3rdparty/harfbuzz/src/harfbuzz-gdef-private.h
|
||||
@@ -33,11 +33,6 @@
|
||||
|
||||
HB_BEGIN_HEADER
|
||||
|
||||
-
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(push, 1)
|
||||
-#endif
|
||||
-
|
||||
/* Attachment related structures */
|
||||
|
||||
struct HB_AttachPoint_
|
||||
@@ -126,10 +121,6 @@ _HB_GDEF_LoadMarkAttachClassDef_From_LookupFlags( HB_GDEFHeader* gdef,
|
||||
HB_Lookup* lo,
|
||||
HB_UShort num_lookups );
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(pop)
|
||||
-#endif
|
||||
-
|
||||
HB_END_HEADER
|
||||
|
||||
#endif /* HARFBUZZ_GDEF_PRIVATE_H */
|
||||
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-gdef.h b/src/3rdparty/harfbuzz/src/harfbuzz-gdef.h
|
||||
index f9a03dd..ccb6bf9 100644
|
||||
--- a/src/3rdparty/harfbuzz/src/harfbuzz-gdef.h
|
||||
+++ b/src/3rdparty/harfbuzz/src/harfbuzz-gdef.h
|
||||
@@ -31,10 +31,6 @@
|
||||
|
||||
HB_BEGIN_HEADER
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(push, 1)
|
||||
-#endif
|
||||
-
|
||||
/* GDEF glyph properties. Note that HB_GDEF_COMPONENT has no corresponding
|
||||
* flag in the LookupFlag field. */
|
||||
#define HB_GDEF_BASE_GLYPH 0x0002
|
||||
@@ -131,10 +127,6 @@ HB_Error HB_GDEF_Build_ClassDefinition( HB_GDEFHeader* gdef,
|
||||
HB_UShort* glyph_array,
|
||||
HB_UShort* class_array );
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(pop)
|
||||
-#endif
|
||||
-
|
||||
HB_END_HEADER
|
||||
|
||||
#endif /* HARFBUZZ_GDEF_H */
|
||||
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-global.h b/src/3rdparty/harfbuzz/src/harfbuzz-global.h
|
||||
index bccd6a2..d4e6b46 100644
|
||||
--- a/src/3rdparty/harfbuzz/src/harfbuzz-global.h
|
||||
+++ b/src/3rdparty/harfbuzz/src/harfbuzz-global.h
|
||||
@@ -39,10 +39,6 @@
|
||||
#define HB_END_HEADER /* nothing */
|
||||
#endif
|
||||
|
||||
-#if defined(__GNUC__) || defined(_MSC_VER)
|
||||
-#define HB_USE_PACKED_STRUCTS
|
||||
-#endif
|
||||
-
|
||||
HB_BEGIN_HEADER
|
||||
|
||||
#ifndef FALSE
|
||||
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-gpos-private.h b/src/3rdparty/harfbuzz/src/harfbuzz-gpos-private.h
|
||||
index 39f3159..63ba907 100644
|
||||
--- a/src/3rdparty/harfbuzz/src/harfbuzz-gpos-private.h
|
||||
+++ b/src/3rdparty/harfbuzz/src/harfbuzz-gpos-private.h
|
||||
@@ -32,10 +32,6 @@
|
||||
|
||||
HB_BEGIN_HEADER
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(push, 1)
|
||||
-#endif
|
||||
-
|
||||
/* shared tables */
|
||||
|
||||
#define VR_X_PLACEMENT_DEVICE 0
|
||||
@@ -720,10 +716,6 @@ HB_INTERNAL void
|
||||
_HB_GPOS_Free_SubTable( HB_GPOS_SubTable* st,
|
||||
HB_UShort lookup_type );
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(pop)
|
||||
-#endif
|
||||
-
|
||||
HB_END_HEADER
|
||||
|
||||
#endif /* HARFBUZZ_GPOS_PRIVATE_H */
|
||||
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-gsub-private.h b/src/3rdparty/harfbuzz/src/harfbuzz-gsub-private.h
|
||||
index 7eb329e..df0c3f6 100644
|
||||
--- a/src/3rdparty/harfbuzz/src/harfbuzz-gsub-private.h
|
||||
+++ b/src/3rdparty/harfbuzz/src/harfbuzz-gsub-private.h
|
||||
@@ -32,10 +32,6 @@
|
||||
|
||||
HB_BEGIN_HEADER
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(push, 1)
|
||||
-#endif
|
||||
-
|
||||
typedef union HB_GSUB_SubTable_ HB_GSUB_SubTable;
|
||||
|
||||
/* LookupType 1 */
|
||||
@@ -474,10 +470,6 @@ HB_INTERNAL void
|
||||
_HB_GSUB_Free_SubTable( HB_GSUB_SubTable* st,
|
||||
HB_UShort lookup_type );
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(pop)
|
||||
-#endif
|
||||
-
|
||||
HB_END_HEADER
|
||||
|
||||
#endif /* HARFBUZZ_GSUB_PRIVATE_H */
|
||||
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-gsub.h b/src/3rdparty/harfbuzz/src/harfbuzz-gsub.h
|
||||
index b00df44..6e452bd 100644
|
||||
--- a/src/3rdparty/harfbuzz/src/harfbuzz-gsub.h
|
||||
+++ b/src/3rdparty/harfbuzz/src/harfbuzz-gsub.h
|
||||
@@ -31,11 +31,6 @@
|
||||
|
||||
HB_BEGIN_HEADER
|
||||
|
||||
-
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(push, 1)
|
||||
-#endif
|
||||
-
|
||||
/* Lookup types for glyph substitution */
|
||||
|
||||
#define HB_GSUB_LOOKUP_SINGLE 1
|
||||
@@ -139,10 +134,6 @@ HB_Error HB_GSUB_Register_Alternate_Function( HB_GSUBHeader* gsub,
|
||||
HB_Error HB_GSUB_Apply_String( HB_GSUBHeader* gsub,
|
||||
HB_Buffer buffer );
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(pop)
|
||||
-#endif
|
||||
-
|
||||
HB_END_HEADER
|
||||
|
||||
#endif /* HARFBUZZ_GSUB_H */
|
||||
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-open.h b/src/3rdparty/harfbuzz/src/harfbuzz-open.h
|
||||
index 4ba6cf5..9ad7c98 100644
|
||||
--- a/src/3rdparty/harfbuzz/src/harfbuzz-open.h
|
||||
+++ b/src/3rdparty/harfbuzz/src/harfbuzz-open.h
|
||||
@@ -30,10 +30,6 @@
|
||||
|
||||
HB_BEGIN_HEADER
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(push, 1)
|
||||
-#endif
|
||||
-
|
||||
/* Use this if a feature applies to all glyphs */
|
||||
#define HB_ALL_GLYPHS 0xFFFF
|
||||
|
||||
@@ -279,10 +275,6 @@ enum HB_Type_
|
||||
|
||||
typedef enum HB_Type_ HB_Type;
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(pop)
|
||||
-#endif
|
||||
-
|
||||
HB_END_HEADER
|
||||
|
||||
#endif /* HARFBUZZ_OPEN_H */
|
||||
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-shaper.h b/src/3rdparty/harfbuzz/src/harfbuzz-shaper.h
|
||||
index ab5c07a..470e27b 100644
|
||||
--- a/src/3rdparty/harfbuzz/src/harfbuzz-shaper.h
|
||||
+++ b/src/3rdparty/harfbuzz/src/harfbuzz-shaper.h
|
||||
@@ -34,10 +34,6 @@
|
||||
|
||||
HB_BEGIN_HEADER
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(push, 1)
|
||||
-#endif
|
||||
-
|
||||
/*
|
||||
using anything else than signed or unsigned for bitfields in C is non standard,
|
||||
but accepted by almost all compilers. And it gives a significant reduction in
|
||||
@@ -258,10 +254,6 @@ typedef struct HB_Font_ {
|
||||
void *userData;
|
||||
} HB_FontRec;
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(pop)
|
||||
-#endif
|
||||
-
|
||||
typedef struct HB_ShaperItem_ HB_ShaperItem;
|
||||
|
||||
struct HB_ShaperItem_ {
|
||||
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-stream.h b/src/3rdparty/harfbuzz/src/harfbuzz-stream.h
|
||||
index a155cc2..cfbfb1c 100644
|
||||
--- a/src/3rdparty/harfbuzz/src/harfbuzz-stream.h
|
||||
+++ b/src/3rdparty/harfbuzz/src/harfbuzz-stream.h
|
||||
@@ -30,10 +30,6 @@
|
||||
|
||||
HB_BEGIN_HEADER
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(push, 1)
|
||||
-#endif
|
||||
-
|
||||
typedef struct HB_StreamRec_
|
||||
{
|
||||
HB_Byte* base;
|
||||
@@ -42,10 +38,6 @@ typedef struct HB_StreamRec_
|
||||
HB_UInt pos;
|
||||
} HB_StreamRec;
|
||||
|
||||
-#ifdef HB_USE_PACKED_STRUCTS
|
||||
-#pragma pack(pop)
|
||||
-#endif
|
||||
-
|
||||
HB_END_HEADER
|
||||
|
||||
#endif
|
@ -1,58 +0,0 @@
|
||||
--- qt-everywhere-opensource-src-4.7.0/src/gui/embedded/qkbdlinuxinput_qws.cpp 2010-09-10 11:05:24.000000000 +0200
|
||||
+++ qt-everywhere-opensource-src-4.7.0/src/gui/embedded/qkbdlinuxinput_qws.cpp.mod 2011-04-28 21:57:04.208449828 +0200
|
||||
@@ -103,6 +103,7 @@
|
||||
QString dev = QLatin1String("/dev/input/event1");
|
||||
int repeat_delay = -1;
|
||||
int repeat_rate = -1;
|
||||
+ int grab = 0;
|
||||
|
||||
QStringList args = device.split(QLatin1Char(':'));
|
||||
foreach (const QString &arg, args) {
|
||||
@@ -110,12 +111,15 @@
|
||||
repeat_delay = arg.mid(13).toInt();
|
||||
else if (arg.startsWith(QLatin1String("repeat-rate=")))
|
||||
repeat_rate = arg.mid(12).toInt();
|
||||
+ else if (arg.startsWith(QLatin1String("grab=")))
|
||||
+ grab = arg.mid(5).toInt();
|
||||
else if (arg.startsWith(QLatin1String("/dev/")))
|
||||
dev = arg;
|
||||
}
|
||||
|
||||
m_fd = QT_OPEN(dev.toLocal8Bit().constData(), O_RDWR, 0);
|
||||
if (m_fd >= 0) {
|
||||
+ ::ioctl(m_fd, EVIOCGRAB, grab);
|
||||
if (repeat_delay > 0 && repeat_rate > 0) {
|
||||
int kbdrep[2] = { repeat_delay, repeat_rate };
|
||||
::ioctl(m_fd, EVIOCSREP, kbdrep);
|
||||
--- qt-everywhere-opensource-src-4.7.0/src/gui/embedded/qmouselinuxinput_qws.cpp 2010-09-10 11:05:24.000000000 +0200
|
||||
+++ qt-everywhere-opensource-src-4.7.0/src/gui/embedded/qmouselinuxinput_qws.cpp.mod 2011-04-28 21:57:13.358562410 +0200
|
||||
@@ -43,6 +43,7 @@
|
||||
|
||||
#include <QScreen>
|
||||
#include <QSocketNotifier>
|
||||
+#include <QStringList>
|
||||
|
||||
#include <qplatformdefs.h>
|
||||
#include <private/qcore_unix_p.h> // overrides QT_OPEN
|
||||
@@ -101,11 +102,19 @@
|
||||
setObjectName(QLatin1String("LinuxInputSubsystem Mouse Handler"));
|
||||
|
||||
QString dev = QLatin1String("/dev/input/event0");
|
||||
- if (device.startsWith(QLatin1String("/dev/")))
|
||||
- dev = device;
|
||||
+ int grab = 0;
|
||||
+
|
||||
+ QStringList args = device.split(QLatin1Char(':'));
|
||||
+ foreach (const QString &arg, args) {
|
||||
+ if (arg.startsWith(QLatin1String("grab=")))
|
||||
+ grab = arg.mid(5).toInt();
|
||||
+ else if (arg.startsWith(QLatin1String("/dev/")))
|
||||
+ dev = arg;
|
||||
+ }
|
||||
|
||||
m_fd = QT_OPEN(dev.toLocal8Bit().constData(), O_RDONLY | O_NDELAY, 0);
|
||||
if (m_fd >= 0) {
|
||||
+ ::ioctl(m_fd, EVIOCGRAB, grab);
|
||||
m_notify = new QSocketNotifier(m_fd, QSocketNotifier::Read, this);
|
||||
connect(m_notify, SIGNAL(activated(int)), this, SLOT(readMouseData()));
|
||||
} else {
|
@ -1,47 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_BASE_NAME:=@BASE_NAME@
|
||||
PKG_NAME:=@NAME@
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=@VER@
|
||||
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/lib/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}-$(PKG_VERSION)/
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/@NAME@
|
||||
SECTION:=xorg-lib
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=lib
|
||||
DEPENDS:=@DEP@ @DISPLAY_SUPPORT
|
||||
TITLE:=@NAME@
|
||||
URL:=http://xorg.freedesktop.org/
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS += --enable-malloc0returnsnull --without-xcb
|
||||
|
||||
define Build/Compile
|
||||
$(call $(PKG_NAME)/Compile)
|
||||
make -C $(PKG_BUILD_DIR)
|
||||
DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS) install
|
||||
find $(PKG_INSTALL_DIR) -name *.la | xargs rm -rf
|
||||
endef
|
||||
|
||||
define Package/@NAME@/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,@NAME@))
|
@ -1,62 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2006-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=tslib
|
||||
PKG_VERSION:=1.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://download.berlios.de/tslib/
|
||||
PKG_MD5SUM:=92b2eb55b1e4ef7e2c0347069389390e
|
||||
|
||||
PKG_INSTALL:=1
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/tslib
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=Tslib is an abstraction layer for touchscreen panel events.
|
||||
DEPENDS:=@!LINUX_2_4
|
||||
URL:=http://tslib.berlios.de/
|
||||
endef
|
||||
|
||||
define Package/tslib/description
|
||||
Tslib is an abstraction layer for touchscreen panel events,
|
||||
as well as a filter stack for the manipulation of those events.
|
||||
It was created by Russell King, of arm.linux.org.uk.
|
||||
Examples of implemented filters include jitter smoothing and the calibration transform.
|
||||
endef
|
||||
|
||||
ifeq ($(CONFIG_TARGET_om_gta02),y)
|
||||
TS_CALIBRATION:=pointercal_om_gta02
|
||||
endif
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); ./autogen.sh );
|
||||
$(call Build/Configure/Default, --enable-malloc0returnsnull)
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib/pkgconfig
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/tslib/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/ts $(1)/usr/bin $(1)/etc
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ts/*.so* $(1)/usr/lib/ts/
|
||||
$(INSTALL_DATA) ./files/ts.conf $(1)/etc/
|
||||
$(if $(TS_CALIBRATION),$(CP) ./files/$(TS_CALIBRATION) $(1)/etc/pointercal )
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,tslib))
|
Binary file not shown.
@ -1,25 +0,0 @@
|
||||
# Uncomment if you wish to use the linux input layer event interface
|
||||
module_raw input grab_events=1
|
||||
|
||||
# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
|
||||
# module_raw collie
|
||||
|
||||
# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
|
||||
# module_raw corgi
|
||||
|
||||
# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
|
||||
# module_raw ucb1x00
|
||||
|
||||
# Uncomment if you're using an HP iPaq h3600 or similar
|
||||
# module_raw h3600
|
||||
|
||||
# Uncomment if you're using a Hitachi Webpad
|
||||
# module_raw mk712
|
||||
|
||||
# Uncomment if you're using an IBM Arctic II
|
||||
# module_raw arctic2
|
||||
|
||||
module pthres pmin=1
|
||||
module variance delta=30
|
||||
module dejitter delta=100
|
||||
module linear
|
@ -1,18 +0,0 @@
|
||||
|
||||
#
|
||||
# Patch managed by http://www.holgerschurig.de/patcher.html
|
||||
#
|
||||
|
||||
--- tslib/tests/fbutils.c~devfs.patch
|
||||
+++ tslib/tests/fbutils.c
|
||||
@@ -44,8 +44,8 @@
|
||||
static unsigned colormap [256];
|
||||
int xres, yres;
|
||||
|
||||
-static char *defaultfbdevice = "/dev/fb0";
|
||||
-static char *defaultconsoledevice = "/dev/tty";
|
||||
+static char *defaultfbdevice = "/dev/fb/0";
|
||||
+static char *defaultconsoledevice = "/dev/vc/";
|
||||
static char *fbdevice = NULL;
|
||||
static char *consoledevice = NULL;
|
||||
|
@ -1,80 +0,0 @@
|
||||
|
||||
#
|
||||
# Patch managed by http://www.holgerschurig.de/patcher.html
|
||||
#
|
||||
|
||||
--- tslib/tests/ts_calibrate.c~event1
|
||||
+++ tslib/tests/ts_calibrate.c
|
||||
@@ -179,11 +179,7 @@
|
||||
if( (tsdevice = getenv("TSLIB_TSDEVICE")) != NULL ) {
|
||||
ts = ts_open(tsdevice,0);
|
||||
} else {
|
||||
-#ifdef USE_INPUT_API
|
||||
- ts = ts_open("/dev/input/event0", 0);
|
||||
-#else
|
||||
- ts = ts_open("/dev/touchscreen/ucb1x00", 0);
|
||||
-#endif /* USE_INPUT_API */
|
||||
+ ts = ts_open("/dev/input/event1", 0);
|
||||
}
|
||||
|
||||
if (!ts) {
|
||||
--- tslib/tests/ts_print.c~event1
|
||||
+++ tslib/tests/ts_print.c
|
||||
@@ -28,11 +28,7 @@
|
||||
if( (tsdevice = getenv("TSLIB_TSDEVICE")) != NULL ) {
|
||||
ts = ts_open(tsdevice,0);
|
||||
} else {
|
||||
-#ifdef USE_INPUT_API
|
||||
- ts = ts_open("/dev/input/event0", 0);
|
||||
-#else
|
||||
- ts = ts_open("/dev/touchscreen/ucb1x00", 0);
|
||||
-#endif /* USE_INPUT_API */
|
||||
+ ts = ts_open("/dev/input/event1", 0);
|
||||
}
|
||||
|
||||
if (!ts) {
|
||||
--- tslib/tests/ts_test.c~event1
|
||||
+++ tslib/tests/ts_test.c
|
||||
@@ -120,11 +120,7 @@
|
||||
signal(SIGTERM, sig);
|
||||
|
||||
if ((tsdevice = getenv("TSLIB_TSDEVICE")) == NULL) {
|
||||
-#ifdef USE_INPUT_API
|
||||
- tsdevice = strdup ("/dev/input/event0");
|
||||
-#else
|
||||
- tsdevice = strdup ("/dev/touchscreen/ucb1x00");
|
||||
-#endif /* USE_INPUT_API */
|
||||
+ tsdevice = strdup ("/dev/input/event1");
|
||||
}
|
||||
|
||||
ts = ts_open (tsdevice, 0);
|
||||
--- tslib/tests/ts_print_raw.c~event1
|
||||
+++ tslib/tests/ts_print_raw.c
|
||||
@@ -28,11 +28,7 @@
|
||||
if( (tsdevice = getenv("TSLIB_TSDEVICE")) != NULL ) {
|
||||
ts = ts_open(tsdevice,0);
|
||||
} else {
|
||||
-#ifdef USE_INPUT_API
|
||||
- ts = ts_open("/dev/input/event0", 0);
|
||||
-#else
|
||||
- ts = ts_open("/dev/touchscreen/ucb1x00", 0);
|
||||
-#endif /* USE_INPUT_API */
|
||||
+ ts = ts_open("/dev/input/event1", 0);
|
||||
}
|
||||
|
||||
if (!ts) {
|
||||
--- tslib/tests/ts_harvest.c~event1
|
||||
+++ tslib/tests/ts_harvest.c
|
||||
@@ -75,11 +75,7 @@
|
||||
signal(SIGTERM, sig);
|
||||
|
||||
if ((tsdevice = getenv("TSLIB_TSDEVICE")) == NULL) {
|
||||
-#ifdef USE_INPUT_API
|
||||
- tsdevice = strdup ("/dev/input/event0");
|
||||
-#else
|
||||
- tsdevice = strdup ("/dev/touchscreen/ucb1x00");
|
||||
-#endif /* USE_INPUT_API */
|
||||
+ tsdevice = strdup ("/dev/input/event1");
|
||||
}
|
||||
|
||||
ts = ts_open (tsdevice, 0);
|
@ -1,32 +0,0 @@
|
||||
---
|
||||
configure.ac | 10 +++++-----
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
Index: tslib-1.0/configure.ac
|
||||
===================================================================
|
||||
--- tslib-1.0.orig/configure.ac 2006-08-24 22:02:55.000000000 +0100
|
||||
+++ tslib-1.0/configure.ac 2007-07-09 21:04:38.000000000 +0100
|
||||
@@ -2,7 +2,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
-AC_INIT(tslib, 0.0.2, kergoth@handhelds.org)
|
||||
+AC_INIT(tslib, 1.0.0, kergoth@handhelds.org)
|
||||
# AC_CONFIG_AUX_DIR(config)
|
||||
AM_INIT_AUTOMAKE(dist-bzip2)
|
||||
AC_CONFIG_SRCDIR([src/ts_close.c])
|
||||
@@ -193,10 +193,10 @@ TS_CONF='${sysconfdir}/ts.conf'
|
||||
AC_SUBST(TS_CONF)
|
||||
|
||||
# Library versioning
|
||||
-LT_RELEASE=0.0
|
||||
-LT_CURRENT=1
|
||||
-LT_REVISION=1
|
||||
-LT_AGE=1
|
||||
+LT_RELEASE=1.0
|
||||
+LT_CURRENT=0
|
||||
+LT_REVISION=0
|
||||
+LT_AGE=0
|
||||
AC_SUBST(LT_RELEASE)
|
||||
AC_SUBST(LT_CURRENT)
|
||||
AC_SUBST(LT_REVISION)
|
@ -1,120 +0,0 @@
|
||||
This patch adds support for "EVIOCGRAB" on the input device, which
|
||||
tells the kernel _not_ to deliver events of the touchscreen to
|
||||
/dev/input/mice.
|
||||
|
||||
This is probably what most people want, since unprocessed raw touchscreen
|
||||
events should not be converted to emulated PS/2 mouse movements.
|
||||
|
||||
Signed-off-by: Harald Welte <laforge@openmoko.org>
|
||||
|
||||
Index: a/plugins/input-raw.c
|
||||
===================================================================
|
||||
--- a/plugins/input-raw.c (revision 49)
|
||||
+++ b/plugins/input-raw.c (working copy)
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
+#include <limits.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
@@ -33,6 +34,9 @@
|
||||
|
||||
#include "tslib-private.h"
|
||||
|
||||
+#define GRAB_EVENTS_WANTED 1
|
||||
+#define GRAB_EVENTS_ACTIVE 2
|
||||
+
|
||||
struct tslib_input {
|
||||
struct tslib_module_info module;
|
||||
|
||||
@@ -42,6 +46,7 @@
|
||||
|
||||
int sane_fd;
|
||||
int using_syn;
|
||||
+ int grab_events;
|
||||
};
|
||||
|
||||
static int check_fd(struct tslib_input *i)
|
||||
@@ -64,6 +69,14 @@
|
||||
|
||||
if (bit & (1 << EV_SYN))
|
||||
i->using_syn = 1;
|
||||
+
|
||||
+ if (i->grab_events == GRAB_EVENTS_WANTED) {
|
||||
+ if (ioctl(ts->fd, EVIOCGRAB, (void *)1)) {
|
||||
+ fprintf(stderr, "Unable to grab selected input device\n");
|
||||
+ return -1;
|
||||
+ }
|
||||
+ i->grab_events = GRAB_EVENTS_ACTIVE;
|
||||
+ }
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -222,6 +235,15 @@
|
||||
|
||||
static int ts_input_fini(struct tslib_module_info *inf)
|
||||
{
|
||||
+ struct tslib_input *i = (struct tslib_input *)inf;
|
||||
+ struct tsdev *ts = inf->dev;
|
||||
+
|
||||
+ if (i->grab_events == GRAB_EVENTS_ACTIVE) {
|
||||
+ if (ioctl(ts->fd, EVIOCGRAB, (void *)0)) {
|
||||
+ fprintf(stderr, "Unable to un-grab selected input device\n");
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
free(inf);
|
||||
return 0;
|
||||
}
|
||||
@@ -231,6 +253,36 @@
|
||||
.fini = ts_input_fini,
|
||||
};
|
||||
|
||||
+static int parse_raw_grab(struct tslib_module_info *inf, char *str, void *data)
|
||||
+{
|
||||
+ struct tslib_input *i = (struct tslib_input *)inf;
|
||||
+ unsigned long v;
|
||||
+ int err = errno;
|
||||
+
|
||||
+ v = strtoul(str, NULL, 0);
|
||||
+
|
||||
+ if (v == ULONG_MAX && errno == ERANGE)
|
||||
+ return -1;
|
||||
+
|
||||
+ errno = err;
|
||||
+ switch ((int)data) {
|
||||
+ case 1:
|
||||
+ if (v)
|
||||
+ i->grab_events = GRAB_EVENTS_WANTED;
|
||||
+ break;
|
||||
+ default:
|
||||
+ return -1;
|
||||
+ }
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+static const struct tslib_vars raw_vars[] =
|
||||
+{
|
||||
+ { "grab_events", (void *)1, parse_raw_grab },
|
||||
+};
|
||||
+
|
||||
+#define NR_VARS (sizeof(raw_vars) / sizeof(raw_vars[0]))
|
||||
+
|
||||
TSAPI struct tslib_module_info *mod_init(struct tsdev *dev, const char *params)
|
||||
{
|
||||
struct tslib_input *i;
|
||||
@@ -245,5 +297,12 @@
|
||||
i->current_p = 0;
|
||||
i->sane_fd = 0;
|
||||
i->using_syn = 0;
|
||||
+ i->grab_events = 0;
|
||||
+
|
||||
+ if (tslib_parse_vars(&i->module, raw_vars, NR_VARS, params)) {
|
||||
+ free(i);
|
||||
+ return NULL;
|
||||
+ }
|
||||
+
|
||||
return &(i->module);
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2008-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=vte
|
||||
PKG_VERSION:=0.17.4
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/0.17
|
||||
PKG_MD5SUM:=ec6cb2668db7146eae7cfc48af98f3ed
|
||||
PKG_FIXUP:=libtool
|
||||
|
||||
PKG_BUILD_DEPENDS:=intltool/host
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
$(call include_mk, python-package.mk)
|
||||
|
||||
PKG_INSTALL=1
|
||||
|
||||
EXTRA_CFLAGS+=-I$(INTL_PREFIX)/include
|
||||
|
||||
EXTRA_LDFLAGS+= \
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
||||
-L$(ICONV_PREFIX)/lib \
|
||||
-L$(INTL_PREFIX)/lib
|
||||
|
||||
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_vte CONFIG_PACKAGE_python-vte)
|
||||
|
||||
define Package/vte
|
||||
SECTION:=xorg-libraries
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=libraries
|
||||
TITLE:=Virtual Terminal Widget
|
||||
URL:=http://developer.gnome.org/arch/gnome/widgets/vte.html
|
||||
DEPENDS:=+gtk2 +libncurses +libX11
|
||||
endef
|
||||
|
||||
define Package/python-vte
|
||||
SECTION:=lang-python
|
||||
CATEGORY:=Languages
|
||||
SUBMENU:=Python
|
||||
TITLE:=Python bindings for vte
|
||||
URL:=http://developer.gnome.org/arch/gnome/widgets/vte.html
|
||||
DEPENDS:=+python-mini +PACKAGE_python-vte:python-gtk +vte
|
||||
endef
|
||||
|
||||
define Package/vte/description
|
||||
VTE is a library (libvte) implementing a terminal emulator widget for GTK+,
|
||||
and a minimal sample application (vte) using that. Vte is mainly used in
|
||||
gnome-terminal, but can also be used to embed a console/terminal in games,
|
||||
editors, IDEs, etc.
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--without-xft2 \
|
||||
$(if $(CONFIG_PACKAGE_python-vte),--enable-python,--disable-python) \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include/vte
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/vte/*.h \
|
||||
$(1)/usr/include/vte/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.{so*,la,a} \
|
||||
$(1)/usr/lib
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
||||
$(1)/usr/lib/pkgconfig
|
||||
endef
|
||||
|
||||
define Package/vte/install
|
||||
$(INSTALL_DIR) $(1)/usr/share/vte/termcap
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/share/vte/termcap/* \
|
||||
$(1)/usr/share/vte/termcap
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
||||
$(1)/usr/lib
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib/vte
|
||||
$(INSTALL_BIN) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/vte/* \
|
||||
$(1)/usr/lib/vte
|
||||
endef
|
||||
|
||||
define Package/python-vte/install
|
||||
$(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/gtk-2.0
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/gtk-2.0/*.so* \
|
||||
$(1)$(PYTHON_PKG_DIR)/gtk-2.0
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,vte))
|
||||
$(eval $(call BuildPackage,python-vte))
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user