Skip to main content

Ralsina.Me — Roberto Alsina's website

Kid, wanna try a WM?

Read­ing a post on plan­etkde, I saw an ap­par­ent­ly out­-of-nowhere ref­er­ence to black­boxqt...

Not all that in­ter­est­ing, I sup­pose, but I am fond of ol'B­B,and this Qt4 re­make could be pret­ty cool (although I can't test it be­cause it does­n't build for me). Here's a link to the code.

g / 2008-06-17 18:15:

I tested the following with the source from http://repo.or.cz/r/blackbo... (the mk.sh script with autotools didn't work on my computer either). In the qmake code below you will have to replace all 'n' by a newline. I added the 'n' because the stupid blog software on this blog does not much carriage returns).

1. Add the file src.pro with the following contents in blackbox/src (the automatically generated .pro file is edited to make it work):

######################################################################
# Automatically generated by qmake (2.01a) Tue Jun 17 14:50:59 2008
######################################################################

TEMPLATE = appnTARGET = blackboxqtnCONFIG += qtnDEPENDPATH += . ../libnINCLUDEPATH += . ../libnDEFAULT_MENU = $(HOME)/.local/share/data/blackboxqtnDEFAULT_STYLE = $(HOME)/.local/share/data/blackboxqt/stylesnDEFINES += DEFAULTMENU=\"$${DEFAULT_MENU}\"nDEFINES += DEFAULTSTYLE=\"$${DEFAULT_STYLE}\"nLIBS += -L/usr/local/lib -lblackboxqtnntarget.path = /usr/local/binnINSTALLS += targetnn# InputnHEADERS += blackbox.hh \n BlackboxResource.hh \n Clientmenu.hh \n Configmenu.hh \n Iconmenu.hh \n Rootmenu.hh \n Screen.hh \n ScreenResource.hh \n Slit.hh \n Slitmenu.hh \n StackingList.hh \n Toolbar.hh \n Toolbarmenu.hh \n Window.hh \n WindowGroup.hh \n Windowmenu.hh \n Workspace.hh \n Workspacemenu.hhnSOURCES += blackbox.cc \n BlackboxResource.cc \n Clientmenu.cc \n Configmenu.cc \n Iconmenu.cc \n main.cc \n Rootmenu.cc \n Screen.cc \n ScreenResource.cc \n Slit.cc \n Slitmenu.cc \n StackingList.cc \n Toolbar.cc \n Toolbarmenu.cc \n Window.cc \n WindowGroup.cc \n Windowmenu.cc \n Workspace.cc \n Workspacemenu.ccnn###### End of src.pro

2. Add the file lib.pro with the following contents in blackbox/lib (again edited):

######################################################################
# Automatically generated by qmake (2.01a) Tue Jun 17 14:51:55 2008
######################################################################

TEMPLATE = libnTARGET = blackboxqtnCONFIG += qtnDEPENDPATH += .nINCLUDEPATH += .nVERSION = 0.1nntarget.path = /usr/local/libnINSTALLS += targetnn# InputnHEADERS += Application.hh \n Bitmap.hh \n Color.hh \n Display.hh \n EventHandler.hh \n EWMH.hh \n Font.hh \n Image.hh \n Menu.hh \n Pen.hh \n PixmapCache.hh \

g / 2008-06-17 18:15:

I tested the following with the source from http://repo.or.cz/r/blackbo... (the mk.sh script with autotools didn't work on my computer either). In the qmake code below you will have to replace all 'n' by a newline. I added the 'n' because the stupid blog software on this blog does not much carriage returns).

1. Add the file src.pro with the following contents in blackbox/src (the automatically generated .pro file is edited to make it work):

######################################################################
# Automatically generated by qmake (2.01a) Tue Jun 17 14:50:59 2008
######################################################################

TEMPLATE = appnTARGET = blackboxqtnCONFIG += qtnDEPENDPATH += . ../libnINCLUDEPATH += . ../libnDEFAULT_MENU = $(HOME)/.local/share/data/blackboxqtnDEFAULT_STYLE = $(HOME)/.local/share/data/blackboxqt/stylesnDEFINES += DEFAULTMENU=\"$${DEFAULT_MENU}\"nDEFINES += DEFAULTSTYLE=\"$${DEFAULT_STYLE}\"nLIBS += -L/usr/local/lib -lblackboxqtnntarget.path = /usr/local/binnINSTALLS += targetnn# InputnHEADERS += blackbox.hh \n BlackboxResource.hh \n Clientmenu.hh \n Configmenu.hh \n Iconmenu.hh \n Rootmenu.hh \n Screen.hh \n ScreenResource.hh \n Slit.hh \n Slitmenu.hh \n StackingList.hh \n Toolbar.hh \n Toolbarmenu.hh \n Window.hh \n WindowGroup.hh \n Windowmenu.hh \n Workspace.hh \n Workspacemenu.hhnSOURCES += blackbox.cc \n BlackboxResource.cc \n Clientmenu.cc \n Configmenu.cc \n Iconmenu.cc \n main.cc \n Rootmenu.cc \n Screen.cc \n ScreenResource.cc \n Slit.cc \n Slitmenu.cc \n StackingList.cc \n Toolbar.cc \n Toolbarmenu.cc \n Window.cc \n WindowGroup.cc \n Windowmenu.cc \n Workspace.cc \n Workspacemenu.ccnn###### End of src.pro

2. Add the file lib.pro with the following contents in blackbox/lib (again edited):

######################################################################
# Automatically generated by qmake (2.01a) Tue Jun 17 14:51:55 2008
######################################################################

TEMPLATE = libnTARGET = blackboxqtnCONFIG += qtnDEPENDPATH += .nINCLUDEPATH += .nVERSION = 0.1nntarget.path = /usr/local/libnINSTALLS += targetnn# InputnHEADERS += Application.hh \n Bitmap.hh \n Color.hh \n Display.hh \n EventHandler.hh \n EWMH.hh \n Font.hh \n Image.hh \n Menu.hh \n Pen.hh \n PixmapCache.hh \

Roberto Alsina / 2008-06-17 18:43:

I suppose you mean the stupid comment software which I didn't write instead of the blog software I did write ;-)


Contents © 2000-2024 Roberto Alsina