[csw-devel] SF.net SVN: gar:[10324] csw/mgar/pkg

theferret at users.sourceforge.net theferret at users.sourceforge.net
Fri Jun 25 19:30:57 CEST 2010


Revision: 10324
          http://gar.svn.sourceforge.net/gar/?rev=10324&view=rev
Author:   theferret
Date:     2010-06-25 17:30:57 +0000 (Fri, 25 Jun 2010)

Log Message:
-----------
fbpanel: work in progress

Added Paths:
-----------
    csw/mgar/pkg/fbpanel/
    csw/mgar/pkg/fbpanel/Makefile
    csw/mgar/pkg/fbpanel/trunk/
    csw/mgar/pkg/fbpanel/trunk/Makefile
    csw/mgar/pkg/fbpanel/trunk/README
    csw/mgar/pkg/fbpanel/trunk/copyright
    csw/mgar/pkg/fbpanel/trunk/depend
    csw/mgar/pkg/fbpanel/trunk/patchfile.post-conf
    csw/mgar/pkg/fbpanel/trunk/pkginfo
    csw/mgar/pkg/fbpanel/trunk/prototype

Added: csw/mgar/pkg/fbpanel/Makefile
===================================================================
--- csw/mgar/pkg/fbpanel/Makefile	                        (rev 0)
+++ csw/mgar/pkg/fbpanel/Makefile	2010-06-25 17:30:57 UTC (rev 10324)
@@ -0,0 +1,15 @@
+
+# This is somewhat of a "stub" Makefile, for 
+# directories managed by the "createpkg" TEMPLATES.
+#
+# Not all of targets listed here may actualy be supported by
+# the subdir in question. But they are a goal
+
+DEFAULT_DIR=trunk
+
+
+# The -C means you must use gmake, unfortunately.
+
+all package build garchive extract configure clean distclean reallyclean :
+	@echo Going to make $@ in $(DEFAULT_DIR)
+	$(MAKE) -C  $(DEFAULT_DIR) $@


Property changes on: csw/mgar/pkg/fbpanel/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work
cswstage
build


Added: csw/mgar/pkg/fbpanel/trunk/Makefile
===================================================================
--- csw/mgar/pkg/fbpanel/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/fbpanel/trunk/Makefile	2010-06-25 17:30:57 UTC (rev 10324)
@@ -0,0 +1,154 @@
+# This file is from TEMPLATES/createpkg/Makefile.lib
+# You MUST build this with gnu make, unfortunately.
+# Mainly just because of the ARCH expansion, but also for "?="
+
+# Customize your prototype file(s) as needed
+
+# Organization: variable defintions up top,
+# targets in second half.
+# Note that assignments with "?=" mean "assign if not already assigned.
+
+# Where do we keep local downloads of software src files
+ARCHIVEDIR ?= /home/src
+ARCHIVENAME ?= fbpanel-6.0.tbz2
+EXTRACTPROG ?= /usr/sfw/bin/gtar jfx
+
+# Only use ONE here. The name is used for compat with 'gar'.
+MASTER_SITES ?= http://sourceforge.net/projects/fbpanel/files/fbpanel/6.0/
+
+ARCH := $(shell /bin/uname -p)
+
+LDFLAGS_COMMON :=
+
+SRCDIR= build/*
+
+# DO NOT specify the arch-64 stuff such as -m64 here.
+# the individual targets will do that.
+
+CFLAGS_COMMON   ?= -mt -xnorunpath -xO2
+CXXFLAGS_COMMON ?= -mt -norunpath  -xO2
+CFLAGS_sparc    ?= -xarch=v8
+CFLAGS_i386     ?= -xarch=386
+
+# Keep this arch-neutral if possible. add arch-specific tweaks
+# to arch-specific target
+CONFIGURE=./configure --prefix=/opt/csw
+
+
+
+CREATEPKG=createpkg -r `pwd`/build/*/cswstage
+
+
+all:	$(ARCH)-32
+#all:	$(ARCH)-32 package
+
+# ARCH-XX handles configure, build, and stage for its own combo
+# 
+
+EXTRACTPROG ?= /bin/echo ERROR: need to set EXTRACTPROG ; exit 1 ;
+
+
+
+extract:	build/.extract.done
+
+build/.extract.done:
+	test -d build || mkdir build
+	@if test -f  $(ARCHIVEDIR)/$(ARCHIVENAME) ; then \
+		echo Extracting $(ARCHIVENAME) under build dir... ;\
+		( cd build && $(EXTRACTPROG) $(ARCHIVEDIR)/$(ARCHIVENAME) ) ; \
+	else echo Cannot extract - $(ARCHIVEDIR)/$(ARCHIVENAME) does not exist ;\
+		exit 1; \
+	fi
+	touch build/.extract.done
+	
+
+clean distclean:
+	@echo Calling $@ in $(SRCDIR)
+	$(MAKE) -C $(SRCDIR) $@
+
+
+reallyclean:	distclean
+	@echo Removing any milestone files in build as well...
+	@rm -f build/.??*
+	@echo '(However, leaving src tree intact, with any patches in it)'
+	@echo '(If you want, you could rm -r build, then make extract once more)'
+
+garchive:
+	@echo Call the fetch target instead: it does the same thing.
+
+
+# Downloads the source code to the common ARCHIVEDIR
+fetch:	$(ARCHIVEDIR)/$(ARCHIVENAME)
+	@echo fetch done
+
+$(ARCHIVEDIR)/$(ARCHIVENAME):
+	wget -P $(ARCHIVEDIR) $(MASTER_SITES)/$(ARCHIVENAME)
+
+patch:
+	@echo patch: patching is handled automatically as part of the configure phase.
+
+package:
+	$(CREATEPKG)
+
+
+# split out generic $(ARCH) sections to platform-specific sections if needed.
+# but it usually should not be neccessary
+
+
+$(ARCH)-32 ::   configure-$(ARCH)-32 build-$(ARCH)-32 stage-$(ARCH)-32
+	@echo Completed $(ARCH)-32 configure, build and stage
+	touch build/.$(ARCH)-32.done
+
+
+
+build/.$(ARCH)-32.done:	$(ARCH)-32
+
+# Since we share the same src tree, we should only need to
+# pre-configure patching one time for all.
+build/.patch-preconf.done:	build/.extract.done
+	if test -f patchfile.preconf ; then \
+	 gpatch -d $(SRCDIR) -p0  <patchfile.preconf ; fi
+	touch $@
+
+
+#Note: I WANT to use LDFLAGS=-R$$ORIGIN, but stupid libtool
+# wont allow it! so force it at build time
+build/.configure-$(ARCH)-32.done:	build/.patch-preconf.done
+	@echo handling $@ target
+	(cd $(SRCDIR) ; \
+	  CFLAGS="$(CFLAGS_COMMON) $(CFLAGS_$(ARCH))" \
+	  CXXFLAGS="$(CXXFLAGS_COMMON)" \
+	  LDFLAGS='-R/opt/csw/lib -L/opt/csw/lib' \
+	  $(CONFIGURE) )
+	if test -f patchfile.postconf ; then \
+	 gpatch -d $(SRCDIR) -p0  <patchfile.postconf ; fi
+	touch $@
+
+
+# See note about LDFLAGS and ORIGIN, higher up	
+build/.build-$(ARCH)-32.done:
+	@echo handling $@ target
+	LD_OPTIONS='-R$$ORIGIN' $(MAKE) -C $(SRCDIR) $(MFLAGS)
+	touch $@
+
+
+
+## NOTE: This is a DESTRUCTIVE target build!!
+## 'stagepkg'  will destroy any prior "cswstage" directory!!!
+## So, we remove all 64bit milestones
+build/.stage-$(ARCH)-32.done:
+	@echo Handling stage of $(ARCH)-32
+	(cd $(SRCDIR) ; MAKE=gmake stagepkg)
+	(cd $(SRCDIR); cp COPYING cswstage/.)
+	@rm -f build/.*64.done
+	touch $@
+
+
+
+#These are the easy-to-type targets. They just trigger the real ones.
+configure-$(ARCH)-32:	build/.configure-$(ARCH)-32.done
+	@echo $@ done
+build-$(ARCH)-32:	build/.build-$(ARCH)-32.done
+	@echo $@ done
+stage-$(ARCH)-32:	build/.stage-$(ARCH)-32.done
+	@echo $@ done

Added: csw/mgar/pkg/fbpanel/trunk/README
===================================================================
--- csw/mgar/pkg/fbpanel/trunk/README	                        (rev 0)
+++ csw/mgar/pkg/fbpanel/trunk/README	2010-06-25 17:30:57 UTC (rev 10324)
@@ -0,0 +1,40 @@
+fbpanel notes:
+
+first off.. THIS IS NOT OFFICIALLY RELEASED YET.
+ But I'm keeping my work in svn
+ (and a package in experimental)
+
+0.  configuration is WEEERID.and very nonportable.
+  takes GNU autoconf,and makes it dumber.
+  It breaks gmake MFLAGS=-j, among other things.
+
+1.   Have to have /opt/csw/gnu first in path.
+
+2. have to run configure with bash -x.
+   its already #!/bin/bash but that dont work?!?!?
+
+3. CC=gcc. its just got too many gnuisms.
+
+4. need to set cpu type in there somehow too...
+
+5. It uses /usr/share/icons/hicolor/*  as its icons path
+   So that means it technically depends on 
+   SUNWgnome-themes-share
+   We COULD get it to depend on CSWxfceiconthemes.
+   But better to get our own full independant sharable iconthemes package
+  eg: debian hicolor-icon-theme
+    Which is from FreeDesktop.org icon themes
+  Wait we ALREADY HAVE THAT, yay!
+  But.. it.. has.. no icons in it??!?!?
+
+  use gnome_icon_theme instead? nope...
+  CSWgnomethemes
+
+  THen need to set theme_engine or something...
+
+   gtk_icon_theme_load_icon() is at fault
+
+
+
+
+ 6. Need to FIX PLUGINS!! (net, cpu, mem)

Added: csw/mgar/pkg/fbpanel/trunk/copyright
===================================================================
--- csw/mgar/pkg/fbpanel/trunk/copyright	                        (rev 0)
+++ csw/mgar/pkg/fbpanel/trunk/copyright	2010-06-25 17:30:57 UTC (rev 10324)
@@ -0,0 +1,21 @@
+Copyright (C) 2002 Anatoly Asviyan (aka Arsen)
+Copyright (C) 2000 Peter Zelezny
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Soft-
+ware"), to deal in the Software without restriction, including without
+limitation the rights to use, copy, modify, merge, publish, distribute,
+sublicense, and/or sell copies of the Software, and to permit persons to
+whom the Software is furnished to do so, subject to the following condi-
+tions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
+ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT
+SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
+OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.

Added: csw/mgar/pkg/fbpanel/trunk/depend
===================================================================
--- csw/mgar/pkg/fbpanel/trunk/depend	                        (rev 0)
+++ csw/mgar/pkg/fbpanel/trunk/depend	2010-06-25 17:30:57 UTC (rev 10324)
@@ -0,0 +1,9 @@
+P	CSWfconfig
+P	CSWftype2
+P	CSWgcc3corert
+P	CSWggettextrt
+P	CSWglib2
+P	CSWgtk2
+P	CSWlibatk
+P	CSWlibcairo
+P	CSWpango

Added: csw/mgar/pkg/fbpanel/trunk/patchfile.post-conf
===================================================================
--- csw/mgar/pkg/fbpanel/trunk/patchfile.post-conf	                        (rev 0)
+++ csw/mgar/pkg/fbpanel/trunk/patchfile.post-conf	2010-06-25 17:30:57 UTC (rev 10324)
@@ -0,0 +1,11 @@
+--- panel/Makefile.in.orig	2010-06-22 02:25:29.676465806 +0200
++++ panel/Makefile.in	2010-06-22 02:25:37.159948629 +0200
+@@ -5,7 +5,7 @@
+ #SRCS += configurator.c 
+ 
+ BINTARGET = fbpanel
+-LDFLAGS += $(GMODULE_LIBS)
++LDFLAGS += $(GMODULE_LIBS) -lX11
+ 
+ ifeq (enabled,$(STATIC_BUILD))
+ OBJS += $(wildcard $(TOPDIR)/plugins/*/*.o)

Added: csw/mgar/pkg/fbpanel/trunk/pkginfo
===================================================================
--- csw/mgar/pkg/fbpanel/trunk/pkginfo	                        (rev 0)
+++ csw/mgar/pkg/fbpanel/trunk/pkginfo	2010-06-25 17:30:57 UTC (rev 10324)
@@ -0,0 +1,8 @@
+PKG=CSWfbpanel
+NAME=fbpanel - GUI panel for NETWM compliant window managers
+VERSION=6.0,REV=2010.06.22
+CATEGORY=application
+VENDOR=http://fbpanel.sourceforge.net/ packaged for CSW by Philip Brown
+HOTLINE=http://www.opencsw.org/bugtrack/
+EMAIL=phil at opencsw.org
+OPENCSW_REPOSITORY=https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/fbpanel/trunk

Added: csw/mgar/pkg/fbpanel/trunk/prototype
===================================================================
--- csw/mgar/pkg/fbpanel/trunk/prototype	                        (rev 0)
+++ csw/mgar/pkg/fbpanel/trunk/prototype	2010-06-25 17:30:57 UTC (rev 10324)
@@ -0,0 +1,40 @@
+i pkginfo
+i copyright
+i depend
+d none /opt/csw/bin 0755 root bin
+f none /opt/csw/bin/fbpanel 0755 root bin
+d none /opt/csw/share 0755 root bin
+d none /opt/csw/share/fbpanel 0755 root bin
+d none /opt/csw/share/fbpanel/images 0755 root bin
+f none /opt/csw/share/fbpanel/images/gnome-session-halt.png 0644 root bin
+f none /opt/csw/share/fbpanel/images/default.xpm 0644 root bin
+f none /opt/csw/share/fbpanel/images/logo.png 0644 root bin
+f none /opt/csw/share/fbpanel/images/gnome-session-reboot.png 0644 root bin
+f none /opt/csw/share/fbpanel/images/dclock_glyphs.png 0644 root bin
+f none /opt/csw/share/fbpanel/pager 0644 root bin
+f none /opt/csw/share/fbpanel/default 0644 root bin
+d none /opt/csw/lib 0755 root bin
+d none /opt/csw/lib/fbpanel 0755 root bin
+f none /opt/csw/lib/fbpanel/icons.so 0755 root bin
+f none /opt/csw/lib/fbpanel/net.so 0755 root bin
+f none /opt/csw/lib/fbpanel/wincmd.so 0755 root bin
+f none /opt/csw/lib/fbpanel/pager.so 0755 root bin
+f none /opt/csw/lib/fbpanel/mem.so 0755 root bin
+f none /opt/csw/lib/fbpanel/taskbar.so 0755 root bin
+f none /opt/csw/lib/fbpanel/genmon.so 0755 root bin
+f none /opt/csw/lib/fbpanel/cpu.so 0755 root bin
+f none /opt/csw/lib/fbpanel/deskno2.so 0755 root bin
+f none /opt/csw/lib/fbpanel/image.so 0755 root bin
+f none /opt/csw/lib/fbpanel/tray.so 0755 root bin
+f none /opt/csw/lib/fbpanel/menu.so 0755 root bin
+f none /opt/csw/lib/fbpanel/launchbar.so 0755 root bin
+f none /opt/csw/lib/fbpanel/space.so 0755 root bin
+f none /opt/csw/lib/fbpanel/separator.so 0755 root bin
+f none /opt/csw/lib/fbpanel/deskno.so 0755 root bin
+f none /opt/csw/lib/fbpanel/chart.so 0755 root bin
+f none /opt/csw/lib/fbpanel/dclock.so 0755 root bin
+f none /opt/csw/lib/fbpanel/tclock.so 0755 root bin
+d none /opt/csw/libexec 0755 root bin
+d none /opt/csw/libexec/fbpanel 0755 root bin
+f none /opt/csw/libexec/fbpanel/make_profile 0755 root bin
+f none /opt/csw/libexec/fbpanel/xlogout 0755 root bin


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list