[solved] How to source a specific commit in a Git package?

Hi there,
I wonder whether it is possible to use a certain Git commit in the source array of a package.
Example:
freshplayerplugin-git
For debugging purposes I would like to use the commit
8ff0bd0282205802c482c7d47f216feb0d3394a9
I tried the following in the source array and it successfully built the package:
source=('git://github.com/i-rinat/freshplayerplugin.git#commit=8ff0bd0282205802c482c7d47f216feb0d3394a9')
However, I have no idea how to detect whether it actually built from the specific commit or just skipped the #commit appending.
Does anyone know how to source a specific commit?
Thanks ahead!
Last edited by orschiro (2014-07-17 11:21:17)

Correct syntax for Git repository as a source would be:
source=('git+https://<repo-url>#[commit|tag|branch]=<ref>')
To verify it's building correct tree, and moreover to keep sane when dealing with multiple trees I like following pkgver (check https://wiki.archlinux.org/index.php/VC … Guidelines):
pkgver() {
cd "$srcdir/<repo-name>"
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
producing something like:
<package-name-git>-r4.34e558d-1-any.pkg.tar.xz
Also just going to fetched Git tree and checking out what's there is an option (look for makepkg branch), for example:
$ git show-ref
34e558d2ef8b2cae212da3ab3f74513a99f9ee1b refs/heads/makepkg
86350ab5a3a209de4339ef04d75d27c7bd399746 refs/heads/master
86350ab5a3a209de4339ef04d75d27c7bd399746 refs/remotes/origin/HEAD
86350ab5a3a209de4339ef04d75d27c7bd399746 refs/remotes/origin/master
Last edited by mkoskar (2014-07-17 09:13:11)

Similar Messages

  • [SOLVED] How to install aur packages using pacaur

    I'm trying to install dwb-git. It installs with no problem with aura, but pacaur gives me problems. If I run pacaur as regular user it will build but will not install and will say permission denied.
    If I run pacaur with sudo it will say building packages as root is a bad idea and will quit. The only other possibility I see is running it with --asroot flag which is a really bad idea.
    Last edited by bstaletic (2014-06-22 15:02:41)

    No, I get the errors I described above.
    Here are the outputs:
    bstaletic@arch ~ $ pacaur -y dwb-git
    :: resolving dependencies...
    :: no AUR metadata for dwb-git package
    :: looking for inter-conflicts...
    AUR Packages (1):
    Name Old Version New Version
    aur/dwb-git latest
    :: Proceed with installation? [Y/n]
    :: Retrieving package(s)...
    :: View dwb-git PKGBUILD? [Y/n] n
    :: View dwb.install script? [Y/n] n
    ==> Making package: dwb-git 2014.03.04.g5088db1-1 (Sun Jun 22 15:46:30 CEST 2014)
    ==> Retrieving sources...
    -> Cloning dwb git repo...
    Cloning into bare repository '/tmp/pacaurtmp-bstaletic/dwb-git/dwb'...
    remote: Counting objects: 15056, done.
    remote: Compressing objects: 100% (3796/3796), done.
    remote: Total 15056 (delta 11190), reused 14783 (delta 10952)
    Receiving objects: 100% (15056/15056), 2.63 MiB | 88.00 KiB/s, done.
    Resolving deltas: 100% (11190/11190), done.
    Checking connectivity... done.
    ==> Validating source files with md5sums...
    dwb ... Skipped
    ==> Extracting sources...
    -> Creating working copy of dwb git repo...
    Cloning into 'dwb'...
    done.
    ==> Starting pkgver()...
    ==> Updated version: dwb-git 2014.06.14.g9f4bdb9-1
    ==> Sources are ready.
    :: Building dwb-git package(s)...
    ==> Making package: dwb-git 2014.06.14.g9f4bdb9-1 (Sun Jun 22 15:47:05 CEST 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> WARNING: Using existing src/ tree
    ==> Starting build()...
    Build options:
    CC = cc
    CFLAGS = -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -pipe --ansi -std=c99 -D_POSIX_C_SOURCE=200112L -O2 -g -D_BSD_SOURCE -D_NETBSD_SOURCE -D__BSD_VISIBLE -pthread -I/usr/include/webkitgtk-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/webkitgtk-1.0 -I/usr/include/p11-kit-1 -I/usr/include/json-c -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DWITH_LIBSOUP_2_38=1
    LDFLAGS = -Wl,-O1,--sort-common,--as-needed,-z,relro -lwebkitgtk-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lsoup-2.4 -ljavascriptcoregtk-1.0 -lgnutls -ljson-c -lsecret-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpthread -lm -lX11
    CPPFLAGS = -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DWITH_LIBSECRET
    make[1]: Entering directory '/tmp/pacaurtmp-bstaletic/dwb-git/src/dwb/src/util'
    cc convert_transport_security.c
    convert_transport_security.c: In function ‘handle_pinsets’:
    convert_transport_security.c:256:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((name_obj = json_object_object_get(pin_list, "name")) == NULL || !json_object_is_type(name_obj, json_type_string))
    ^
    convert_transport_security.c:263:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    good_hashes = json_object_object_get(pin_list, "static_spki_hashes");
    ^
    convert_transport_security.c:264:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    bad_hashes = json_object_object_get(pin_list, "bad_static_spki_hashes");
    ^
    convert_transport_security.c: In function ‘handle_entries’:
    convert_transport_security.c:297:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((name_obj = json_object_object_get(entry, "name")) == NULL ||
    ^
    convert_transport_security.c:307:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    json_object *mode = json_object_object_get(entry, "mode");
    ^
    convert_transport_security.c:315:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    json_object *include_subdomains = json_object_object_get(entry, "include_subdomains");
    ^
    convert_transport_security.c:327:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((entry_pins = json_object_object_get(entry, "pins")) != NULL)
    ^
    convert_transport_security.c: In function ‘parse_json’:
    convert_transport_security.c:371:5: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((pinsets = json_object_object_get(json, "pinsets")) == NULL || !json_object_is_type(pinsets, json_type_array) ||
    ^
    convert_transport_security.c:380:5: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((entries = json_object_object_get(json, "entries")) == NULL || !json_object_is_type(entries, json_type_array) ||
    ^
    gen hsts_preload.h
    /bin/sh: ./convert_transport_security: Permission denied
    Makefile:41: recipe for target '../../src/hsts_preload.h' failed
    make[1]: *** [../../src/hsts_preload.h] Error 126
    make[1]: Leaving directory '/tmp/pacaurtmp-bstaletic/dwb-git/src/dwb/src/util'
    Makefile:22: recipe for target 'src/util.subdir-buildfirst' failed
    make: *** [src/util.subdir-buildfirst] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    :: dwb-git cleaned
    bstaletic@arch ~ $ sudo pacaur -y dwb-git
    :: resolving dependencies...
    :: no AUR metadata for dwb-git package
    :: looking for inter-conflicts...
    AUR Packages (1):
    Name Old Version New Version
    aur/dwb-git latest
    :: Proceed with installation? [Y/n]
    :: Retrieving package(s)...
    :: View dwb-git PKGBUILD? [Y/n] n
    :: View dwb.install script? [Y/n] n
    ==> ERROR: Running makepkg as root is a BAD idea and can cause permanent,
    catastrophic damage to your system. If you wish to run as root, please
    use the --asroot option.
    :: Building dwb-git package(s)...
    ==> ERROR: Running makepkg as root is a BAD idea and can cause permanent,
    catastrophic damage to your system. If you wish to run as root, please
    use the --asroot option.
    :: dwb-git cleaned
    I get the same errors with -Sya and -Sa flags.

  • How to make date specific in sourcing personalized pages

    How to make date specific in sourcing personalized pages

    1. Extend the controller NegCreationHeaderPageCO
    2. have code something like below.
    OAMessageRadioGroupBean Quotestyle=
    (OAMessageRadioGroupBean)webBean.findChildRecursive("BidVisibilityCode");
    Quotestyle.setreadonly("yes";
    3. Attach the extended controller through forms personalization.
    Please try and let me know if this works fine.

  • How to assign project specific task with the newly created projects ?

    Hi All,
    I need help. I need to assign project specific tasks (which i will be taking from staging table) other than the default task which are assigned during project creation. How do I proceed with this within same package. I am attaching the code of my package below...
    CREATE OR REPLACE PACKAGE body xxpa_proj_conv_pkg as
    PROCEDURE xxpa_create_project_proc(O_ERRBUF OUT VARCHAR2,O_RETCODE OUT VARCHAR2)
    is
    variables need to derive global parameters
    v_responsibility_id NUMBER; --- PA Supervisor responsibility id
    v_user_id NUMBER;
    deriving global parameters-
    -- Variables needed for API standard parameters
    v_api_version_number NUMBER := 1.0;
    v_commit VARCHAR2(1) := 'F';
    v_return_status VARCHAR2(1);
    v_init_msg_list VARCHAR2(1) := 'F';
    v_msg_count NUMBER;
    v_msg_index_out NUMBER;
    v_msg_data VARCHAR2(2000);
    v_data VARCHAR2(2000);
    v_workflow_started VARCHAR2(1) := 'Y';
    v_pm_product_code VARCHAR2(10);
    ---variables for catching errors---
    v_error_flag number:=0;
    -- Predefined Composite data types
    v_project_in PA_PROJECT_PUB.PROJECT_IN_REC_TYPE;
    v_project_out PA_PROJECT_PUB.PROJECT_OUT_REC_TYPE;
    v_key_members PA_PROJECT_PUB.PROJECT_ROLE_TBL_TYPE;
    v_class_categories PA_PROJECT_PUB.CLASS_CATEGORY_TBL_TYPE;
    v_tasks_in_rec PA_PROJECT_PUB.TASK_IN_REC_TYPE;
    v_tasks_in PA_PROJECT_PUB.TASK_IN_TBL_TYPE;
    v_tasks_out_rec PA_PROJECT_PUB.TASK_OUT_REC_TYPE;
    v_tasks_out PA_PROJECT_PUB.TASK_OUT_TBL_TYPE;
    v_CREATED_FROM_PROJECT_ID varchar2(20);
    v_CARRYING_OUT_ORGANIZATION_ID varchar2(20);
    v_person_id NUMBER;
    v_project_role_type VARCHAR2(20);
    API_ERROR EXCEPTION;
    v_a NUMBER;
    cursor for project in data
    CURSOR cur_project_in_data IS SELECT * FROM XXPA_PROJECT_IN_STG;
    cursor for task data
    CURSOR cur_task_in_data IS SELECT * FROM XXPA_TASK_IN_STG;
    ------------------------Cursors used for validations----------------------------------
    cursor for product code used for validation
    cursor cprc is select distinct PROJECT_RELATIONSHIP_CODE from PA_PROJECT_CUSTOMERS;
    cursor for distribution rule-
    cursor cdr is select DISTRIBUTION_RULE from PA_DISTRIBUTION_RULES;
    cursor for project status code
    cursor cpsc is SELECT PROJECT_STATUS_CODE, PROJECT_STATUS_NAME FROM PA_PROJECT_STATUSES WHERE STATUS_TYPE = 'PROJECT';
    cursor for template/created from project id
    cursor ccpid is select project_id from pa_projects where template_flag='Y';
    BEGIN
    select user_id, responsibility_id into v_user_id, v_responsibility_id
    from PA_USER_RESP_V
    where user_name like 'amit_kumar%'
    and responsibility_name like'PA SupervisorS';
    -- --Fnd_global.apps_initialize(user_id,resp_id, resp_appl_id);
    -- Fnd_global.apps_initialize(v_user_id,v_responsibility_id,275);
    -- -------calling global parameters---
    pa_interface_utils_pub.set_global_info
    p_api_version_number =>v_api_version_number,
    p_responsibility_id =>v_responsibility_id,
    p_user_id =>v_user_id,
    p_msg_count =>v_msg_count,
    p_msg_data =>v_msg_data,
    p_return_status =>v_return_status
    dbms_output.put_line ('Set Global status ->' || v_return_status);
    ----Cursor for PRODUCT RELATED DATA-----------
    FOR REC IN cur_project_in_data LOOP
    -----PASSING VALUES TO THE COMPOSITE DATA TYPE(PROJECT_IN_REC_TYPE)-------
    ----retrieving product code-----
    select lookup_code into v_pm_product_code
    from pa_lookups
    where lookup_type = 'PM_PRODUCT_CODE'
    and meaning = 'Oracle Project Manufacturing';
    -----retrieving and validating created from project id----
    BEGIN
    select project_id
    into v_CREATED_FROM_PROJECT_ID
    from pa_projects_all
    where name=rec.created_from_project_name;
    EXCEPTION
    when others then
    O_Retcode := '1';
    O_Errbuf :='Incorrent CREATED_FROM_PROJECT_NAME';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where created_from_project_name = rec.CREATED_FROM_PROJECT_NAME;
    END;
    -----retrieving & validating carrying out organization id-----
    BEGIN
    select distinct(CARRYING_OUT_ORGANIZATION_ID)
    into v_CARRYING_OUT_ORGANIZATION_ID
    from pa_projects_prm_v
    where CARRYING_OUT_ORGANIZATION_NAME=rec.carrying_out_organization_name;
    EXCEPTION
    when others then
    O_Retcode := '1';
    O_Errbuf :='Incorrent Carrying Out Organization name';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where carrying_out_organization_name = rec.carrying_out_organization_name;
    END ;
    v_project_in.pm_project_reference := rec.segment1;
    v_project_in.project_name := rec.PROJECT_NAME;
    v_project_in.created_from_project_id := v_CREATED_FROM_PROJECT_ID;
    v_project_in.carrying_out_organization_id := v_CARRYING_OUT_ORGANIZATION_ID;
    v_project_in.project_status_code := rec.PROJECT_STATUS_CODE;
    v_project_in.description := rec.PROJECT_DESCRIPTION;
    v_project_in.start_date := rec.PROJECT_START_DATE;
    v_project_in.completion_date := rec.PROJECT_COMPLETION_DATE;
    v_project_in.distribution_rule := rec.DISTRIBUTION_RULE;
    v_project_in.project_relationship_code := rec.PROJECT_RELATIONSHIP_CODE;
    -------------------------Validation of incoming project data--------------------------------
    v_error_flag := 1;
    project relationship code validation
    BEGIN
    for prc in cprc
    loop
    if (rec.PROJECT_RELATIONSHIP_CODE=prc.PROJECT_RELATIONSHIP_CODE) or (rec.PROJECT_RELATIONSHIP_CODE is null)--can be overridden from template
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    project distribution rule validation
    BEGIN
    for dr in cdr
    loop
    if (rec.DISTRIBUTION_RULE=dr.DISTRIBUTION_RULE) or (rec.DISTRIBUTION_RULE is null) null since the value can be taken from template too
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    project status code validation
    BEGIN
    for sc in cpsc
    loop
    if (rec.PROJECT_STATUS_CODE=sc.PROJECT_STATUS_CODE) or (rec.PROJECT_STATUS_CODE is null) null since the value can be taken from template too
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    dbms_output.put_line ('Error at PROJECT_STATUS_CODE>' ||v_error_flag);
    validation logic for project start date
    BEGIN
    if TRUNC(rec.PROJECT_START_DATE) >= TRUNC(rec.PROJECT_COMPLETION_DATE)
    THEN
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='Project start date cannnot be greater than completion date';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    END IF;
    END;
    validation logic for project completion date
    BEGIN
    if (TRUNC(rec.PROJECT_COMPLETION_DATE)<=TRUNC(rec.PROJECT_START_DATE))
    then
    if ( rec.PROJECT_STATUS_CODE='CLOSED' and rec.PROJECT_COMPLETION_DATE>sysdate)
    THEN
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='completion date cannot be greater than sysdate for closed projects';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    END IF;
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='Project closed date cannot be less than start date';
    end if;
    END;
    --------Update staging table for the error records--------
    BEGIN
    if v_error_flag =1
    then
    O_Retcode := '1';
    O_Errbuf :='Incorrect project relationship code';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where PROJECT_RELATIONSHIP_CODE = rec.PROJECT_RELATIONSHIP_CODE;
    end if;
    END;
    -----------------------End of validation of incoming project data----------------------------------
    ---------------Project Task DATA-----------------
    v_a:=0;
    FOR tsk IN cur_task_in_data LOOP
    v_tasks_in_rec.pm_task_reference :=tsk.task_reference ;
    v_tasks_in_rec.task_name :=tsk.task_name;
    v_tasks_in_rec.pm_parent_task_reference :=tsk.parent_task_reference ;
    v_tasks_in_rec.task_start_date :=tsk.task_start_date ;
    v_tasks_in_rec.task_completion_date :=tsk.task_completion_date ;
    v_tasks_in(v_a) := v_tasks_in_rec;
    v_a:=v_a+1;
    end loop;
    ---------------end of task details------------------
    --INIT_CREATE_PROJECT
    pa_project_pub.init_project;
    ---------------------CREATE_PROJECT--------------------------
    pa_project_pub.create_project(
    p_api_version_number=> v_api_version_number,
    p_commit => v_commit,
    p_init_msg_list => v_init_msg_list,
    p_msg_count => v_msg_count,
    p_msg_data => v_msg_data,
    p_return_status => v_return_status,
    p_workflow_started => v_workflow_started,
    p_pm_product_code => v_pm_product_code,
    p_project_in => v_project_in,
    p_project_out => v_project_out,
    p_key_members => v_key_members,
    p_class_categories => v_class_categories,
    p_tasks_in => v_tasks_in,
    p_tasks_out => v_tasks_out);
    if v_return_status = 'S'
    then
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET INTERFACE_STATUS ='Success' where segment1 = v_project_out.pa_project_number; ---P->pending & S-> Success
    dbms_output.put_line('New Project Id: ' || v_project_out.pa_project_id);
    dbms_output.put_line('New Project Number: ' || v_project_out.pa_project_number);
    else
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET INTERFACE_STATUS ='Pending' where segment1 = v_project_out.pa_project_number;
    raise API_ERROR;
    end if;
    END LOOP;
    Commit;
    ------Handling Exception--------
    EXCEPTION
    WHEN api_error THEN
    dbms_output.put_line('An error occured during project creation');
    IF (v_msg_count > 0 ) THEN
    FOR i IN 1..v_msg_count LOOP
    apps.PA_INTERFACE_UTILS_PUB.get_messages(
    p_msg_count => v_msg_count,
    p_encoded => 'F',
    p_msg_index => i,
    p_msg_data => v_msg_data,
    p_data => v_data,
    p_msg_index_out => v_msg_index_out);
    dbms_output.put_line('Error message v_data ->'||v_data);
    dbms_output.put_line('Error message v_msg_data ->'||v_msg_data);
    dbms_output.put_line('Error message v_msg_index_out ->'||v_msg_index_out);
    dbms_output.put_line('Error message p_msg_index ->'||i);
    APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
    END LOOP;
    END IF;
    WHEN OTHERS THEN
    dbms_output.put_line('An error occured during conversion, SQLCODE ->'|| SQLERRM);
    IF (v_msg_count >=1 ) THEN
    FOR i IN 1..v_msg_count LOOP
    PA_INTERFACE_UTILS_PUB.get_messages(
    p_msg_count => v_msg_count,
    p_msg_index => i,
    p_encoded => 'F',
    p_msg_data => v_msg_data,
    p_data => v_data,
    p_msg_index_out => v_msg_index_out);
    dbms_output.put_line('Error message ->'||v_data);
    APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
    END LOOP;
    END IF;
    end; --end procedure
    END xxpa_proj_conv_pkg;
    * Please tell me how to assign project specific task with the newly created projects??? *
    Also please tell me how to assign multiple * Project_Relationship_Code * (ex: END CLIENT, GENERAL CONTRACTOR, PRIMARY) for a particular project during project creation?

    Are you not storing the project number in the staging table designed for storing the task data? You can use create_project API to create the project and tasks at the same time with one single call. You may want to try that option

  • ZOMG PLEASE HELP! - ColorMatrixFilter - How to set a SPECIFIC HLS to a greyscale png

    I am able to use the color matrix filter to change the pngs
    that I am loading dynamicly. Thing is, I can't seem to figure out
    how to apply a SPECIFIC hue, saturation and luminance.
    Basically I can successfully modify my grey scale png to all
    sorts of colors already. I need to be able to colorize them with,
    for example I would in photoshop put in H:212 S:36 L:-48 and it
    would turn out a great blue... how do I turn those numbers in to
    the proper color matrix to be applied?
    I have done a good bit of research on hls/rgb and also tried
    using this adobe sample app to put in numbers similar to above,
    expecting to get a matrix that would apply those transformations.
    Using the resultant matrix, the image stays at a very low
    saturation even when using positive luminance values. I could guess
    at it, but I have a bunch of PMS colors I am going to have to
    match... SO at least being able to convert HLS or RGB into an
    applicable color matrix with predictable results is needed.
    Here is a sample of what I am trying to do, but just using
    CSS and JavaScript.
    http://www.customtiedye.com/colors.htm
    - Since it is using pngs you can't use internet explorer to view it
    properly. But even if you have only ie, you can see that changing
    the selection in the lower drop down box shows you a different
    color of the shirt. All of these images were colorized in photoshop
    from the same source image I am using in the flash application. I
    need to translate the HLS numbers I used in photoshop into
    colormatrices to apply to the same image.
    Here is what I have so far for the flash application.
    http://www.customtiedye.com/dyeshop.html
    - If you don't see the flash app, try in IE, I have not bothered
    tweakin anything as far as html because I am stuck at this issue.
    The buttons are not marked right, start at the top and go
    down, you'll see what I mean. I can apply the color matrixes and
    the effect is working, but HOW DO I GET THE SPECIFIC MATRICIES FOR
    SPECIFIC COLORS?
    Please help :o) Thank you in advance.

    Thanks for the reply. I've seen every example out there I
    believe. From satori color to quasimondo. The problem is not making
    it work. The problem is how to make it show an exact color.
    How do I use colormatrix to colorize a greyscale image to a
    SPECIFIC color. It's a great tool and I can change my greyscales to
    all sorts of colors, but how do I make them a SPECIFIC color, like
    with setrgb I could just set the rgb, if I have hls values how do I
    convert that into a useable colormatrix to modify a greyscale.
    For instance: (please read)
    In photoshop I would adjust hls and put in say: 212/60/60 for
    a nice blue, apply it and my grey scale is now a nice blue.
    In flash, how do I use that info to change the grey scale
    image to the same color?

  • How Open source Flex looks to a mid level developer

    Here is my response to a post Matt made on a blog:
    THe whole post:
    http://blog.simb.net/2009/01/19/take-flex-back-for-the-community/
    @Matt
    1st off thanks, now my input:
    The crux of your criticism seems to be that the process that we use for decision-making is closed its certainly not how we feel
    Unfortuntly, this seems like a case of bad commuication by Adobe and the Flex team. If notable community experts get the impression of closed doors, then *certainly* the rest of us get this impression as well.
    but there has been very little participation from the community so far
    Im a solid dev, and not an expert but I can contribute in things such as testing and low level optimization; But, the Adobe open source site is a galactic disaster and discourages me from getting invloved. It has so many webpages that just go around in circles - filled with text that is verbose, this frustrates me to a great deal. As opposed to somehting straight foreward like:
    http://framework.zend.com/download/latest
    or
    http://code.google.com/p/papervision3d/
    Everything is here and easily notable. I avoid the seamingly endless pages and confusion. If I want to get to the Flex dev mailing list I have to register, then choose the lists, add the lists to my account. go though my account prefs read some directions.. then set up some other preferences..jeeeezzzz. If I want to submit a feature request I am directed to create another login for some Bug and Issue management? HUH? I thought I was submitting a featue request.
    Right on papervisions google HOME page I see Getting started > Papervision3D Mailing List.
    Next when I finially do get to Flex SVN, this trunk. is nothing like I have seen.what IS all this stuff and where do I go to learn about it? There are countless subfolders filled with things I vaguely understand and if I want to learn what it is. where do I go? Is there even a src folder?
    Here is a classic example.
    Flex trunk Read Me:
    http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/README.txt
    vs.
    Zend Trunk Read me:
    http://framework.zend.com/svn/framework/standard/trunk/README.txt
    *What* is the Flex team thinking with this?
    I just spent 5 minutes or so twirling through all these SVN directories and Adobes website and I am clueless. I feel like the project is unessarily complex and disorganized - even if it isnt. This just convinced me to delete my Flex sdk bookmark on my SVN client.
    Adobe just lost one potential contributor to Flex SDK.
    We have another idea that were bouncing around that I hope to share in a week or two but wont get into now.
    Saying stuff like this is what gives people the impression of closed. Why not post these ideas the Flex team has? Even if it is stupid or incomplete
    Thats the whole point.

    Wow, thanks for your response. This is great.<br /><br />I now understand that I had a combination of prejudice and ignorance  <br />when regarding Adobe Open Source. Perhaps my ignorance on these  <br />particulars is something that other devs encounter ( that whole  <br />perception thing ).   I have chatted with people who consider the Flex  <br />SDK and Flex Builder... not the same... but fused together so much  <br />that it'd be just crazy to try and use one with out the other   When I  <br />mention using Flex without Flex Builder.... people get that glazed  <br />over look in their eyes....( FYI I'm a FDT man, but am keeping a close  <br />eye on the new Flex Builder )<br /><br />I'll use Zend as an example ( it's the best that I can come up with )  <br />but I feel like there is a difference between the open source  <br />framework and Zend Studio ( commercial software ). Anyway, I'm really  <br />excited about how you've responded to all this.  I have more ideas,  <br />but Ill sit on them and think it through and get ready for next weeks  <br />meeting.<br /><br />Thanks,<br /><br />Alan<br /><br /><br />On Jan 23, 2009, at 1:31 AM, Matt Chotin wrote:<br /><br />> A new message was posted by Matt Chotin in<br />><br />> General Discussion --<br />>  How Open source Flex looks to a mid level developer<br />><br />> I've delayed responding to this because frankly I'm not sure what to  <br />> say for much of it.  The first thing I have to point out is that  <br />> many of the things you mention are related to Flex Builder and not  <br />> the Flex SDK, which is the part that is open source. So things like  <br />> the FB features, and NDA as part of its prerelease program, etc are  <br />> part of the commercial offerings from Adobe, not the Flex SDK.   <br />> Every build of the SDK has been available from the open source site,  <br />> the MAX issues were for commercial products.<br />><br />> The roadmap for Flex 4 has been posted on the Gumbo page now for a  <br />> while, we don't put up specific dates because we don't know specific  <br />> dates, and as we get closer to feeling certain on a date we've put  <br />> it up.  I think that having dates up that constantly change is  <br />> counter-productive.<br />><br />> We use a code name because you never know if another version is  <br />> going to jump into the middle or what could happen, locking in on a  <br />> version number is often just setting yourself up for confusion  <br />> later.  Plenty of other projects use code names too, the idea that a  <br />> code name denotes secrecy is frankly ludicrous.<br />><br />> Regarding your question about 1000 developers and 80% wanting to go  <br />> in a different direction: if 80% of our customers think we should  <br />> move one way, don't you think it'd be pretty silly as a company to  <br />> go against them?  Adobe as a company, and the Flex team as a product  <br />> team, are very focused on delivering our customers value.  If we  <br />> fail to deliver value, not only is our free open source product not  <br />> used, but our paid products aren't used as well.  The things that  <br />> you sometimes run into are long-term vision vs. short-term pains,  <br />> and that may be where some aspects of open source vs. closed  <br />> differ.  The Adobe team has a long-term vision of Flex, which we  <br />> have tried to share and get feedback on, and we make decisions based  <br />> on that vision while taking into account the short-term needs of  <br />> developers.  I think this is a pretty reasonable approach overall,  <br />> and you as a Flex/Flash developer have probably benefited from it.<br />><br />> I'm sorry you feel like Adobe is getting the only benefit of open  <br />> source and you aren't, we certainly believe that we've put pieces in  <br />> place to allow for everyone to benefit, and will continue to take  <br />> suggestions on how we can improve.<br />><br />> Matt<br />><br />><br />> On 1/21/09 7:54 AM, "Alan Klement" <[email protected]> wrote:<br />><br />> A new message was posted by Alan Klement in<br />><br />> General Discussion --<br />>  How Open source Flex looks to a mid level developer<br />><br />> Matt, your right.  The Adobe Open Source site does have sufficient   <br />> resources, but the perception I had , as a developer interested in  <br />> getting invloved,  was that the information was either not there,  <br />> incomplete, or difficult to find.  The perception to me is that  <br />> Adobe is not serious about 'Open Source" - even if it is, the  <br />> perception I have is that it isn't.<br />><br />> I don't mean disrespect, but I don't take "Adobe Open Source"  <br />> seriously.   To illustrate my point I'll use this ( albeit a bit  <br />> extreme ) example:<br />><br />> Suppose the Flex community consists of 1000 devoted developers.    <br />> 80% of these developers decide to take the sdk into a direction they  <br />> feel it needs to go.  This decision, regardless if it's 'good' or  <br />> not, renders it incompatible with other Adobe products, namely Adobe  <br />> Catalyst. WIll Adobe accept the community's decision?<br />><br />> When Adobe can answer 'yes' to that question, I will take Adobe's  <br />> commitment seriously.<br />><br />> And there are so many other things t! hat send me red flags.<br />><br />> - Why is the new name of Flex not public, and why am I, as others,  <br />> breaking NDA to talk about the renaming process with other Flex devs?<br />> - What business is NDA doing in an 'Open' project.<br />> - Why is Adobe tight lipped about a release for Flex 4?  Where is  <br />> the roadmap?   https://wiki.mozilla.org/Releases .<br />> - Why are new features in Flex Builder not public?  Adobe asks 'what  <br />> do you want', but never tells us the results of these polls and what  <br />> features it is actively working on.<br />> - Why are there builds of Flex 4 passed out at MAX, but unavailable  <br />> to non-attendies. Had I *paid* to go to MAX, I'd have Flex 4...<br />> - You mentioned that there wasn't a 'budget' to make it easier for  <br />> devs to submit feature suggestions? Set up a google mailing list,  <br />> that'll cost you 0 dollars.<br />> - What is the term 'budget' doing in open source.  If Adobe won't do  <br />> something, ask the community to chip in.<br />> -Who are the other Adobe Flex devs? I can go to other open source  <br />> projects and see the names and contact info of other devs. Why  <br />> aren't THEY posting their opinions on this message board?<br />> _Why all the 'codename' garbage.  'Codename' denotes secrecy.<br />> - and on and on....<br />><br />> To me, Adobe looks like they want all the benefits of an open source  <br />> project, but none of the consequences.   Being open source means  <br />> releasing a degree of control over the software.  Hell, Richard  <br />> Stallman is still trying to convince people to change 'Linux' to  <br />> 'Linux-GNU'.<br />><br />> I would like to help, but I just don't think my efforts would be  <br />> seriously considered.  I work all day developing Flex applications  <br />> and front end Flash web sites. I don't want to then spend my free  <br />> time to be engrossed with a project's red tape ( Adobe policies ) -  <br />> only to have my efforts to be blown off.<br />><br />> Sorry guys, it just looks like a win-win for Adobe and a lose-lose  <br />> for me.<br />><br />> ________________________________<br />> View/reply at How Open source Flex looks to a mid level developer <a href=http://www.adobeforums.com/webx?13@@.59b790da/2 <br />> ><br />> Replies by email are OK.<br />> Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b790da!folder=.3c060fa1 <br />> >  form to cancel your email subscription.<br />><br />><br />><br />><br />> ------------------------------------------------------<br />> View/reply at <a href=http://www.adobeforums.com/webx?13@@.59b790da/5><br />> Replies by email are OK.<br />> Use the unsubscribe form at <a href=http://www.adobeforums.com/webx?280@@.59b790da!folder=.3c060fa1 <br />> > to cancel your email subscription.

  • [Solved] How to: Automatically add Semicolons at end of line

    Q. Is it possible to set JDeveloper to automatically add Semicolons to the end of a line of code?
    A. "While there is nothing that does this in batch mode to all your lines, while you are writing a line you can press the CTRL+SHIFT+Enter (complete statement in the source menu) shortcut and it will complete your line for you including the semicolon." [Solved] How to: Automatically add Semicolons at end of line
    Original Message:
    I'm spoiled from using Basic and similar programming languages, adding semicolons manually is something that'll take me time to get used to
    Thanks in advance,
    Abdulla
    Tags (for search engines):
    Jdeveloper automatic semicolon
    Message was edited by:
    Abdulla

    While there is nothing that does this in batch mode to all your lines, while you are writing a line you can press the CTRL+SHIFT+Enter (complete statement in the source menu) shortcut and it will complete your line for you including the semicolon.

  • [SOLVED] how i can install this packages ?

    hi
    im try to compile a software (xfardic : a persian dictionary)
    and this software need this packages to compile
    1. aspell-dev
    2. libxml2-dev
    3. libgnome-desktop-dev
    4. libnotify-dev (0.7.0 minimum)
    5. libsqlite3-dev
    6. libespeak-dev
    but i cant install this packages our find this sources to compile
    please help me
    Last edited by omidimo (2012-01-03 14:36:25)

    omidimo wrote:
    karol wrote:Please remember to mark the thread as solved.
    how can i remark . i cant find options
    Please read the forum rules https://bbs.archlinux.org/viewtopic.php?id=130309 :-)

  • How can we remove the commas from the Formula value in SAP BW BEx query

    Hi All,
    How can we remove the commas from the Formula value in SAP BW BEx query
    We are using the formula replacing with characteristic.The characteristic value needs to be display as number with out commas.
    Regards
    Venkat.

    Do you want to remove the commas when you run the query on Bex Web or in RSRT?
    Regards

  • How to monitor a specific transaction in Solution Manager ?

    Hi all,
    I have configured the Service Level Reporting and it works correctly.
    But i don't know how to monitor a specific transaction like SM21, DB02, FB01N etc... ?
    In the SL Reports configuration steps, we can configure this option : Select Business Processes For SL Report. I did a lot of tests but it does not work.
    Have i to configure the Business Process Monitoring ?
    Thanks.

    Hello,
    it depends a little on what you want to do. If you use the pure CCMS monitoring with the table ALTRAMONI you get average response time per instance and you only get new measurements once the status changes from green to yellow or red.
    In order to get continuous measurements you should look into Business Process Monitoring and the different documentations under https://service.sap.com/bpm --> Media Libary --> Technical Information. E.g. the PDF Setup Guide for Application Monitoring describes this "newer" dialog performance monitor. Probably you have to click on the calendar sheet in the Media Libary to also see older documents as well. As the Business Process Monitoring integrates with BW (there is also a BI Setup Guide in the Media LIbrary) you can get trendlines there. This BW integration also integrates back with SL Reporting.
    Some guidance for SL Reporting is probably given under https://service.sap.com/rkt-solman but I am not 100% sure.
    Best Regards
    Volker

  • How to open a specific file in projector.

    Hi to all
    can any body tells me that how to open a specific file in
    projector with an application not in browser????
    and also want to add a button to mute the sound just like in
    intros with fade in and out effect.
    its urgent....
    Thanks in advance

    Hi,
    You can use FlashJester JStart
    http://jstart.flashjester.com
    that will open up any file the has been associated in Window
    Explorer.
    Download a FREE evaluation copy and try it for yourself.
    Please look at the example files given.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • How to find a specific word in sentence in each line?

    How to find a specific word in sentence in each line and output will show start from the beginning from specific word plus with small description from each sentence?
    For example: I need to find a "+Wednesday+" and "+Thursday+" word in each sentence by line by line from "myfile.txt".
    Go ballet class next Wednesday.
    On the Wednesday is going to swim class.
    We have a meeting on Thursday at Panda's.
    Then it will show the output:
    Wednesday : ballet class
    Wednesday : swim class
    Thursday: meeting at Panda's
    I am going to figure out in Java console to read from a file for specific word from each line and how to make it output in correct way. I know already to make input/file codes.

    I got it and understand much better. Thank you very much. There is a problem with it because I knew how to make
    a specific word in sentence but how I should make Output for specific word and some words from sentence.
    For example:
    Input:
    +"On Thursday go to ballet class"+
    +"Swim class on Friday one time a month at 2 p.m."+
    I used the codes for that:
    class FindSchedule{
         String firstline = "On Thursday go to ballet class ";
         String secondline = "Swim class on Friday one time a month ";
         FindSchedule(){
              System.out.println(firstline + findTheIndex("Thursday", firstline));
              System.out.println(secondline + findTheIndex("Friday", secondline));
         public int findTheIndex(String word, String sentence){
              int index;
              index = sentence.indexOf(word);
              return index;
         public static void main (String[] args){
              new FindSchedule();
    }The output will be:
    Thursday: ballet class
    Friday: 14:00 swim class one time a week
    Notice that time is changing in output complete different from input.
    I need to find out how to extract some words from each sentence for output. Do you know how to do it?

  • How to search a specific topic in a forum?

    How to search a specific topic in a forum? who can offer me a solution. I'm really appreciate it.

    Enter something in the box next to the words Advanced Search at the upper right and click on the button to display a list of search hits. Then, in the box to the right of the list, click on the word help to bring this Search Help and Tips page up:
    http://search.java.sun.com/search/java/help.jsp

  • How to print a specific cell in numbers

    how to print a specific cell in numbers?

    Copy the cell (contents), Paste onto a page of a separate document, or onto a separate sheet of your Numbers document, Print.
    Or insert a single cell table onto your Numbers document, type an = sign in the cell then click on the cell you want to print. Drag the new table to a second sheet, set up your page there, and print.
    See the Numbers '09 User Guide for other useful tools and techniques. Download the guide via the Help menu in Nuimbers.
    Regards,
    Barry

  • How can i print specific pages against searched word or name (in one print command) from 1000 pages

    how can i print specific pages against searched word or name (in one print command) from 1000 pages

    Thanks, Alex!
    ok, I try first approach in print4.vi, but Labview return an error (view jpg); if I cut From, To controls, the VI print all pages. The same things happen also if I trasform I32 in Variant.
    I don't try second approach, because at this time I have only one report
    I try also with VB macro: this is better (print3.vi) but.....if I use:
    Sub Print_Pages_From_To()
    ActiveDocument.ActiveWindow.PrintOut Range:=wdPrintFromTo, From:="2", To:="3"
    End Sub
    is ok; print the pages selected; if I use:
    Sub PrintPages()
    ActiveDocument.ActiveWindow.PrintOut  Pages:="2-3"  
    End Sub
    printer print all pages.
    what do you think?
    regards,
    Italo
    Attachments:
    print Problem.jpg ‏39 KB
    print4.vi ‏19 KB
    print3.vi ‏19 KB

Maybe you are looking for

  • HT204088 i am having a problem with my previous payment, its not excepting it?

    i am having a problem with my previous payment, its not excepting it?

  • Create Oracle Text stoplist in Java with PL/SQL

    Hi, I need help with this I do connection Oracle database with Java by using JDBC. I need create stoplist in my Oracle Text application that I create with PL/SQL procedure. I want to add stopwords to this stoplist directly in Java therefore I must cr

  • Resolution (ppi) impact in quality on iDVD

    I am creating slideshows of family photos. I scan the photos into Photoshop at a resolution of 300ppi. However, many of the photos sent to me by family members from their cameras and over the internet come in at a resolution of 72ppi. If I increase t

  • How to compress my video?

    So I'm on FCPX, and I have compressor 3. I've read that they aren't compatible, but I just exported my video to my desktop, and then am routing it to compressor 3 from there. My question is, what settings do I use to make the file smaller? I've never

  • ARD install on SL Server

    We upgraded our server to a SL Server this week and I'm reinstalling ARD 3 on the server.  I installed from Disk and updated to the latest version.  As I recall, I had to install an ARD client on the server so I can control the server via ARD desktop