A lot of additional fortune-mod packages
I guess I won't sleep tonight at all :-)
Below you can find a lot of new pkgbuilds for fortune-mod application. This is (almost) all I could find on the net. Some of the pkgbuilds are based on rpms/packages from other distros (PLD, Debian) because there are no other source packages on the net. I tried to minimize the number of such pkgbuilds.
There are also 2 special packages for Polish users (ISO 8859-2). One of them includes a lot of dictionaries that are installed all at once. If you don't like something you can move it to /usr/share/fortune/off or delete it or do whatever you want :-).
Any suggestions?
I'm going to insert each pkgbuild in a separate post to make it easier to read.
pkgname=fortune-mod-pl
pkgver=20040901
pkgrel=1
pkgdesc="Collection of Polish fortune cookie files"
url="http://cvs.pld-linux.org/cgi-bin/cvsweb/SPECS/fortunes-pl.spec"
makedepends=('rpmunpack' 'cpio')
depends=('fortune-mod')
source=(http://ftp.pld-linux.org/dists/2.0/PLD/SRPMS/SRPMS/fortunes-pl-$pkgver-2.src.rpm)
md5sums=('b73099a396a9e8bbefde3d415df9fe49')
build() {
cd $startdir/src/
rpmunpack < $startdir/src/fortunes-pl-$pkgver-2.src.rpm | gzip -d | cpio -idmuv
tar -jxvf $startdir/src/fortunes-pl-$pkgver.tar.bz2
cd $startdir/src/fortunes-pl-$pkgver
for fortunefile in *
do
strfile ./$fortunefile ./$fortunefile.dat
done
install -d -m755 $startdir/pkg/usr/share/fortune
install -m644 $startdir/src/fortunes-pl-$pkgver/*
$startdir/pkg/usr/share/fortune
Similar Messages
-
Issue with fortune-mod and .bashrc solved..
someone may find this useful. I was working with fortune-mod. I put the fortune-mod call into my .bashrc, so that every time I create a new shell, i get a new futurama quote. 8)
Anway, it was screwing up my scp activities, because it was generating output.
So, to avoid this, use the following in your .bashrc
if [ "$PS1" ]; then
/usr/bin/fortune futurama
fi
similarly, if you want any textual output to appear everytime you create a shell, make sure to put it between the above if and fi.
of course, make sure you put this BEFORE you set your shell to something nice like:
PS1="\[\033[01;31m\](\[\033[00;37m\]\u@\h \W\[\033[01;31m\])\[\033[00m\]\$ "
hope this helps someone. It took me a little while to figure out what was going on. [/code]I wasn't looking for this but now that i've found it it's great!
Cheers! -
Revision: 10959
Author: [email protected]
Date: 2009-10-09 13:38:19 -0700 (Fri, 09 Oct 2009)
Log Message:
Adding support for FXG 2.0 additional blend modes that do not have a SWF equivalent. For the optimized FXG case, we now generate an ActionScript SymbolClass and set the corresponding blend shader. This requires checking in the additional shader classes and PBJ files, but note we do not yet use them in MXML graphics.
Note: This change does not address luminosity masks.
QE notes: Please update FXG opt. testsuites for additional blendModes.
Doc notes: No
Bugs: N/A
Reviewer: Paul
Tests run: checkintests, mustella spark/core/fxg
Is noteworthy for integration: Yes, this change includes support for the additional blendModes of FXG 2.0 (though only for the optimized FXG case, and not MXML graphics).
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java
Added Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Color.pbj
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorBurn.pbj
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorBurnShader.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorDodge.pbj
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorDodgeShader.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ColorShader.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Exclusion.pbj
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/ExclusionShader.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Hue.pbj
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/HueShader.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Luminosity.pbj
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/LuminosityShader.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/Saturation.pbj
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/SaturationShader.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/SoftLight.pbj
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/shaders/SoftLightShader.asIve resolved vertical refresh and resolution issues by declaring VideoRam value in fglrx section of my xorg.conf.
-
Full screen mode, packages and the like
I am trying to keep my code neat byt putting various related functions into clases with their associated methods. All is working sort of okay until I want to carry out a drawimage to the graphics device g . g is in one class and the drawimage method is in another. How do I pass the graphics device to the image class and assocaited method?? Help
I am using netbeans and each class is in the same package. Any help on this is appreciated.
* Main.java
* Created on 10 August 2005, 09:19
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
package dna;
import java.awt.*;
import javax.swing.*;
* @author damian creedon
public class PerfectDNA extends JFrame {
/** Creates a new instance of Main */
public PerfectDNA() {
* @param args the command line arguments
public static void main(String[] args) {
DisplayMode displayMode;
displayMode = new DisplayMode(1024, 768, 32, DisplayMode.REFRESH_RATE_UNKNOWN);
PerfectDNA eden = new PerfectDNA();
eden.run(displayMode);
private static final long DEMO_TIME = 10000;
public void run(DisplayMode displayMode){
setBackground(Color.blue);
setForeground(Color.white);
setFont(new Font("Dialog", 0, 24));
ScreenManager screen = new ScreenManager();
try {
screen.setFullScreen(displayMode, this);
try {
Thread.sleep(DEMO_TIME);
catch (InterruptedException ex) { }
finally {
screen.restoreScreen();
ImageManager images = new ImageManager();
images.loadImages();
images.drawImages();
public void init(){
public void paint(Graphics g) {
public void repaint(Graphics g){
* ScreenManager.java
* Created on 10 August 2005, 10:52
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
package dna;
import java.awt.*;
import javax.swing.*;
* @author damian creedon
public class ScreenManager {
public GraphicsDevice device;
/** Creates a new instance of ScreenManager */
public ScreenManager() {
GraphicsEnvironment environment = GraphicsEnvironment.getLocalGraphicsEnvironment();
device = environment.getDefaultScreenDevice();
public void setFullScreen(DisplayMode displayMode,JFrame window){
window.setUndecorated(true);
window.setResizable(false);
device.setFullScreenWindow(window);
if (displayMode != null &&
device.isDisplayChangeSupported())
try {
device.setDisplayMode(displayMode);
catch (IllegalArgumentException ex) {
// ignore - illegal mode for this device
public Window getFullScreenWindow() {
return device.getFullScreenWindow();
public void restoreScreen() {
Window window = device.getFullScreenWindow();
if (window != null) {
window.dispose();
device.setFullScreenWindow(null);
* ImageManager.java
* Created on 10 August 2005, 13:49
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
package dna;
import java.awt.*;
import javax.swing.*;
* @author damian creedon
public class ImageManager {
private Image bgImage;
private Image opaqueImage;
private boolean imagesLoaded;
/** Creates a new instance of ImageManager */
public ImageManager() {
public void loadImages() {
bgImage = loadImage("images/background.jpg");
opaqueImage = loadImage("images/opaque.png");
imagesLoaded = true;
private Image loadImage(String fileName) {
return new ImageIcon(fileName).getImage();
public void drawImages() {
g.drawImage(bgImage, 0, 0);
}Hiya,
I tried this
public void paint(Graphics g) {
drawImages(g);
and get this error
Compiling 2 source files to C:\My Projects\java\My Projects\dna\build\classes
C:\My Projects\java\My Projects\dna\src\dna\PerfectDNA.java:66: drawImages(java.awt.Graphics) in dna.ImageManager cannot be applied to ()
images.drawImages();
C:\My Projects\java\My Projects\dna\src\dna\PerfectDNA.java:77: cannot find symbol
symbol : method drawImages(java.awt.Graphics)
location: class dna.PerfectDNA
drawImages(g);
2 errors
BUILD FAILED (total time: 2 seconds)
The method called is
public void drawImages(Graphics g) {
g.drawImage(bgImage, 0, 0,null);
Further help would be appreciated. -
How to run Lot Cost in Final Mode
Dear Gurus,
How to run Lot Cost Process in Final Mode? in OPM Lot Cost.
I am able to run Final = No, successfully and then I do Lot Cost Process for Final = Yes.
Then I donot find the Item/Lot costed, its not there in Lot Cost Details.
Is there some thing I am missing?
Please help me its Urgent
Thanks very much
RaghuYes, called BootCamp. Enjoy: http://www.apple.com/support/bootcamp/
Or you can run the Windows OS virtualized using VMWare Fusion ($49), Parallels Desktop ($99) or Oracle VirtualBox (free). This lets you run both OS at the same time: MacOS is the host and Windows the guest. -
Additional Transportation mode on Traval Request form
Hi all,
Can we add more transportation modes (in request transportation/accommodation) on travel request form on SAP R/3!
i.e. Employee can request for company pool car but currently flight, train, rental car options are available on travel request form.
Awaiting for responses!Hi Raynard Coscolluela,
Thanks for your response.
but where i have to activate additional services on travel request form..
if it is in schema (t-code FITVFELD) there which node i have to activate ?
Thanks in advance for your time! -
[DONE] Suggested addition to Java Package Guidelines
In the Java Package Guidelines there are shell scripts that run the java jar or class file. Shouldn't the $@ be added as a parameter, to feed parameters to the java application?
For instance, I wrote the following for Logisim:
#!/bin/sh
"$JAVA_HOME/bin/java" -jar '/usr/share/java/logisim/logisim.jar' $@
Last edited by Marcel- (2014-04-11 10:32:43)If you change that, I suggest to add an "exec", too. We don't need a useless shell in the background, right?
#!/bin/sh
exec "$JAVA_HOME/bin/java" -jar '/usr/share/java/logisim/logisim.jar' $@
Incidentally, I'm not sure what the current policy on hashbangs is (#!/usr/bin/sh?, indifference?).
I believe "/bin/sh" is required by POSIX and must provide a POSIX compliant shell, so /bin/sh is the portable hashbang. If you want bash, usr /usr/bin/bash I guess.
Last edited by progandy (2014-04-09 23:14:10) -
[SOLVED] VirtualBox Additions Package Missing?
Hi all,
Following the VirtualBox section of the wiki here: https://wiki.archlinux.org/index.php/Vi … nux_guests - it directs me to install the following packages:
pacman -S virtualbox-guest-additions
However, I just get a message saying the package isn't found (I can't find it under "packages" on the arch website either), some googling suggested:
pacman -S virtualbox-archlinux-additions
However, that package is also 'not found'. As far as I know, I have the following repositories enabled:
* Testing
* Core
* Extra
* Community
* Community-Testing
* Testing
The wiki says not to install the default VirtualBox additions from VirtualBox. Any suggestions on where to find the VirtualBox additions package?
Regards,
Ben.
Last edited by BM (2012-09-23 13:33:05)jdarnold wrote:
Wow, that's a long way to figure out 'virtual' packages, when this works just fine:
$ pacman -Ss virtual
You're wrong, graysky was close, but I prefer to use it with the '-q' switch. Compare the output of
pacman -Ssq | grep virtual
with one from your suggestion. -
Logging API: Java 1.5 logs a lot in FINE, etc.
I noticed that my application log contains a lot more entries since I use Java 1.5 when I log fine/finer/finest messages. I tried to workaround this by just change the log levels of my loggers (by inspecting the logger name prefixes). But the Java messages still log:
* Set level for all registered loggers of the LogManager.
* @param level New level to set.
* @param prefix Optional prefix string for loggers to consider.
static public void setGlobalLevel(Level level, String prefix) {
if (level != null) {
LogManager logManager = LogManager.getLogManager();
if (logManager != null) {
Enumeration<String> enu = logManager.getLoggerNames();
boolean first = true;
while (enu.hasMoreElements()) {
String loggerName = enu.nextElement();
if (prefix == null || loggerName.startsWith(prefix)) {
Logger logger = logManager.getLogger(loggerName);
if (logger != null) {
logger.setLevel(level);
}//else: logger unavailable
if (first) {
logger.log(Level.CONFIG, "Global log level changed to "+level);
first = false;
}//next logger
}//else: LogManager unavailable
}//else: level unavailable
}//setGlobalLevel()Okay, I try to explain it differently. SInce Java 1.5, why I log messages with level FINE, FINER, or FINEST, I get lots of additional entries like:
2005-04-19 13:13:22.076 FINER focus owner is javax.swing.JButton[,12,97,161x33,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@19d3b3a,flags=424,maximumSize=,minimumSize=,preferredSize=,defaultIcon=javax.swing.ImageIcon@19050a0,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Log-Datei,defaultCapable=true] [java.awt.focus.KeyboardFocusManager]
2005-04-19 13:13:22.076 FINER >>> java.awt.event.KeyEvent[KEY_PRESSED,keyCode=18,keyText=Alt,keyChar=Undefined keyChar,modifiers=Alt,extModifiers=Alt,keyLocation=KEY_LOCATION_LEFT] on frame0 [java.awt.focus.KeyboardFocusManager]
2005-04-19 13:13:22.404 FINER focus owner is javax.swing.JButton[,12,97,161x33,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@19d3b3a,flags=424,maximumSize=,minimumSize=,preferredSize=,defaultIcon=javax.swing.ImageIcon@19050a0,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Log-Datei,defaultCapable=true] [java.awt.focus.KeyboardFocusManager]
2005-04-19 13:13:22.404 FINER >>> java.awt.event.KeyEvent[KEY_RELEASED,keyCode=9,keyText=Tabulator,keyChar=Tabulator,modifiers=Alt,extModifiers=Alt,keyLocation=KEY_LOCATION_STANDARD] on frame0 [java.awt.focus.KeyboardFocusManager]
2005-04-19 13:13:22.716 FINER focus owner is javax.swing.JButton[,12,97,161x33,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@19d3b3a,flags=424,maximumSize=,minimumSize=,preferredSize=,defaultIcon=javax.swing.ImageIcon@19050a0,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Log-Datei,defaultCapable=true] [java.awt.focus.KeyboardFocusManager]
2005-04-19 13:13:22.716 FINER >>> java.awt.event.KeyEvent[KEY_RELEASED,keyCode=18,keyText=Alt,keyChar=Undefined keyChar,keyLocation=KEY_LOCATION_LEFT] on frame0 [java.awt.focus.KeyboardFocusManager]
2005-04-19 13:13:22.732 FINE >>> java.awt.event.WindowEvent[WINDOW_LOST_FOCUS,opposite=null,oldState=0,newState=0] on frame0 [java.awt.focus.KeyboardFocusManager]
2005-04-19 13:13:22.732 FINE java.awt.event.WindowEvent[WINDOW_LOST_FOCUS,opposite=null,oldState=0,newState=0] on frame0 [java.awt.focus.DefaultKeyboardFocusManager]
2005-04-19 13:13:22.732 FINE Active de.icomps.prt.gui.ClientReportPrinterConsole[frame0,110,46,1140x794,invalid,layout=java.awt.BorderLayout,title=iComps Client Report Printer 1.1.6,resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,4,23,1132x767,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true], Current focused de.icomps.prt.gui.ClientReportPrinterConsole[frame0,110,46,1140x794,invalid,layout=java.awt.BorderLayout,title=iComps Client Report Printer 1.1.6,resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,4,23,1132x767,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true], losing focus de.icomps.prt.gui.ClientReportPrinterConsole[frame0,110,46,1140x794,invalid,layout=java.awt.BorderLayout,title=iComps Client Report Printer 1.1.6,resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,4,23,1132x767,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true] opposite null [java.awt.focus.DefaultKeyboardFocusManager]
2005-04-19 13:13:22.732 FINE >>> java.awt.event.FocusEvent[FOCUS_LOST,temporary,opposite=null] on javax.swing.JButton[,12,97,161x33,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@19d3b3a,flags=424,maximumSize=,minimumSize=,preferredSize=,defaultIcon=javax.swing.ImageIcon@19050a0,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Log-Datei,defaultCapable=true] [java.awt.focus.KeyboardFocusManager]
2005-04-19 13:13:22.732 FINE java.awt.event.FocusEvent[FOCUS_LOST,temporary,opposite=null] on javax.swing.JButton[,12,97,161x33,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@19d3b3a,flags=424,maximumSize=,minimumSize=,preferredSize=,defaultIcon=javax.swing.ImageIcon@19050a0,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Log-Datei,defaultCapable=true] [java.awt.focus.DefaultKeyboardFocusManager]
2005-04-19 13:13:22.732 FINE java.awt.event.FocusEvent[FOCUS_LOST,temporary,opposite=null] on javax.swing.JButton[,12,97,161x33,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@19d3b3a,flags=424,maximumSize=,minimumSize=,preferredSize=,defaultIcon=javax.swing.ImageIcon@19050a0,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Log-Datei,defaultCapable=true] [java.awt.focus.Component]
2005-04-19 13:13:22.732 FINE >>> java.awt.event.WindowEvent[WINDOW_DEACTIVATED,opposite=null,oldState=0,newState=0] on frame0 [java.awt.focus.KeyboardFocusManager]
2005-04-19 13:13:22.732 FINE java.awt.event.WindowEvent[WINDOW_DEACTIVATED,opposite=null,oldState=0,newState=0] on frame0 [java.awt.focus.DefaultKeyboardFocusManager]
2005-04-19 13:13:22.748 FINER Setting global active window to null, old active de.icomps.prt.gui.ClientReportPrinterConsole[frame0,110,46,1140x794,invalid,layout=java.awt.BorderLayout,title=iComps Client Report Printer 1.1.6,resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,4,23,1132x767,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true] [java.awt.focus.KeyboardFocusManager]
2005-04-19 13:13:22.748 FINE >>> java.awt.event.FocusEvent[FOCUS_LOST,permanent,opposite=null] on frame0 [java.awt.focus.KeyboardFocusManager]
So, I try just to set the levels FINE, FINER, FINEST for my applications loggers that all have logger names being the Java package name and class name (e.g. "one.two.three.MyClass"). So, I change the levels of all logers who's lagger name starts with "one.two.three". That should lead to log messages of FINE/FINER/FINEST from my loggers. But I still get the log messages of Java internal loggings like
>>> java.awt.event.FocusEvent[FOCUS_LOST,permanent,opposite=null] on frame0
from java.awt.focus.KeyboardFocusManager. -
[solved] Can pacman find out the dependence tree of a package ?
like xfce4-session:
➜ Android pacman -Qi xfce4-session
Name : xfce4-session
Version : 4.8.2-2
URL : http://www.xfce.org/
Licenses : GPL2
Groups : xfce4
Provides : None
Depends On : xfce4-panel gconf libgnome-keyring libwnck libsm xorg-iceauth upower consolekit hicolor-icon-theme
Optional Deps : fortune-mod: for xfce4-tips
Required By : None
Conflicts With : None
Replaces : xfce4-toys
Installed Size : 2556.00 K
Packager : Evangelos Foutras <[email protected]>
Architecture : i686
Build Date : Wed 02 Nov 2011 10:32:54 PM HKT
Install Date : Wed 07 Dec 2011 02:10:28 PM HKT
Install Reason : Explicitly installed
Install Script : Yes
Description : A session manager for Xfce
I also want to know xfce4-panel depends on,. ... etc.
only Use one cmd??
Last edited by jinleileiking (2011-12-12 02:34:11)Hmm. Wouldn't be hard to script. Just recursively call "pacman -Qi <sub-packages>" based on the output of "pacman -Qi <package> | grep Depends" ...
-
How to refer to a variable package name
Hi All,
I'm revising my PL/SQL packages, e.g. Pkg_Name_01, Pkg_Name_02 ... So if refering to a function within such a revised package, I need a method to get the version string from a global variable and then call the function via Pkg_Name_<version_string>.Function_Name (where version_string is the value of a global variable).
Can anybody tell me if this is possible and if so how to achieve this?
Thanks & Regards
CarolinCarolin wrote:
But as I have a lot of references to revised packages in my code it's a bit error-prone with each new revision - so I thougt there would be a better/simpler solution... How would the approach with dynamic sql look like?<i>Dynamic SQL is Evil ™</i> - okay not always. Judged from what is posted here, a full 1% of all dynamic SQL is not evil.
The simpler solution is to use scope to enable your code to reference the appropriate version. In Oracle, there is unfortunately/fortunately no session scope in this regard. Resolution scope is either local (schema) or public.
For example, the code library (schema <i>CODELIB</i>) has several versions of the FooInterface package, e.g.
- CODELIB.FooInterface_v100
- CODELIB.FooInterface_v110
- CODELIB.FooInterface_v200
Your schema, APP123 needs to use version 1.0 of this interface. A local schema synonym provides name resolution scope:
create or replace synonym FooInterface for CODELIB.FooInterface_v110
Another schema, HRDEMO, needs to use the latest version of the interface. Thus, as that schema:
create or replace synonym FooInterface for CODELIB.FooInterface_v200
Assuming FooInterface is a well behaved interface, you can at any time upgrade your schema to using a newer version of the interface, by recreating your schema synonym for the interface. And no code changes will be needed to your application code to keep it working.
If your versioning needs are finer grained at this and at session level (e.g. different sessions in schema APP123 needs to use different versions of the <i>FooInterface</i>), then you have a serious implementation and versioning problem. Ones that cannot and should not be solved technically (using hacks like dynamic SQL). But ones that need to be addressed via change control and s/w management - in other words, you then have a broken SDLC (Software Development Life Cycle) that needs to be fixed. -
All,
We currently have an ESS/MSS Business package working on EP6 SP16 system and are looking to upgrade our portal to EP 7.0 SPS 11. We were had the following thoughts and have been looking for answers, if some could help us with our questions it would be greatly appreciatd.
- Do we need to install a new Business Package for ESS/MSS after the upgrade?
- Is it possible to migrate our current ESS/MSS business package from EP 6.0 to EP 7.0.
- Can the same business package work on both EP6.0 and EP 7..0
- Any thoughts we need to keep in during the upgrade that would effect ESS/MSS.
Thank you.
SAP PartnerHi
For ESS upgrade R/3 is advised by SAP.
We advise that if you are already on ERP2004 and moving the ESS packages then EA-HR, SAPESS, SAPMSS, SAPPCUI should be upgraded for getting the optimum functionality from ESS.
There are lot many additions in the functionalities.
The basic point is BP is just the gui layer the contents and applications still depends on BAPIS RFCS lying in R/3.
So Always a comparision of ESS With EA_HR is advised. -
[SOLVED] Find out when a package has first appeared in repos
Is it possible to find out the year/month/date when a package was first submitted to official repositories (core/extra/community).
I guess I can go to for example https://projects.archlinux.org/svntogit … youtube-dl , then scroll down, then click "next" at the bottom several times till it's last page and look at the bottom row. But I need a way to automate this for a large number of packages. Is there an interface available for that, like this one for AUR: https://aur.archlinux.org/rpc.php ?
Last edited by axper (2014-05-27 18:44:52)$ pacman -Ssq game | while read p ; do [[ -d $p ]] || continue ; echo -n "$p - " ; git log --format=%aD $p|tail -n1 ; done
0ad - Mon, 5 Mar 2012 15:52:40 +0000
0ad-data - Mon, 5 Mar 2012 15:47:20 +0000
abuse - Sat, 13 Nov 2010 16:51:57 +0000
alienarena - Sun, 19 Dec 2010 02:47:03 +0000
alienarena-data - Sun, 19 Dec 2010 00:07:21 +0000
allegro - Sun, 4 Mar 2012 23:43:58 +0000
angband - Mon, 13 Sep 2010 12:32:13 +0000
barrage - Thu, 16 Jul 2009 04:12:59 +0000
blobby2 - Sun, 22 Aug 2010 12:32:30 +0000
blobwars - Thu, 16 Jul 2009 04:12:59 +0000
blobwars-data - Thu, 27 Oct 2011 18:26:26 +0000
bomberclone - Sat, 13 Nov 2010 17:01:26 +0000
box2d - Thu, 15 Jul 2010 00:03:07 +0000
bsd-games - Thu, 16 Jul 2009 04:12:59 +0000
btanks - Tue, 3 Nov 2009 17:11:00 +0000
btanks-data - Sat, 14 Nov 2009 14:31:48 +0000
caph - Mon, 22 Nov 2010 23:37:43 +0000
ccgo - Tue, 26 Nov 2013 20:31:21 +0000
clanlib - Sun, 24 Oct 2010 04:16:30 +0000
critter - Thu, 16 Jul 2009 04:12:59 +0000
curseofwar - Fri, 20 Sep 2013 12:50:01 +0000
cuyo - Thu, 16 Jul 2009 04:12:59 +0000
dolphin-emu - Tue, 26 Feb 2013 13:52:19 +0000
dopewars - Sat, 13 Nov 2010 17:16:24 +0000
dosbox - Fri, 13 May 2011 20:09:40 +0000
enigma - Sat, 13 Nov 2010 17:19:06 +0000
extremetuxracer - Thu, 16 Jul 2009 04:12:59 +0000
fillets-ng - Thu, 16 Jul 2009 04:12:59 +0000
fillets-ng-data - Thu, 16 Jul 2009 04:12:59 +0000
fortune-mod - Wed, 29 Aug 2012 11:09:33 +0000
freecol - Sun, 22 Aug 2010 14:01:31 +0000
freedroid - Thu, 16 Jul 2009 04:12:59 +0000
freedroidrpg - Thu, 16 Jul 2009 04:12:59 +0000
frogatto - Sun, 25 Jul 2010 19:55:51 +0000
frogatto-data - Tue, 27 Jul 2010 23:40:59 +0000
gbrainy - Thu, 16 Jul 2009 04:12:59 +0000
glob2 - Thu, 16 Jul 2009 04:12:59 +0000
gluon - Sun, 24 Apr 2011 06:07:11 +0000
gnome-hearts - Sun, 9 Jun 2013 15:54:50 +0000
gnujump - Sat, 19 Jan 2013 16:16:51 +0000
gtkballs - Thu, 16 Jul 2009 04:12:59 +0000
guichan - Thu, 16 Jul 2009 04:12:59 +0000
hawknl - Sun, 26 Sep 2010 18:22:34 +0000
hedgewars - Thu, 16 Jul 2009 04:12:59 +0000
hex-a-hop - Thu, 16 Jul 2009 04:12:59 +0000
hitori - Sun, 8 Apr 2012 19:43:39 +0000
instead-launcher - Wed, 19 Sep 2012 13:57:56 +0000
kcheckers - Thu, 16 Jul 2009 04:12:59 +0000
lbreakout2 - Fri, 6 Dec 2013 11:48:55 +0000
lincity-ng - Thu, 16 Jul 2009 04:12:59 +0000
love - Tue, 6 Mar 2012 06:17:50 +0000
love08 - Mon, 16 Dec 2013 18:13:16 +0000
mahjong - Sun, 27 Jan 2013 16:20:32 +0000
mari0 - Thu, 5 Apr 2012 01:05:00 +0000
megaglest - Sat, 14 Aug 2010 19:21:13 +0000
megaglest-data - Sat, 14 Aug 2010 19:09:25 +0000
minetest - Sun, 2 Jun 2013 11:16:42 +0000
naev - Wed, 28 Jul 2010 19:35:31 +0000
naev-data - Wed, 28 Jul 2010 20:58:30 +0000
nethack - Wed, 5 Jan 2011 15:12:17 +0000
openmw - Wed, 15 Jan 2014 11:36:30 +0000
paintown - Sat, 12 Mar 2011 08:29:09 +0000
performous - Sat, 7 Aug 2010 23:10:55 +0000
performous-freesongs - Sat, 7 Aug 2010 23:10:55 +0000
pingus - Thu, 16 Jul 2009 04:12:59 +0000
plib - Thu, 16 Jul 2009 04:12:59 +0000
pokerth - Thu, 16 Jul 2009 04:12:59 +0000
pysolfc - Thu, 16 Jul 2009 04:12:59 +0000
rocksndiamonds - Thu, 16 Jul 2009 04:12:59 +0000
rocksndiamonds-data - Tue, 25 Aug 2009 15:55:38 +0000
rogue - Thu, 8 Nov 2012 06:31:45 +0000
scorched3d - Thu, 16 Jul 2009 04:12:59 +0000
scratch - Sat, 15 Sep 2012 22:19:31 +0000
scummvm - Thu, 11 Oct 2012 14:19:17 +0000
scummvm-tools - Sun, 8 Aug 2010 01:39:09 +0000
simgear - Thu, 16 Jul 2009 04:12:59 +0000
simutrans - Mon, 13 Aug 2012 23:24:06 +0000
singularity - Sun, 8 Aug 2010 01:55:09 +0000
slimevolley - Thu, 16 Jul 2009 04:12:59 +0000
spring - Mon, 9 Aug 2010 02:17:34 +0000
spring-1944 - Fri, 8 Oct 2010 19:26:37 +0000
stone-soup - Sun, 12 Sep 2010 13:20:12 +0000
stuntrally - Tue, 26 Feb 2013 06:36:11 +0000
stuntrally-data - Tue, 26 Feb 2013 07:54:44 +0000
supertux - Thu, 16 Jul 2009 04:12:59 +0000
supertuxkart - Thu, 16 Jul 2009 04:12:59 +0000
tesseract-game - Thu, 15 May 2014 18:28:42 +0000
vor - Mon, 7 Jan 2013 10:17:10 +0000
warzone2100 - Thu, 16 Jul 2009 04:12:59 +0000
wesnoth - Mon, 6 Feb 2012 15:40:16 +0000
wesnoth-data - Mon, 6 Feb 2012 15:40:16 +0000
widelands - Mon, 9 Aug 2010 02:23:35 +0000
xmoto - Wed, 19 May 2010 18:12:18 +0000
xpacman - Thu, 16 Jul 2009 04:12:59 +0000
xpacman2 - Thu, 16 Jul 2009 04:12:59 +0000
zaz - Sat, 21 Aug 2010 10:13:40 +0000 -
Hello Folks,
Reviewed the man pages for pacman, and I don't see anything that jumps out at me.
Example... I'd like to be able to issue the following command:
pacman -Sy fortune-mod*
Suggestions?
Thanks!
Dave........................skoal wrote:but personally, I prefer the 'tedious' nature of individually selecting packages, so I can have greater control over what's installed, instead of removing wildcard packages later that I don't need.
And no one is forcing you to use it. It's obviously not perfect in every situation, but it can only help, not hurt. You don't have to use it.
I came from Fedora to Arch and yum allows wildcard expressions. The first thing I did when I came to Arch was try a "pacman -S xfce4*". When that failed to work, I got annoyed and manually selected all the packages I needed. I'm sure I'm not the only one who has gone this path with Arch.
Yes, groups are a nicety (although not nearly as flexible as wildcards), but tell me how one is supposed to find out what groups exist? How is a new user supposed to know that there is a xfce4 group, for example? Trying "pacman -Ss xfce4" doesn't even tell me there's such a group.
As for your statement about implementation problems (i.e. OOo and perl), I don't follow. As I said, yum uses wildcards and I never had people complaining about its implementation of wildcards.
THat's just my lowly opinion, take it for what it's worth. And just to clarify, I bumped this thread back up because a user in #archlinux tried to use a wildcard, found out they couldn't, and didn't know what to do (i.e. didn't know there were groups).
P.S. skoal.. your latest post is much different than your previous post in this thread -
Scenarios for "manual creation of inspection lot"
Hi QM gurus!!
I would just like to ask the main function of QA01 or "<b>Manual creation of inspection lot</b>"
What are the cases/scenarios where this tcode is used? I would really appreciate if you could help me.. Thank you.
Regards,
Heinrick PaladHI,
The table below provides a brief overview of the functions you can use to process inspection lots. Appropriate cross references are included for the more extensive tasks or for those for which additional information is available.
Prerequisites
The inspection lot processing functions can be linked to various authorizations that are checked by the system whenever you try to process an inspection lot. The following types authorizations are relevant to inspection lot processing:
Material authorizations
The material authorization for QM is stored in the material master. For more information, see Creating and Changing QM-Specific Data for a Material.
Inspection type authorizations
This authorization controls which inspection type the user can access in order to create an inspection lot. The inspection type authorization is plant-specific.
No authorization checks are executed in QM when an inspection lot is created automatically.
Features
Function
Pushbutton / Menu path
What you should know
Accessing the initial screen for the inspection lot processing functions
Logistics ® Quality management ® Quality inspection ® Inspection lot processing ® Inspection lot
Creating an inspection lot manually
See Creating an Inspection Lot Manually
Changing an inspection lot
Choose Change
Enter the number of the inspection lot you want to change and then choose Enter.
Displaying an inspection lot
Choose Display
Enter the number of the inspection lot you want to display and then choose Enter.
Creating a new batch in an inspection lot
See Batch Creation in Inspection Lots
Cancelling an inspection lot
Call up an inspection lot in the change mode and choose Inspection lot ® Functions ® Cancel lot.
See Cancellation of an Inspection Lot
Blocking/unblocking an inspection lot
Call up an inspection lot in the change mode and choose Inspection lot ® Functions ® Block lot.
To unblock an inspection lot, choose Inspection lot ® Functions ® Unblock lot.
When you block an inspection lot, you cannot process the lot further. You must unblock the lot if you want to perform any additional operations.
Transferring stock in an inspection lot
See Stock Transfers
Making corrections to inspection lot quantities
See Corrections to Inspection Lot Quantities
Creating a QM order
Call up an inspection lot in the create or change mode and choose Goto ® Insp. lot acc. assgnmt.
See QM Order Creation
Resetting the sample calculation
See Resetting the Sample Calculation
Printing inspection instruction/sample-drawing instruction
See Printout of Instructions
Approving a task list
Call up an inspection lot in the create or change mode and choose Inspection lot ® Functions ® Give approval
If the task lists in your company must be approved before they can be used, you should make sure that only approved task lists are assigned to an inspection lot. If the system selects a task list that has not yet been approved, you can use this function to approve the task list (provided you have the necessary material authorization).
this link help u.
http://help.sap.com/saphelp_erp2004/helpdata/EN/be/00bbe7ca5311d2961800a0c930e04c/frameset.htm
reward is usefull.
tahnks.
Maybe you are looking for
-
Internet Problems - poor connectivity
I have a Lenovo X100e laptop with Windows 7 Professional. It's been a great computer, but when I go on the internet, it behaves as if the connection is slow or wonky, even if the connection is fast. This is especially true of video streaming, which s
-
EXPAND INTERMEDIATE NODE OF TIME DIMENSION
Hello! Can anybody help me? we created members for time dimension like this: 2010.TOTAL ___2010.JAN ______2010.JAN.Q1 ______2010.JAN.Q2 If we try to expand, like a column, this dimension in a Report, adding the ID in the "MemberSet", it's only possib
-
WHen I download an app it isn't able to access my pics and I can't do it after the fact either as it isn't in privacy to add
-
Hi, I have report showing the customer name and Shipped Quantity in the table view, i want to display only top 10 customers by Shipped Quantity, how i can do....? Thanks
-
Hi, I now wanna sell my returnable packing material but when i sell it by order type "LN" it doesnt pick up any excise amt. Can anybody tell me why. - Have maintained the chapter id's for the material also. Rgds